mangohud/debian/rules
Ward Nakchbandi (Cosmic Fusion) 631b94dc60
Update rules
2023-07-12 19:54:09 +03:00

34 lines
1.1 KiB
Makefile
Executable File

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
ifeq (i386,$(DEB_HOST_ARCH))
override_dh_auto_configure:
dh_auto_configure -- \
--wrap-mode=default \
-Dwith_nvml=disabled \
-Dinclude_doc=true \
-Dwith_xnvctrl=enabled \
-Dwith_x11=enabled \
-Dwith_wayland=enabled \
-Dwith_dbus=enabled \
-Dmangoapp=true \
-Dmangohudctl=true \
-Dmangoapp_layer=true
else
override_dh_auto_configure:
dh_auto_configure -- \
--wrap-mode=default \
-Dwith_nvml=enabled \
-Dinclude_doc=true \
-Dwith_xnvctrl=enabled \
-Dwith_x11=enabled \
-Dwith_wayland=enabled \
-Dwith_dbus=enabled \
-Dmangoapp=true \
-Dmangohudctl=true \
-Dmangoapp_layer=true
endif