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