Update d/rules for new Hyprland version

This commit is contained in:
alan (NyxTrail) 2024-06-14 18:00:26 +00:00
parent 9ebd101c28
commit 14bcf2fb51
No known key found for this signature in database
GPG Key ID: 32C5D29762C48D4A
1 changed files with 4 additions and 4 deletions

8
debian/rules vendored
View File

@ -16,7 +16,7 @@ override_dh_makeshlibs:
:
override_dh_auto_install:
chrpath -r /usr/lib/hyprland build/Hyprland
# chrpath -r /usr/lib/hyprland build/Hyprland
# Fix permission on hyprland.pc (Hyprland sets 777 on everything in
# build/ directory)
chmod 644 build/hyprland.pc
@ -30,12 +30,12 @@ override_dh_clean:
# call clear target provided by Hyprland
make clear
# clean up some directories created during the build
rm -rf subprojects/wlroots/src/wlroots-stamp
rm -rf subprojects/wlroots-hyprland/src/wlroots-hyprland-stamp
rm -f subprojects/udis86/libudis86/itab*
rm -rf subprojects/wlroots/tmp
rm -rf subprojects/wlroots-hyprland/tmp
# Hyprland made this change. Revert it or dpkg-source will complain that
# meson.build does not match the one in the original source tarball
sed -E -i -e 's/^soversion = .*/soversion = version_minor.to_int() - 5/g' subprojects/wlroots/meson.build
# sed -E -i -e 's/^soversion = .*/soversion = version_minor.to_int() - 5/g' subprojects/wlroots/meson.build
#override_dh_auto_configure:
# dh_auto_configure -- \