mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 08:55:57 +02:00
Closes: https://bugs.gentoo.org/926035 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
39 lines
698 B
Bash
39 lines
698 B
Bash
# 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
|
|
find "${ED}" -name \*.la -delete || die
|
|
}
|