summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-15 02:48:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-15 03:32:34 +0100
commit4cfea7152d78a0c8bfce83b6512cd7910dc2b2f7 (patch)
tree9c6ed0d4d7f1d4d2e5bb6e9acc6d19d33ec07c79 /media-libs/libmpd
parentmedia-plugins/audacious-plugins: Add slot op on dev-libs/libcdio-paranoia (diff)
downloadgentoo-4cfea7152d78a0c8bfce83b6512cd7910dc2b2f7.tar.gz
gentoo-4cfea7152d78a0c8bfce83b6512cd7910dc2b2f7.tar.bz2
gentoo-4cfea7152d78a0c8bfce83b6512cd7910dc2b2f7.zip
media-libs/libmpd: EAPI-7 bump
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libmpd')
-rw-r--r--media-libs/libmpd/libmpd-11.8.17-r1.ebuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild
index 14ddf16e1248..cd7942f7a702 100644
--- a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild
+++ b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-
-inherit eutils
+EAPI=7
DESCRIPTION="A library handling connections to a MPD server"
-HOMEPAGE="http://gmpc.wikia.com/wiki/Libmpd"
+HOMEPAGE="https://gmpclient.org/"
SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
LICENSE="GPL-2"
@@ -14,14 +12,14 @@ SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc static-libs"
-RDEPEND=">=dev-libs/glib-2.16:2"
-DEPEND="${RDEPEND}
+BDEPEND="
virtual/pkgconfig
- doc? ( app-doc/doxygen )"
+ doc? ( app-doc/doxygen )
+"
+DEPEND=">=dev-libs/glib-2.16:2"
+RDEPEND="${DEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-remove-strndup.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-remove-strndup.patch )
src_configure() {
econf \
@@ -35,8 +33,8 @@ src_compile() {
}
src_install() {
+ use doc && local HTML_DOCS=( doc/html/* )
default
- use doc && dohtml -r doc/html/*
- find "${ED}" -name "*.la" -exec rm -rf {} + || die
+ find "${D}" -name '*.la' -type f -delete || die
rm "${ED}"/usr/share/doc/${PF}/{README,ChangeLog} || die
}