gentoo-ebuilds/media-sound/deadbeef-mpris2-plugin/deadbeef-mpris2-plugin-1.16.ebuild
Viorel Munteanu fb6edc3e15
media-sound/deadbeef-mpris2-plugin: fix building with slibtool
Closes: https://bugs.gentoo.org/926035
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-03-04 08:20:28 +02:00

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
}