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
Ward from fusion-voyager-3 aa01be84f3 first commit
2023-10-27 14:37:36 +03:00

24 lines
609 B
Makefile
Executable File

#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS=future=+lfs
%:
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