media-sound/mpdscribble: minor fixes
authorMikle Kolyada <zlogene@gentoo.org>
Sun, 9 Sep 2018 09:39:52 +0000 (12:39 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 9 Sep 2018 09:39:52 +0000 (12:39 +0300)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-sound/mpdscribble/mpdscribble-0.22.ebuild
media-sound/mpdscribble/mpdscribble-9999.ebuild

index ac6c4ddf73ea4b0a1418849aecec413ec27ef638..21a952be25b290491c2184187ae4e6ca1ea3fc0e 100644 (file)
@@ -1,8 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils
 
 DESCRIPTION="An MPD client that submits information to Audioscrobbler"
 HOMEPAGE="https://www.musicpd.org/clients/mpdscribble/"
@@ -13,7 +12,7 @@ SLOT="0"
 KEYWORDS="amd64 ~hppa ~ppc x86"
 IUSE="+curl"
 
-RDEPEND="dev-libs/glib
+RDEPEND="dev-libs/glib:2
        media-libs/libmpdclient
        curl? ( net-misc/curl )
        !curl? ( net-libs/libsoup:2.4 )"
@@ -28,5 +27,5 @@ src_configure() {
 src_install() {
        default
        newinitd "${FILESDIR}/mpdscribble.rc" mpdscribble
-       dodir /var/cache/mpdscribble
+       keepdir /var/cache/mpdscribble
 }
index 81294c5dbbe7e884558725929a212e60eb9f46fc..639a5eb9e3420ebee9408fe4300cdbdec9fbd150 100644 (file)
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit git-r3 autotools
 
 DESCRIPTION="An MPD client that submits information to Audioscrobbler"
@@ -13,7 +14,7 @@ SLOT="0"
 KEYWORDS=""
 IUSE="+curl"
 
-RDEPEND="dev-libs/glib
+RDEPEND="dev-libs/glib:2
        media-libs/libmpdclient
        curl? ( net-misc/curl )
        !curl? ( net-libs/libsoup:2.4 )"
@@ -33,5 +34,5 @@ src_configure() {
 src_install() {
        default
        newinitd "${FILESDIR}/mpdscribble.rc" mpdscribble
-       dodir /var/cache/mpdscribble
+       keepdir /var/cache/mpdscribble
 }