1
0
Fork 0
gnome-settings-daemon/debian/rules
Daniel Baumann 2a3326e91d
Adding debian version 48.1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 20:20:28 +02:00

46 lines
1.2 KiB
Makefile
Executable file

#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 -Wl,--warn-unresolved-symbols
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
export GSD_MAJOR_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1 | cut -d. -f1)
export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
%:
dh $@
ifneq ($(DEB_HOST_ARCH_OS),linux)
CONFFLAGS = \
-Drfkill=false \
-Dnetwork_manager=false \
-Dalsa=false \
-Dcolord=false \
-Dgudev=false \
-Dsystemd=false \
-Dwayland=false \
-Dwwan=false
endif
override_dh_auto_configure:
dh_auto_configure -- \
--libdir=/usr/lib \
$(CONFFLAGS)
override_dh_installchangelogs:
dh_installchangelogs -XChangeLog
# The build system is not installing the polkit policy files on non-linux
# architectures even if the code requires libpolkit-gobject-1 library
ifneq ($(DEB_HOST_ARCH_OS),linux)
execute_before_dh_install:
grep -E -v 'polkit-1' debian/gnome-settings-daemon.install > debian/gnome-settings-daemon.install.$(DEB_HOST_ARCH_OS)
endif
execute_before_dh_clean:
rm -f debian/gnome-settings-daemon.install.$(DEB_HOST_ARCH_OS)
override_dh_gnome_clean: