From 71d4e3a921baa4985795e37d737f63ba887e75fb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 27 Jul 2023 01:10:19 +0300 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/32059 Signed-off-by: Sam James --- .../{hyprland-0.27.2.ebuild => hyprland-0.27.2-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename gui-wm/hyprland/{hyprland-0.27.2.ebuild => hyprland-0.27.2-r1.ebuild} (84%) 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 1a9d8c41a4533..16078510e4d7c 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 }