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/libmwaw/
Date: Sat, 15 May 2021 17:03:08
Message-Id: 1621098120.0797e42578a2da2901f648f22b40cabc4aed98fc.asturm@gentoo
1 commit: 0797e42578a2da2901f648f22b40cabc4aed98fc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 15 16:58:39 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 15 17:02:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0797e425
7
8 app-text/libmwaw: 0.3.19 version bump
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-text/libmwaw/Manifest | 1 +
14 app-text/libmwaw/libmwaw-0.3.19.ebuild | 52 ++++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/app-text/libmwaw/Manifest b/app-text/libmwaw/Manifest
18 index b09316833b9..bf6b2dfe430 100644
19 --- a/app-text/libmwaw/Manifest
20 +++ b/app-text/libmwaw/Manifest
21 @@ -1,2 +1,3 @@
22 DIST libmwaw-0.3.17.tar.xz 1349700 BLAKE2B 4b5ba8d5133144973609dfbd273ca36cc95e52608c78f6143f7c4283bc2bc6d7ceb22836a693d64fa7408957a3b02a7c9d0a5ab9235aa2d0b9725170441babfc SHA512 c3a1bb079d7e74cd7a23de1501730be21b1b089ef6d4f81ee0001775483c6346da3105b0d67f75523e4e088987bc92b97acb056ec7fc11bb29047109a1cf5ac4
23 DIST libmwaw-0.3.18.tar.xz 1382328 BLAKE2B eae75e24826a963032d866be1834221850a762447495a209ad1fe268c1072c877e4c19843d61e2e4d9322a48a03b459fa9a4cc734af0eabbb09813ff9626e466 SHA512 4666c0dcc567e3e4c0ae5d9651a7003d2f32acda841bd1e297d46e566430c9227588e29b219987c56f1347f6e5656b52b00d8d6d8fa7902e19d175505e345b7e
24 +DIST libmwaw-0.3.19.tar.xz 1401720 BLAKE2B 93e63993dd73d52d1b071c44a5efa4ba2495a370a767cd80fbeb437a56224d333781cfdf32c3ca1c0a3794544da6cdf8c967badf98b6858796fbc8f2ea7878c1 SHA512 a5b74f417366f7e8a8303948e678d54caf9c45e0b51694d39593926b2f2fbbaa5dfea5dee8a6b4a656e5ca5bd880f41a76e7b869f55230690740b7ab75a28f1f
25
26 diff --git a/app-text/libmwaw/libmwaw-0.3.19.ebuild b/app-text/libmwaw/libmwaw-0.3.19.ebuild
27 new file mode 100644
28 index 00000000000..7363e33a047
29 --- /dev/null
30 +++ b/app-text/libmwaw/libmwaw-0.3.19.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +if [[ ${PV} = 9999 ]]; then
38 + EGIT_REPO_URI="https://git.code.sf.net/p/libmwaw/libmwaw"
39 + inherit autotools git-r3
40 +else
41 + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
42 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
43 +fi
44 +
45 +DESCRIPTION="Library parsing many pre-OSX MAC text formats"
46 +HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
47 +
48 +LICENSE="LGPL-2.1"
49 +SLOT="0"
50 +IUSE="doc tools"
51 +
52 +BDEPEND="
53 + sys-devel/libtool
54 + virtual/pkgconfig
55 + doc? ( app-doc/doxygen )
56 +"
57 +DEPEND="
58 + dev-libs/librevenge
59 + sys-libs/zlib
60 +"
61 +RDEPEND="${DEPEND}"
62 +
63 +src_prepare() {
64 + default
65 + [[ ${PV} == 9999 ]] && eautoreconf
66 +}
67 +
68 +src_configure() {
69 + # zip is hard enabled as the zlib is dep on the rdeps anyway
70 + local myeconfargs=(
71 + --enable-zip
72 + --disable-static
73 + --disable-werror
74 + $(use_with doc docs)
75 + $(use_enable tools)
76 + )
77 + econf "${myeconfargs[@]}"
78 +}
79 +
80 +src_install() {
81 + default
82 + find "${D}" -name '*.la' -type f -delete || die
83 +}