mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 15:37:58 +02:00
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41919 Signed-off-by: Sam James <sam@gentoo.org>
61 lines
1.2 KiB
Bash
61 lines
1.2 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit xdg-utils
|
|
|
|
DESCRIPTION="GTK client for MPD inspired by Rhythmbox but much lighter and faster"
|
|
HOMEPAGE="https://ario-player.sourceforge.net"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN}-player/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="dbus debug +idle nls taglib zeroconf"
|
|
|
|
RDEPEND="dev-libs/glib:2
|
|
dev-libs/libxml2:2=
|
|
media-libs/libmpdclient
|
|
net-misc/curl
|
|
x11-libs/gtk+:3
|
|
dbus? ( dev-libs/dbus-glib )
|
|
taglib? ( media-libs/taglib:= )
|
|
zeroconf? ( net-dns/avahi )"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="dev-util/intltool
|
|
virtual/pkgconfig
|
|
nls? ( sys-devel/gettext )"
|
|
|
|
DOCS=( AUTHORS )
|
|
|
|
src_configure() {
|
|
local myconf=(
|
|
--disable-static
|
|
--disable-xmms2
|
|
--enable-libmpdclient2
|
|
--enable-search
|
|
--enable-playlists
|
|
--disable-deprecations
|
|
$(use_enable dbus)
|
|
$(use_enable debug)
|
|
$(use_enable idle mpdidle)
|
|
$(use_enable nls)
|
|
$(use_enable taglib)
|
|
$(use_enable zeroconf avahi)
|
|
)
|
|
econf "${myconf[@]}"
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
find "${D}" -name '*.la' -delete || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_icon_cache_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_icon_cache_update
|
|
}
|