1 |
commit: 666d69ec5ec7a932599c0b585e4726111fd7bb2c |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 28 20:37:18 2016 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 28 20:39:14 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666d69ec |
7 |
|
8 |
dev-libs/libical: Bump subslot |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-libs/libical/libical-2.0.0-r1.ebuild | 47 ++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 47 insertions(+) |
14 |
|
15 |
diff --git a/dev-libs/libical/libical-2.0.0-r1.ebuild b/dev-libs/libical/libical-2.0.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..d36ab3a |
18 |
--- /dev/null |
19 |
+++ b/dev-libs/libical/libical-2.0.0-r1.ebuild |
20 |
@@ -0,0 +1,47 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+inherit cmake-utils |
27 |
+ |
28 |
+DESCRIPTION="An implementation of basic iCAL protocols" |
29 |
+HOMEPAGE="https://github.com/libical/libical" |
30 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="|| ( MPL-1.0 LGPL-2.1 )" |
33 |
+SLOT="0/2" |
34 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
35 |
+IUSE="doc examples static-libs" |
36 |
+ |
37 |
+# The GOBJECT_INTROSPECTION build is broken, and upstream has given up |
38 |
+# on it at the moment (it's disabled in Travis). It will probably come |
39 |
+# back in v2.0.1 or later. |
40 |
+#RDEPEND="introspection? ( dev-libs/gobject-introspection )" |
41 |
+DEPEND="${RDEPEND} |
42 |
+ dev-lang/perl" |
43 |
+ |
44 |
+DOCS=( |
45 |
+ AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO |
46 |
+ doc/{AddingOrModifyingComponents,UsingLibical}.txt |
47 |
+) |
48 |
+ |
49 |
+PATCHES=( "${FILESDIR}/fix-libdir-location.patch" ) |
50 |
+ |
51 |
+src_configure() { |
52 |
+ # See above, introspection is disabled for v2.0.0 at least. |
53 |
+ #local mycmakeargs=( |
54 |
+ # -DGOBJECT_INTROSPECTION=$(usex introspection true false) |
55 |
+ #) |
56 |
+ use static-libs || mycmakeargs+=( -DSHARED_ONLY=ON ) |
57 |
+ cmake-utils_src_configure |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ cmake-utils_src_install |
62 |
+ |
63 |
+ if use examples; then |
64 |
+ rm examples/CMakeLists.txt || die |
65 |
+ dodoc -r examples |
66 |
+ fi |
67 |
+} |