mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
Closes: https://bugs.gentoo.org/945227 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
44 lines
794 B
Bash
44 lines
794 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="A video wallpaper program for wlroots based wayland compositors"
|
|
HOMEPAGE="https://github.com/GhostNaN/mpvpaper"
|
|
|
|
inherit meson
|
|
|
|
case "${PV}" in
|
|
9999)
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/GhostNaN/mpvpaper.git"
|
|
;;
|
|
*)
|
|
SRC_URI="https://github.com/GhostNaN/mpvpaper/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
esac
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
RDEPEND="
|
|
dev-libs/wayland
|
|
media-libs/libglvnd
|
|
media-video/mpv:=[libmpv]
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
dev-libs/wayland-protocols
|
|
"
|
|
BDEPEND="dev-util/wayland-scanner"
|
|
|
|
PATCHES=(
|
|
# bug #945227
|
|
"${FILESDIR}/${P}-gcc15.patch"
|
|
)
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
newman mpvpaper.man mpvpaper.1
|
|
}
|