1 |
commit: 7bbf29d2489165c9e56462efc3ac28b44953e051 |
2 |
Author: Donny <mail <AT> donny <DOT> nyc> |
3 |
AuthorDate: Tue Sep 7 10:14:35 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 10:19:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bbf29d2 |
7 |
|
8 |
dev-util/cppunit: revbump 1.15.1-r2 to 1.15.1-r3 |
9 |
|
10 |
bumps EAPI to 8 |
11 |
resets all KEYWORDS to ~ |
12 |
takes out all -9999 parts |
13 |
drops useless DEPEND |
14 |
|
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
dev-util/cppunit/cppunit-1.15.1-r3.ebuild | 63 +++++++++++++++++++++++++++++++ |
18 |
1 file changed, 63 insertions(+) |
19 |
|
20 |
diff --git a/dev-util/cppunit/cppunit-1.15.1-r3.ebuild b/dev-util/cppunit/cppunit-1.15.1-r3.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..757d488d23d |
23 |
--- /dev/null |
24 |
+++ b/dev-util/cppunit/cppunit-1.15.1-r3.ebuild |
25 |
@@ -0,0 +1,63 @@ |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=8 |
30 |
+ |
31 |
+inherit flag-o-matic multilib-minimal |
32 |
+ |
33 |
+DESCRIPTION="C++ port of the famous JUnit framework for unit testing" |
34 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit" |
35 |
+ |
36 |
+SRC_URI="https://dev-www.libreoffice.org/src/${P}.tar.gz" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
38 |
+ |
39 |
+LICENSE="LGPL-2.1" |
40 |
+SLOT="0/1.15" |
41 |
+IUSE="doc examples static-libs" |
42 |
+ |
43 |
+BDEPEND=" |
44 |
+ doc? ( |
45 |
+ app-doc/doxygen[dot] |
46 |
+ media-gfx/graphviz |
47 |
+ ) |
48 |
+" |
49 |
+ |
50 |
+DOCS=( AUTHORS BUGS NEWS README THANKS TODO ChangeLog doc/FAQ ) |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ # Anything else than -O0 breaks on alpha |
58 |
+ use alpha && replace-flags "-O?" -O0 |
59 |
+ |
60 |
+ multilib-minimal_src_configure |
61 |
+} |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ local myeconfargs=( |
65 |
+ --disable-werror |
66 |
+ $(multilib_native_use_enable doc dot) |
67 |
+ $(multilib_native_use_enable doc doxygen) |
68 |
+ $(use_enable static-libs static) |
69 |
+ ) |
70 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
71 |
+} |
72 |
+ |
73 |
+multilib_src_install_all() { |
74 |
+ if use doc ; then |
75 |
+ mv "${ED}"/usr/share/${PN}/html "${ED}"/usr/share/doc/${PF} \ |
76 |
+ || die |
77 |
+ rm -r "${ED}"/usr/share/${PN} || die |
78 |
+ fi |
79 |
+ einstalldocs |
80 |
+ |
81 |
+ find "${ED}" -name '*.la' -delete || die |
82 |
+ |
83 |
+ if use examples ; then |
84 |
+ find examples -iname "*.o" -delete |
85 |
+ insinto /usr/share/${PN} |
86 |
+ doins -r examples |
87 |
+ fi |
88 |
+} |