1
0
Fork 0

Updating rules to build for gnome-shell version 43.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 23:16:19 +01:00
parent 47fbd54610
commit 034ec59889
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 19 additions and 4 deletions

4
debian/control vendored
View file

@ -18,8 +18,8 @@ Package: gnome-shell-extensions-extra
Section: gnome
Architecture: all
Depends:
gnome-shell (>= 43~),
gnome-shell (<< 45~),
gnome-shell (>= ${gnome-shell:Depends:low}~),
gnome-shell (<< ${gnome-shell:Depends:high}~),
${misc:Depends},
Recommends:
gnome-tweaks,

19
debian/rules vendored
View file

@ -1,14 +1,29 @@
#!/usr/bin/make -f
EXTENSIONS_VERSION = 44
GNOME_SHELL_DEPENDS_LOW = 43
GNOME_SHELL_DEPENDS_HIGH = 45
%:
dh ${@} --no-parallel
execute_after_dh_auto_clean:
rm -f extensions/current
# remove generated files
rm -f extensions/*/*/schemas/gschemas.compiled
rm -f extensions/middleclickclose/*/locale/*/LC_MESSAGES/*.mo
rm -f extensions/44/*/*/schemas/gschemas.compiled
rm -f extensions/44/middleclickclose/*/locale/*/LC_MESSAGES/*.mo
execute_before_dh_auto_build:
ln -s $(EXTENSIONS_VERSION) extensions/current
execute_after_dh_auto_install:
# removing unused files
rm -f debian/gnome-shell-extensions-extra/usr/share/doc/*/CHANGELOG.txt
rm -f debian/gnome-shell-extensions-extra/usr/share/doc/*/LICENSE.txt
override_dh_gencontrol:
dh_gencontrol -- \
-Vgnome-shell:Depends:low="$(GNOME_SHELL_DEPENDS_LOW)" \
-Vgnome-shell:Depends:high="$(GNOME_SHELL_DEPENDS_HIGH)"