# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit toolchain-funcs DESCRIPTION="MPRIS integration for mpv" HOMEPAGE="https://github.com/hoyon/mpv-mpris" SRC_URI="https://github.com/hoyon/mpv-mpris/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" DEPEND=" dev-libs/glib:2 media-video/ffmpeg:= media-video/mpv[lua] " RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { tc-export CC emake PKG_CONFIG="$(tc-getPKG_CONFIG)" } src_install() { emake DESTDIR="${D}" PREFIX="/usr" install-system }