diff options
author | 2016-07-28 22:37:18 +0200 | |
---|---|---|
committer | 2016-07-28 22:39:14 +0200 | |
commit | 666d69ec5ec7a932599c0b585e4726111fd7bb2c (patch) | |
tree | f43d3af7ac0b8976a9e5da4876b4017d136aaec5 /dev-libs/libical | |
parent | app-misc/worker: new version 3.8.3. (diff) | |
download | gentoo-666d69ec5ec7a932599c0b585e4726111fd7bb2c.tar.gz gentoo-666d69ec5ec7a932599c0b585e4726111fd7bb2c.tar.bz2 gentoo-666d69ec5ec7a932599c0b585e4726111fd7bb2c.zip |
dev-libs/libical: Bump subslot
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/libical')
-rw-r--r-- | dev-libs/libical/libical-2.0.0-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libical/libical-2.0.0-r1.ebuild b/dev-libs/libical/libical-2.0.0-r1.ebuild new file mode 100644 index 000000000000..d36ab3affc00 --- /dev/null +++ b/dev-libs/libical/libical-2.0.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils + +DESCRIPTION="An implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( MPL-1.0 LGPL-2.1 )" +SLOT="0/2" +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" +IUSE="doc examples static-libs" + +# The GOBJECT_INTROSPECTION build is broken, and upstream has given up +# on it at the moment (it's disabled in Travis). It will probably come +# back in v2.0.1 or later. +#RDEPEND="introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + dev-lang/perl" + +DOCS=( + AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents,UsingLibical}.txt +) + +PATCHES=( "${FILESDIR}/fix-libdir-location.patch" ) + +src_configure() { + # See above, introspection is disabled for v2.0.0 at least. + #local mycmakeargs=( + # -DGOBJECT_INTROSPECTION=$(usex introspection true false) + #) + use static-libs || mycmakeargs+=( -DSHARED_ONLY=ON ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use examples; then + rm examples/CMakeLists.txt || die + dodoc -r examples + fi +} |