mutter/debian/rules

43 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-02-23 21:01:49 +01:00
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
%:
2023-06-26 23:42:34 +02:00
dh $@
2023-06-26 23:26:28 +02:00
2023-02-23 21:01:49 +01:00
CONFFLAGS =
ifeq ($(DEB_HOST_ARCH_OS),linux)
CONFFLAGS += \
-Dnetworkmanager=true \
-Dsoup2=false \
-Dsystemd=true
endif
2023-06-26 23:26:28 +02:00
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
CONFFLAGS += -Dtests=true
else
2023-02-23 21:01:49 +01:00
CONFFLAGS += -Dtests=false
2023-06-26 23:26:28 +02:00
endif
2023-02-23 21:01:49 +01:00
2023-06-26 23:42:34 +02:00
override_dh_auto_clean:
echo "dh_auto_test disabled!"
override_dh_clean:
echo "dh_auto_test disabled!"
2023-02-23 21:01:49 +01:00
override_dh_auto_configure:
GSETTINGS_SCHEMA_DIR=/opt/mutter-vrr/share/glib-2.0/schemas/:$(GSETTINGS_SCHEMA_DIR) PKG_CONFIG_PATH=/opt/mutter-vrr/lib/x86_64-linux-gnu/pkgconfig:$(PKG_CONFIG_PATH) LD_LIBRARY_PATH=/opt/mutter-vrr/lib/x86_64-linux-gnu:/opt/mutter-vrr/lib/x86_64-linux-gnu/mutter-11:/opt/mutter-vrr/lib/x86_64-linux-gnu/mutter-11/plugins:$(LD_LIBRARY_PATH) PATH=/opt/mutter-vrr/bin:$(PATH) dh_auto_configure -- \
--prefix=/opt/mutter-vrr \
--libdir=lib \
-Dextensions-tool:bash_completion=enabled \
$(CONFFLAGS)
override_dh_makeshlibs:
echo "dh_makeshlibs disabled!"
override_dh_shlibdeps:
echo "dh_shlibdeps disabled!"
override_dh_auto_test:
echo "dh_auto_test disabled!"