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:59:42 +02:00
|
|
|
DEB_BUILD_OPTIONS=nocheck
|
2023-02-23 21:01:49 +01:00
|
|
|
|
|
|
|
%:
|
2023-06-26 23:59:42 +02:00
|
|
|
dh $@ --with bash_completion
|
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 \
|
|
|
|
-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
|
|
|
|
|
|
|
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)
|
|
|
|
|
2023-10-03 21:22:20 +02:00
|
|
|
|
2023-02-23 21:01:49 +01:00
|
|
|
override_dh_makeshlibs:
|
2023-06-26 23:56:12 +02:00
|
|
|
true
|
2023-02-23 21:01:49 +01:00
|
|
|
|
|
|
|
override_dh_shlibdeps:
|
2023-06-26 23:56:12 +02:00
|
|
|
true
|
2023-02-23 21:01:49 +01:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
2023-06-26 23:56:12 +02:00
|
|
|
true
|