media-plugins/gmpc-mserver: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sun, 22 Dec 2019 11:52:06 +0000 (12:52 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 22 Dec 2019 11:52:06 +0000 (12:52 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-plugins/gmpc-mserver/gmpc-mserver-0.20.0.ebuild

index 43729642c28bae33e628f3db109f4c31f3c83cc2..d82252e3d30b06ccb84e60f8dab04c09a0bdd790 100644 (file)
@@ -1,26 +1,27 @@
-# 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 allows you to play local files on a remote or local mpd
-server"
+DESCRIPTION="This plugin allows you to play local files on a remote or local mpd server"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_MSERVER"
 SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-RDEPEND=">=media-sound/gmpc-${PV}
-       dev-libs/libxml2
-       media-libs/taglib
-       net-libs/libmicrohttpd"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+RDEPEND="
+       >=media-sound/gmpc-${PV}
+       dev-libs/libxml2:2
+       media-libs/taglib:=
+       net-libs/libmicrohttpd:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_install() {
        default
-       find "${ED}" -name "*.la" -delete || die
+
+       # plugins only
+       find "${D}" -name '*.la' -delete || die
 }