summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.6.0.ebuild
blob: 14cc8b3faad819fbdb120291acfedf65228c9ae6 (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
41
42
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Music Player Daemon (mpd) panel plugin"
HOMEPAGE="
	https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin/start
	https://gitlab.xfce.org/panel-plugins/xfce4-mpc-plugin/
"
SRC_URI="
	https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.xz
"

LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~riscv x86"

DEPEND="
	>=dev-libs/glib-2.60.0
	media-libs/libmpd:=
	>=x11-libs/gtk+-3.22.0:3
	>=xfce-base/libxfce4ui-4.16.0:=[gtk3(+)]
	>=xfce-base/xfce4-panel-4.16.0:=
"
RDEPEND="
	${DEPEND}
"
BDEPEND="
	>=sys-devel/gettext-0.19.8
	virtual/pkgconfig
"

src_configure() {
	local emesonargs=(
		-Dlibmpd=enabled
	)

	meson_src_configure
}