mangohud/debian/rules

34 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2023-02-23 21:02:57 +01:00
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
2023-07-12 18:47:02 +02:00
ifeq (i386,$(DEB_HOST_ARCH))
override_dh_auto_configure:
dh_auto_configure -- \
--wrap-mode=default \
2023-07-12 18:54:09 +02:00
-Dwith_nvml=disabled \
2023-07-12 18:47:02 +02:00
-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
2023-07-12 18:54:09 +02:00
endif