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:
David Seifert
2019-12-22 12:52:09 +01:00
parent 822d870fdf
commit 4bb587d11b

View File

@@ -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
}