This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
intel-media-driver-non-free/debian/rules

25 lines
653 B
Plaintext
Raw Normal View History

2023-10-27 13:37:36 +02:00
#!/usr/bin/make -f
2023-10-27 13:28:54 +02:00
2023-10-27 13:37:36 +02:00
include /usr/share/dpkg/architecture.mk
2023-10-27 13:28:54 +02:00
2023-10-27 13:37:36 +02:00
export DEB_BUILD_MAINT_OPTIONS=future=+lfs
2023-10-27 14:12:05 +02:00
export DEB_CFLAGS_MAINT_APPEND = -Wno-error
2023-10-27 13:28:54 +02:00
%:
2023-10-27 13:37:36 +02:00
dh $@ -Scmake+ninja
override_dh_auto_configure:
dh_auto_configure -- \
-DINSTALL_DRIVER_SYSCONF=OFF \
-DENABLE_KERNELS=ON \
-DENABLE_NONFREE_KERNELS=ON \
-DBUILD_CMRTLIB=OFF \
-DARCH=$(DEB_HOST_ARCH_BITS) \
-DMEDIA_BUILD_FATAL_WARNINGS=OFF
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
# Requires Broadwell or newer, so check for SSE 4.2 support at least.
if grep -q sse4_2 /proc/cpuinfo && grep -q GenuineIntel /proc/cpuinfo; then dh_auto_test; fi
endif