1 |
commit: 4cfea7152d78a0c8bfce83b6512cd7910dc2b2f7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 01:48:50 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 02:32:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cfea715 |
7 |
|
8 |
media-libs/libmpd: EAPI-7 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/libmpd/libmpd-11.8.17-r1.ebuild | 24 +++++++++++------------- |
14 |
1 file changed, 11 insertions(+), 13 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild |
17 |
index 14ddf16e124..cd7942f7a70 100644 |
18 |
--- a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild |
19 |
+++ b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild |
20 |
@@ -1,12 +1,10 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=4 |
26 |
- |
27 |
-inherit eutils |
28 |
+EAPI=7 |
29 |
|
30 |
DESCRIPTION="A library handling connections to a MPD server" |
31 |
-HOMEPAGE="http://gmpc.wikia.com/wiki/Libmpd" |
32 |
+HOMEPAGE="https://gmpclient.org/" |
33 |
SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" |
34 |
|
35 |
LICENSE="GPL-2" |
36 |
@@ -14,14 +12,14 @@ SLOT="0" |
37 |
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
38 |
IUSE="doc static-libs" |
39 |
|
40 |
-RDEPEND=">=dev-libs/glib-2.16:2" |
41 |
-DEPEND="${RDEPEND} |
42 |
+BDEPEND=" |
43 |
virtual/pkgconfig |
44 |
- doc? ( app-doc/doxygen )" |
45 |
+ doc? ( app-doc/doxygen ) |
46 |
+" |
47 |
+DEPEND=">=dev-libs/glib-2.16:2" |
48 |
+RDEPEND="${DEPEND}" |
49 |
|
50 |
-src_prepare() { |
51 |
- epatch "${FILESDIR}"/${P}-remove-strndup.patch |
52 |
-} |
53 |
+PATCHES=( "${FILESDIR}"/${P}-remove-strndup.patch ) |
54 |
|
55 |
src_configure() { |
56 |
econf \ |
57 |
@@ -35,8 +33,8 @@ src_compile() { |
58 |
} |
59 |
|
60 |
src_install() { |
61 |
+ use doc && local HTML_DOCS=( doc/html/* ) |
62 |
default |
63 |
- use doc && dohtml -r doc/html/* |
64 |
- find "${ED}" -name "*.la" -exec rm -rf {} + || die |
65 |
+ find "${D}" -name '*.la' -type f -delete || die |
66 |
rm "${ED}"/usr/share/doc/${PF}/{README,ChangeLog} || die |
67 |
} |