media-sound/glurp: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Tue, 10 Dec 2019 00:41:34 +0000 (01:41 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 10 Dec 2019 00:41:34 +0000 (01:41 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-sound/glurp/glurp-0.12.3.ebuild

index c0654e6cc246fde31dd2a309055ca423111afb6b..61c10412e28c25a57985008171b89c70be5b422a 100644 (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 eutils
+EAPI=7
+
+inherit desktop
 
 DESCRIPTION="Glurp is a GTK2 based graphical client for the Music Player Daemon"
 HOMEPAGE="https://sourceforge.net/projects/glurp/"
@@ -13,21 +14,20 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE="debug"
 
-RDEPEND="x11-libs/gtk+:2
-       >=dev-libs/glib-2.4:2
-       >=media-libs/libmpd-0.17"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-DOCS=( AUTHORS ChangeLog )
+RDEPEND="
+       x11-libs/gtk+:2
+       dev-libs/glib:2
+       media-libs/libmpd:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
-       econf \
-               $(use_enable debug)
+       econf $(use_enable debug)
 }
 
 src_install() {
        default
+
        doicon "${FILESDIR}"/${PN}.svg
        make_desktop_entry glurp Glurp glurp AudioVideo
 }