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/libvisio/
Date: Thu, 12 Sep 2019 20:27:54
Message-Id: 1568320052.2625db1102136ed3bacd079e2e3178a08a1513b4.asturm@gentoo
1 commit: 2625db1102136ed3bacd079e2e3178a08a1513b4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 12 20:05:57 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 12 20:27:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2625db11
7
8 media-libs/libvisio: EAPI-7 bump
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/libvisio/libvisio-9999.ebuild | 36 +++++++++++++++++++-------------
14 1 file changed, 21 insertions(+), 15 deletions(-)
15
16 diff --git a/media-libs/libvisio/libvisio-9999.ebuild b/media-libs/libvisio/libvisio-9999.ebuild
17 index 1f7cc355b43..e4147a14c12 100644
18 --- a/media-libs/libvisio/libvisio-9999.ebuild
19 +++ b/media-libs/libvisio/libvisio-9999.ebuild
20 @@ -1,35 +1,39 @@
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 inherit flag-o-matic
29
30 -EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git"
31 -[[ ${PV} == 9999 ]] && inherit autotools git-r3
32 +if [[ ${PV} == 9999 ]]; then
33 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git"
34 + inherit autotools git-r3
35 +else
36 + SRC_URI="https://dev-www.libreoffice.org/src/libvisio/${P}.tar.xz"
37 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
38 +fi
39
40 -DESCRIPTION="Library parsing the visio documents"
41 +DESCRIPTION="Library parsing the file format of MS Visio documents"
42 HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
43 -[[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libvisio/${P}.tar.xz"
44
45 LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
46 SLOT="0"
47 -[[ ${PV} == 9999 ]] || \
48 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
49 IUSE="doc static-libs test tools"
50
51 +BDEPEND="
52 + dev-lang/perl
53 + virtual/pkgconfig
54 + doc? ( app-doc/doxygen )
55 +"
56 RDEPEND="
57 dev-libs/icu:=
58 dev-libs/librevenge
59 dev-libs/libxml2
60 "
61 DEPEND="${RDEPEND}
62 - dev-lang/perl
63 dev-libs/boost
64 dev-util/gperf
65 sys-devel/libtool
66 - virtual/pkgconfig
67 - doc? ( app-doc/doxygen )
68 test? ( dev-util/cppunit )
69 "
70
71 @@ -43,11 +47,13 @@ src_configure() {
72 # bug 619688
73 append-cxxflags -std=c++14
74
75 - econf \
76 - $(use_with doc docs) \
77 - $(use_enable static-libs static) \
78 - $(use_enable test tests) \
79 + local myeconfargs=(
80 + $(use_with doc docs)
81 + $(use_enable static-libs static)
82 + $(use_enable test tests)
83 $(use_enable tools)
84 + )
85 + econf "${myeconfargs[@]}"
86 }
87
88 src_install() {