Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/wv2/
Date: Sat, 26 Feb 2022 19:53:54
Message-Id: 1645905206.aeea2bbcab092bc8f37826e65f40d776a476ea85.sam@gentoo
1 commit: aeea2bbcab092bc8f37826e65f40d776a476ea85
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 19:22:54 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 19:53:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeea2bbc
7
8 app-text/wv2: update EAPI 6 -> 8
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-text/wv2/wv2-0.4.2-r3.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
13 1 file changed, 39 insertions(+)
14
15 diff --git a/app-text/wv2/wv2-0.4.2-r3.ebuild b/app-text/wv2/wv2-0.4.2-r3.ebuild
16 new file mode 100644
17 index 000000000000..d983f3763221
18 --- /dev/null
19 +++ b/app-text/wv2/wv2-0.4.2-r3.ebuild
20 @@ -0,0 +1,39 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +inherit cmake flag-o-matic
27 +
28 +DESCRIPTION="Excellent MS Word filter lib, used in most Office suites"
29 +HOMEPAGE="http://wvware.sourceforge.net"
30 +SRC_URI="mirror://sourceforge/wvware/${P}.tar.bz2"
31 +
32 +LICENSE="LGPL-2"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
35 +IUSE="zlib"
36 +
37 +RDEPEND="dev-libs/glib
38 + >=gnome-extra/libgsf-1.8:=
39 + virtual/libiconv
40 + zlib? ( sys-libs/zlib )"
41 +DEPEND="${RDEPEND}"
42 +
43 +PATCHES=(
44 + "${FILESDIR}"/${P}-glib.patch
45 + "${FILESDIR}"/${P}-libgsf.patch
46 +)
47 +
48 +DOCS=( AUTHORS ChangeLog README RELEASE THANKS TODO )
49 +
50 +src_configure() {
51 + # Due to ICU 59 requiring C++11 now
52 + append-cxxflags -std=c++11
53 +
54 + local mycmakeargs=(
55 + -DWITH_ZLIB=$(usex zlib)
56 + )
57 +
58 + cmake_src_configure
59 +}