commit:     71d4e3a921baa4985795e37d737f63ba887e75fb
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Jul 26 22:10:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 03:10:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d4e3a9

gui-wm/hyprland: install anime wallpapers manually

* Upstream forgot to add their installation to meson, so there is a
  random chance you get the normal wallpaper or nothing (which should've
  been the anime one).
* Change stray PF to P in SRC_URI.

https://github.com/hyprwm/Hyprland/commit/70dae78c1b5b17288a3e343b87ca6d10244ee937

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32059
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{hyprland-0.27.2.ebuild => hyprland-0.27.2-r1.ebuild}         | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gui-wm/hyprland/hyprland-0.27.2.ebuild 
b/gui-wm/hyprland/hyprland-0.27.2-r1.ebuild
similarity index 84%
rename from gui-wm/hyprland/hyprland-0.27.2.ebuild
rename to gui-wm/hyprland/hyprland-0.27.2-r1.ebuild
index 1a9d8c41a453..16078510e4d7 100644
--- a/gui-wm/hyprland/hyprland-0.27.2.ebuild
+++ b/gui-wm/hyprland/hyprland-0.27.2-r1.ebuild
@@ -8,7 +8,7 @@ inherit meson toolchain-funcs
 DESCRIPTION="A dynamic tiling Wayland compositor that doesn't sacrifice on its 
looks"
 HOMEPAGE="https://github.com/hyprwm/Hyprland";
 
-SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz
 -> ${PF}.gh.tar.gz"
+SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
 S="${WORKDIR}/${PN}-source"
 
 KEYWORDS="~amd64"
@@ -94,4 +94,10 @@ src_configure() {
 
 src_install() {
        meson_src_install --skip-subprojects wlroots
+
+       # FIXME: undo this in next release if meson is fixed 
(https://github.com/hyprwm/Hyprland/pull/2820)
+       # 
https://github.com/hyprwm/Hyprland/commit/70dae78c1b5b17288a3e343b87ca6d10244ee937
+       # upstream added new backgrounds but didnt add them to be installed by 
meson.
+       insinto /usr/share/hyprland
+       doins assets/wall_anime_{2,4,8}K.png
 }

Reply via email to