Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libmspub/
Date: Thu, 01 Mar 2018 15:44:25
Message-Id: 1519919051.e7d45de08aa23c5a80f3bc21a5dff09484093ca2.asturm@gentoo
1 commit: e7d45de08aa23c5a80f3bc21a5dff09484093ca2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 13:52:27 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 15:44:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d45de0
7
8 app-text/libmspub: 0.1.4 version bump
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-text/libmspub/Manifest | 1 +
13 app-text/libmspub/libmspub-0.1.4.ebuild | 55 +++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/app-text/libmspub/Manifest b/app-text/libmspub/Manifest
17 index 639d004b704..5bc8cfc6ada 100644
18 --- a/app-text/libmspub/Manifest
19 +++ b/app-text/libmspub/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libmspub-0.1.2.tar.xz 345556 BLAKE2B a3b47fb188fc859abf54e3375514d31a1fafa21fb57fe0ac4a20013741a223a7011adf8ce7784b61346b49e9f4c0b6c353138dc12a5035f7bcc24576a508aa50 SHA512 c19025a2b887c33f5966b0972204ab2a8ae841b82df38eaf53c0cdc8f99d93cccab5e1c78143a79d5aef9c7a7387bd6f2cf34833a00861058e0e4687f48be714
22 DIST libmspub-0.1.3.tar.xz 377716 BLAKE2B 6b6592f92523d009b1e6c8b1d24ae2efd36efd692cde53e221fcd701aca3246004d20aa8d584271ef6c75add4251e62c93c5a2896d1d3cc5e65f8389dc88ae65 SHA512 3d3680a732c84f7817cf079ae458f56e1eac14663014d48c29f54a6b4dfee887c2cc296a6d6e00d2e05329126414e6513cd7d1187c760ce952c72c27a7ccda46
23 +DIST libmspub-0.1.4.tar.xz 377472 BLAKE2B 89bd994a5aa2b3a22681dfe78fcea19561ea6057210e61630fa904ded12cca4694d715dd8f2fe8f687a91951bfa2f7aec1ff11d0b978a517476545bb07f654dd SHA512 7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31
24
25 diff --git a/app-text/libmspub/libmspub-0.1.4.ebuild b/app-text/libmspub/libmspub-0.1.4.ebuild
26 new file mode 100644
27 index 00000000000..c627cd0bee6
28 --- /dev/null
29 +++ b/app-text/libmspub/libmspub-0.1.4.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit flag-o-matic
37 +
38 +EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libmspub.git"
39 +[[ ${PV} == 9999 ]] && inherit autotools git-r3
40 +
41 +DESCRIPTION="Library parsing Microsoft Publisher documents"
42 +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
43 +[[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libmspub/${P}.tar.xz"
44 +
45 +LICENSE="LGPL-2.1"
46 +SLOT="0"
47 +
48 +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
49 +[[ ${PV} == 9999 ]] || \
50 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
51 +
52 +IUSE="doc static-libs"
53 +
54 +RDEPEND="
55 + dev-libs/icu:=
56 + dev-libs/librevenge
57 + sys-libs/zlib
58 +"
59 +DEPEND="${RDEPEND}
60 + dev-libs/boost
61 + sys-devel/libtool
62 + virtual/pkgconfig
63 + doc? ( app-doc/doxygen )
64 +"
65 +
66 +src_prepare() {
67 + default
68 + [[ -d m4 ]] || mkdir "m4"
69 + [[ ${PV} == 9999 ]] && eautoreconf
70 +}
71 +
72 +src_configure() {
73 + # bug 619044
74 + append-cxxflags -std=c++14
75 +
76 + econf \
77 + --disable-werror \
78 + $(use_with doc docs) \
79 + $(use_enable static-libs static)
80 +}
81 +
82 +src_install() {
83 + default
84 + find "${D}" -name '*.la' -delete || die
85 +}