media-plugins/gmpc-shout: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 18:38:14 +0000 (19:38 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 18:38:14 +0000 (19:38 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-plugins/gmpc-shout/gmpc-shout-0.20.0.ebuild

index 1f1c70e1436e60e89244dadb3db09b6e831e2b0f..d99728d90df6f3d7d740f222bbb1cb1cc39d8574 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=3
+EAPI=6
 
 DESCRIPTION="This plugin calls ogg123 and points it at mpd's shoutstream"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_SHOUT"
@@ -12,22 +12,23 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="nls"
 
-RDEPEND=">=media-sound/gmpc-${PV}
+RDEPEND="
+       >=media-sound/gmpc-${PV}
        media-sound/vorbis-tools[ogg123]
-       dev-libs/libxml2
-       x11-libs/cairo"
+       dev-libs/libxml2:=
+       x11-libs/cairo:="
 DEPEND="${RDEPEND}
        virtual/pkgconfig
-       nls? ( dev-util/intltool
-               sys-devel/gettext )"
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+       )"
 
 src_configure() {
-       econf \
-               --disable-dependency-tracking \
-               $(use_enable nls)
+       econf $(use_enable nls)
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
-       find "${ED}" -name "*.la" -delete || die
+       default
+       find "${D}" -name '*.la' -delete || die
 }