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:53
Message-Id: 1568320052.083e1040cc287ec7d04f428d836f08f9c15c788c.asturm@gentoo
1 commit: 083e1040cc287ec7d04f428d836f08f9c15c788c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 12 20:06:27 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=083e1040
7
8 media-libs/libvisio: 0.1.7 version 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/Manifest | 1 +
14 media-libs/libvisio/libvisio-0.1.7.ebuild | 62 +++++++++++++++++++++++++++++++
15 2 files changed, 63 insertions(+)
16
17 diff --git a/media-libs/libvisio/Manifest b/media-libs/libvisio/Manifest
18 index e4d6b6ef69b..ca606c2e225 100644
19 --- a/media-libs/libvisio/Manifest
20 +++ b/media-libs/libvisio/Manifest
21 @@ -1 +1,2 @@
22 DIST libvisio-0.1.6.tar.xz 676396 BLAKE2B dbd96b64a3789e275a47fe59cd939620787937e31ee11b7af7977575c183ade233afdb952d4c2e362312ae400d23726cbd01e3ccb644c9a413abc84ddbe0f161 SHA512 58cee8cfe4205b2cad2f11dbe17882e57ebf0d10500116ca9d8d120e138f8eb0c65a5fea3bd7d2746bf8140377ee9deb34258597e028f9fdc8d21f270606cce1
23 +DIST libvisio-0.1.7.tar.xz 854296 BLAKE2B db5dd96d769c237bc2926d52a43c2496adca50b74133ea3c81df7ba5a61824891623eb33b4801b463b27f5c03946ea7ffcf827b98c95139c9659b0a1b0f7b604 SHA512 c26f67a09fa6a6d0bf6f3fff5590d5cf16983630d4f7cfcf86d9461baec58dbdf7989fd934be6db0639ca043c160aac2d008275afb9e047766bc878ac579a9ea
24
25 diff --git a/media-libs/libvisio/libvisio-0.1.7.ebuild b/media-libs/libvisio/libvisio-0.1.7.ebuild
26 new file mode 100644
27 index 00000000000..e4147a14c12
28 --- /dev/null
29 +++ b/media-libs/libvisio/libvisio-0.1.7.ebuild
30 @@ -0,0 +1,62 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit flag-o-matic
37 +
38 +if [[ ${PV} == 9999 ]]; then
39 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git"
40 + inherit autotools git-r3
41 +else
42 + SRC_URI="https://dev-www.libreoffice.org/src/libvisio/${P}.tar.xz"
43 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
44 +fi
45 +
46 +DESCRIPTION="Library parsing the file format of MS Visio documents"
47 +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
48 +
49 +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
50 +SLOT="0"
51 +IUSE="doc static-libs test tools"
52 +
53 +BDEPEND="
54 + dev-lang/perl
55 + virtual/pkgconfig
56 + doc? ( app-doc/doxygen )
57 +"
58 +RDEPEND="
59 + dev-libs/icu:=
60 + dev-libs/librevenge
61 + dev-libs/libxml2
62 +"
63 +DEPEND="${RDEPEND}
64 + dev-libs/boost
65 + dev-util/gperf
66 + sys-devel/libtool
67 + test? ( dev-util/cppunit )
68 +"
69 +
70 +src_prepare() {
71 + default
72 + [[ -d m4 ]] || mkdir "m4"
73 + [[ ${PV} == 9999 ]] && eautoreconf
74 +}
75 +
76 +src_configure() {
77 + # bug 619688
78 + append-cxxflags -std=c++14
79 +
80 + local myeconfargs=(
81 + $(use_with doc docs)
82 + $(use_enable static-libs static)
83 + $(use_enable test tests)
84 + $(use_enable tools)
85 + )
86 + econf "${myeconfargs[@]}"
87 +}
88 +
89 +src_install() {
90 + default
91 + find "${D}" -name '*.la' -delete || die
92 +}