Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/flickcurl/
Date: Sat, 16 Oct 2021 13:59:10
Message-Id: 1634392722.fde2134e876bc931ece64f655410f2efbe42db42.soap@gentoo
1 commit: fde2134e876bc931ece64f655410f2efbe42db42
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 13:58:42 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 13:58:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde2134e
7
8 media-libs/flickcurl: port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/729212
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 media-libs/flickcurl/flickcurl-1.26.ebuild | 26 +++++++++++---------------
14 1 file changed, 11 insertions(+), 15 deletions(-)
15
16 diff --git a/media-libs/flickcurl/flickcurl-1.26.ebuild b/media-libs/flickcurl/flickcurl-1.26.ebuild
17 index ae2503f8cd3..96f1e11eec8 100644
18 --- a/media-libs/flickcurl/flickcurl-1.26.ebuild
19 +++ b/media-libs/flickcurl/flickcurl-1.26.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="5"
25 +EAPI=8
26
27 inherit autotools
28
29 @@ -12,33 +12,29 @@ SRC_URI="http://download.dajobe.org/flickcurl/${P}.tar.gz"
30 LICENSE="|| ( LGPL-2.1 GPL-2 Apache-2.0 )"
31 SLOT="0"
32 KEYWORDS="amd64 arm64 x86"
33 -IUSE="doc raptor static-libs"
34 +IUSE="raptor"
35
36 -RDEPEND=">=net-misc/curl-7.10.0
37 +RDEPEND="
38 + >=net-misc/curl-7.10.0
39 >=dev-libs/libxml2-2.6.8:2
40 raptor? ( media-libs/raptor:2 )"
41 -DEPEND="${RDEPEND}
42 +DEPEND="${RDEPEND}"
43 +BDEPEND="
44 + dev-util/gtk-doc-am
45 virtual/pkgconfig"
46
47 src_prepare() {
48 - if ! use doc ; then
49 - # Only install html documentation when the use flag is enabled
50 - sed -e '/gtk-doc.make/d' \
51 - -e 's:+=:=:' \
52 - -i docs/Makefile.am || die
53 - fi
54 -
55 + default
56 eautoreconf
57 }
58
59 src_configure() {
60 econf \
61 - $(use_with raptor) \
62 - $(use_enable static-libs static)
63 + --disable-gtk-doc \
64 + $(use_with raptor)
65 }
66
67 src_install() {
68 - emake DESTDIR="${D}" TARGET_DIR=/usr/share/doc/${PF}/html install
69 - dodoc AUTHORS ChangeLog NEWS README
70 + default
71 find "${ED}" -name '*.la' -delete || die
72 }