1 |
commit: 1c6e0593af245703205da5109eb46721cc0e542a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 17 16:15:09 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 18 18:13:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6e0593 |
7 |
|
8 |
dev-libs/libical: 3.0.6 version bump, add USE introspection,vala |
9 |
|
10 |
Merge USE glib into introspection. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/689434 |
13 |
Closes: https://bugs.gentoo.org/694588 |
14 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
dev-libs/libical/Manifest | 1 + |
18 |
dev-libs/libical/libical-3.0.6.ebuild | 94 +++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 95 insertions(+) |
20 |
|
21 |
diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest |
22 |
index d9c3d48177c..370e00b64ca 100644 |
23 |
--- a/dev-libs/libical/Manifest |
24 |
+++ b/dev-libs/libical/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST libical-3.0.5.tar.gz 881800 BLAKE2B 64f95950cc6f128c9ea475129e54d9c58b26d9866f8183762d34c996934a1b2bcc528c47442357a12fb6444831caa8f39772a6810d81f8c0b6596fd724f0de6c SHA512 9bf24b535864f66ea0b8d52d902d15fbfd20efbc480b5188ecd1b3d4aafdba063219763f99a8c30413964f7a024c7a902bade6bc40224bc59a438e672f65d656 |
27 |
+DIST libical-3.0.6.tar.gz 879939 BLAKE2B 365e16cd7011df7e9e8bcf011035aeeb904a511c5a0ff76cde5b559a7c56049646108d1c2b499cd044e2784aef7bb1370ee3dbf88c24b745a349a0ee7c312157 SHA512 d1a3397071c2989983893e3bbaeb088f7cb9a3639dca39709e9422c334dd1e9a869bba9292a250f83eb2a5b6727bd91b73c8e420bd1814422d97aff9fc6b26fc |
28 |
|
29 |
diff --git a/dev-libs/libical/libical-3.0.6.ebuild b/dev-libs/libical/libical-3.0.6.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..04ea480f906 |
32 |
--- /dev/null |
33 |
+++ b/dev-libs/libical/libical-3.0.6.ebuild |
34 |
@@ -0,0 +1,94 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
41 |
+inherit cmake-utils python-any-r1 vala |
42 |
+ |
43 |
+DESCRIPTION="An implementation of basic iCAL protocols" |
44 |
+HOMEPAGE="https://github.com/libical/libical" |
45 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="|| ( MPL-2.0 LGPL-2.1 )" |
48 |
+SLOT="0/3" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
50 |
+IUSE="berkdb doc examples introspection static-libs test vala" |
51 |
+REQUIRED_USE="vala? ( introspection )" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ dev-lang/perl |
55 |
+ virtual/pkgconfig |
56 |
+ doc? ( app-doc/doxygen ) |
57 |
+ test? ( ${PYTHON_DEPS} ) |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ dev-libs/icu:= |
61 |
+ berkdb? ( sys-libs/db:= ) |
62 |
+ introspection? ( |
63 |
+ dev-libs/glib:2 |
64 |
+ dev-libs/gobject-introspection:= |
65 |
+ dev-libs/libxml2:2 |
66 |
+ ) |
67 |
+ vala? ( $(vala_depend) ) |
68 |
+" |
69 |
+RDEPEND="${DEPEND} |
70 |
+ sys-libs/timezone-data |
71 |
+" |
72 |
+ |
73 |
+DOCS=( |
74 |
+ AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO |
75 |
+ doc/{AddingOrModifyingComponents,UsingLibical}.txt |
76 |
+) |
77 |
+ |
78 |
+PATCHES=( |
79 |
+ "${FILESDIR}/${PN}-3.0.4-tests.patch" |
80 |
+ "${FILESDIR}/${PN}-3.0.5-pkgconfig-libdir.patch" |
81 |
+) |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ use test && python-any-r1_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ cmake-utils_src_prepare |
89 |
+ use examples || cmake_comment_add_subdirectory examples |
90 |
+ use vala && vala_src_prepare |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ local mycmakeargs=( |
95 |
+ $(cmake-utils_use_find_package berkdb BDB) |
96 |
+ -DICAL_BUILD_DOCS=$(usex doc) |
97 |
+ -DICAL_GLIB=$(usex introspection) |
98 |
+ -DGOBJECT_INTROSPECTION=$(usex introspection) |
99 |
+ -DSHARED_ONLY=$(usex !static-libs) |
100 |
+ -DLIBICAL_BUILD_TESTING=$(usex test) |
101 |
+ -DICAL_GLIB_VAPI=$(usex vala) |
102 |
+ ) |
103 |
+ cmake-utils_src_configure |
104 |
+} |
105 |
+ |
106 |
+src_compile() { |
107 |
+ cmake-utils_src_compile |
108 |
+ use doc && cmake-utils_src_compile docs |
109 |
+} |
110 |
+ |
111 |
+src_test() { |
112 |
+ local myctestargs=( |
113 |
+ -E "(icalrecurtest|icalrecurtest-r)" # bug 660282 |
114 |
+ ) |
115 |
+ |
116 |
+ cmake-utils_src_test |
117 |
+} |
118 |
+ |
119 |
+src_install() { |
120 |
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. ) |
121 |
+ |
122 |
+ cmake-utils_src_install |
123 |
+ |
124 |
+ if use examples; then |
125 |
+ rm examples/CMakeLists.txt || die |
126 |
+ dodoc -r examples |
127 |
+ fi |
128 |
+} |