-# 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/"
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
}