summaryrefslogtreecommitdiff
path: root/media-sound/deadbeef-mpris2-plugin/deadbeef-mpris2-plugin-1.16.ebuild
blob: 2dd504ba3517753139cfe89c03120bb36f27c0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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

}