media-plugins/gmpc-awn: 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:03 +01:00
parent 7446ae698d
commit f7a8ea976a

View File

@@ -1,8 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit autotools eutils
EAPI=7
inherit autotools
DESCRIPTION="This plugin integrates GMPC with the Avant Window Navigator"
HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_AWN"
@@ -13,15 +14,21 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="nls"
RDEPEND=">=media-sound/gmpc-${PV}
RDEPEND="
>=media-sound/gmpc-${PV}
dev-libs/dbus-glib"
DEPEND="${RDEPEND}
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
nls? ( dev-util/intltool
sys-devel/gettext )"
nls? (
dev-util/intltool
sys-devel/gettext
)"
PATCHES=( "${FILESDIR}"/${PN}-0.20.0-multilib.patch )
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.20.0-multilib.patch
default
eautoreconf
}
@@ -31,5 +38,7 @@ src_configure() {
src_install() {
default
find "${ED}" -name "*.la" -exec rm {} + || die
# plugins only
find "${D}" -name '*.la' -delete || die
}