gui-apps/hyprpaper: define DOC & don't redefine src_install

this way the readme's also installed

Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
Filip Kobierski
2025-02-01 20:16:06 +01:00
parent 394ceadb7f
commit 77367d8975

View File

@@ -0,0 +1,47 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A blazing fast wayland wallpaper utility"
HOMEPAGE="https://github.com/hyprwm/hyprpaper"
SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/hyprgraphics
>=dev-libs/hyprlang-0.6.0
dev-libs/wayland
>=gui-libs/hyprutils-0.2.4:=
media-libs/libglvnd
media-libs/libjpeg-turbo:=
media-libs/libwebp:=
x11-libs/cairo
x11-libs/pango
"
DEPEND="
${RDEPEND}
dev-libs/wayland-protocols
"
BDEPEND="
>=dev-util/hyprwayland-scanner-0.4.2
dev-util/wayland-scanner
dev-vcs/git
virtual/pkgconfig
"
DOCS=( README.md )
PATCHES=(
"${FILESDIR}/hyprpaper-0.7.3-fix-wayland-scanner.patch"
)
src_compile() {
emake protocols
cmake_src_compile
}