guru/gui-apps/mpvpaper/mpvpaper-1.7.ebuild
Takuya Wakazono 30e320d277
gui-apps/mpvpaper: fix build with GCC 15
Closes: https://bugs.gentoo.org/945227
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-28 21:21:18 +09:00

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
}