Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libpagemaker/
Date: Tue, 01 Oct 2019 23:43:54
Message-Id: 1569973386.3cc1c5be1081952771c7f09469994ab6f25ed79e.asturm@gentoo
1 commit: 3cc1c5be1081952771c7f09469994ab6f25ed79e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 1 23:40:41 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 1 23:43:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc1c5be
7
8 media-libs/libpagemaker: EAPI-7 bump, consolidate live build switch
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/libpagemaker/libpagemaker-9999.ebuild | 38 +++++++++++++-----------
14 1 file changed, 21 insertions(+), 17 deletions(-)
15
16 diff --git a/media-libs/libpagemaker/libpagemaker-9999.ebuild b/media-libs/libpagemaker/libpagemaker-9999.ebuild
17 index ce90d99852b..35b64943085 100644
18 --- a/media-libs/libpagemaker/libpagemaker-9999.ebuild
19 +++ b/media-libs/libpagemaker/libpagemaker-9999.ebuild
20 @@ -1,44 +1,48 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27
28 -EGIT_REPO_URI="git://gerrit.libreoffice.org/${PN}.git"
29 -[[ ${PV} == 9999 ]] && inherit autotools git-r3
30 -
31 -DESCRIPTION="C++ Library that parses the file format of Aldus/Adobe PageMaker documents."
32 +if [[ ${PV} = *9999 ]]; then
33 + EGIT_REPO_URI="git://gerrit.libreoffice.org/${PN}.git"
34 + inherit autotools git-r3
35 +else
36 + SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
37 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
38 +fi
39 +DESCRIPTION="C++ Library that parses the file format of Aldus/Adobe PageMaker documents"
40 HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/${PN}"
41 -[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
42
43 LICENSE="MPL-2.0"
44 SLOT="0"
45 -
46 -[[ ${PV} == 9999 ]] || \
47 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
48 IUSE="debug doc tools"
49
50 +BDEPEND="
51 + virtual/pkgconfig
52 + doc? ( app-doc/doxygen )
53 +"
54 RDEPEND="
55 dev-libs/librevenge
56 "
57 DEPEND="${RDEPEND}
58 dev-libs/boost
59 - virtual/pkgconfig
60 - doc? ( app-doc/doxygen )
61 "
62
63 src_prepare() {
64 default
65 - [[ ${PV} == 9999 ]] && eautoreconf
66 + [[ ${PV} == *9999 ]] && eautoreconf
67 }
68
69 src_configure() {
70 - econf \
71 - --disable-werror \
72 - $(use_with doc docs) \
73 + local myeconfargs=(
74 + --disable-werror
75 + $(use_with doc docs)
76 $(use_enable tools)
77 + )
78 + econf "${myeconfargs[@]}"
79 }
80
81 src_install() {
82 default
83 - find "${D}" -name '*.la' -delete || die
84 + find "${D}" -name '*.la' -type f -delete || die
85 }