media-sound/deadbeef-mpris2-plugin: new package, add 1.16

Closes: https://bugs.gentoo.org/916875
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Alfred Wingate
2024-02-24 09:34:58 +02:00
committed by Viorel Munteanu
parent 126f123ad0
commit 527ba67f91
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1 @@
DIST deadbeef-mpris2-plugin-1.16.tar.gz 17556 BLAKE2B bb58930c0f9cc641806c347425c3c898c00bc6128275fcdbc7312ee72f65a3f6ab40c9ce067293721337a7db600be4d5955446757e3c525ac6449316587e426f SHA512 8ec83fee300005a9c4df8762bad09e991d3adadeda4437e29a21b74f4d6146acdd055bed5696535ea03358789b75eced1c9df664132367e79aa65a126e2d975f
@@ -0,0 +1,40 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="MPRISv2 plugin for the DeaDBeeF music player"
HOMEPAGE="https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin"
SRC_URI="https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"
DEPEND="
dev-libs/glib:2
>=media-sound/deadbeef-1.8.0[cover]
"
RDEPEND="${DEPEND}"
src_prepare() {
eapply_user
eautoreconf
}
src_configure() {
econf $(use_enable debug)
}
src_install() {
default
# Remove static library
rm "${ED}"/usr/$(get_libdir)/deadbeef/mpris.la || die
}