45 lines
1.0 KiB
Makefile
Executable File
45 lines
1.0 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
|
|
|
|
%:
|
|
dh $@
|
|
|
|
CONFFLAGS =
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
|
CONFFLAGS += \
|
|
-Dnetworkmanager=true \
|
|
-Dsoup2=false \
|
|
-Dsystemd=true
|
|
endif
|
|
|
|
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
CONFFLAGS += -Dtests=true
|
|
else
|
|
CONFFLAGS += -Dtests=false
|
|
endif
|
|
|
|
override_dh_auto_clean:
|
|
true
|
|
|
|
override_dh_clean:
|
|
true
|
|
|
|
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:
|
|
true
|
|
|
|
override_dh_shlibdeps:
|
|
true
|
|
|
|
override_dh_auto_test:
|
|
true
|