mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
media-plugins/gmpc-avahi: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="This plugin discovers avahi enabled mpd servers"
|
||||
HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_AVAHI"
|
||||
@@ -12,13 +12,17 @@ SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=media-sound/gmpc-${PV}
|
||||
dev-libs/libxml2
|
||||
net-dns/avahi[dbus]"
|
||||
DEPEND="${RDEPEND}
|
||||
RDEPEND="
|
||||
>=media-sound/gmpc-${PV}
|
||||
dev-libs/libxml2:2
|
||||
net-dns/avahi:=[dbus]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( dev-util/intltool
|
||||
sys-devel/gettext )"
|
||||
nls? (
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
)"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
@@ -26,5 +30,7 @@ src_configure() {
|
||||
|
||||
src_install () {
|
||||
default
|
||||
find "${ED}" -name "*.la" -exec rm {} + || die
|
||||
|
||||
# plugins only
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user