1
0
Fork 0
gnome-shell-extension-impat.../debian/rules
Daniel Baumann 9ccdec7747
Adding debian version 0.5.2-3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 20:50:31 +02:00

16 lines
699 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@
# We don't need to build a zip archive, and skipping it
# reduces the need for zip as a build-dep.
# We do need to compile new plugin schemas though since the
# schema path is hardcoded for this plugin.
override_dh_auto_build:
glib-compile-schemas --strict --targetdir=impatience/schemas/ impatience/schemas
override_dh_gencontrol:
dh_gencontrol -- \
-Vgnome:MinimumVersion=$(shell python3 -c "import json; print(min(int(x) for x in json.load(open('impatience/metadata.json', 'rt'))['shell-version']))") \
-Vgnome:MaximumVersion=$(shell python3 -c "import json; print(1+max(int(x) for x in json.load(open('impatience/metadata.json', 'rt'))['shell-version']))")