From 1b4056f3265130f2b7130a610307e2f8eb5174c6 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 5 Mar 2016 22:14:51 +0100 Subject: dev-cpp/libcmis: 0.5.1 version bump Package-Manager: portage-2.2.27 --- dev-cpp/libcmis/Manifest | 1 + dev-cpp/libcmis/libcmis-0.5.1.ebuild | 75 ++++++++++++++++++++++++++++++++++++ dev-cpp/libcmis/libcmis-9999.ebuild | 6 +-- dev-cpp/libcmis/metadata.xml | 2 +- 4 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 dev-cpp/libcmis/libcmis-0.5.1.ebuild (limited to 'dev-cpp/libcmis') diff --git a/dev-cpp/libcmis/Manifest b/dev-cpp/libcmis/Manifest index cb665989b82d..52162669e9e4 100644 --- a/dev-cpp/libcmis/Manifest +++ b/dev-cpp/libcmis/Manifest @@ -1,2 +1,3 @@ DIST libcmis-0.5.0-gcc5.patch.gz 12452 SHA256 523763acda1de64bb40761fae1ce1b089756fba1bb0390587d6491b75ffafbea SHA512 75423caf195d9b6f2c0752f08fd9950ff1dac67884f7445da2389fb24ad13c2c29fbf73f29f6f60b1b440ad261c32697edf3a2ee9aba779630d40afdbf5d5495 WHIRLPOOL 5cbc92051da8dc99b6d575f13c6d3c853668dd1ce169e0f215f2d20cbaf1d77408d9af0844be5e04c1308e840110a0e5dd49ee86f0207bbead7361962c830cdb DIST libcmis-0.5.0.tar.gz 738119 SHA256 a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6 SHA512 abfdf5654ef8763c9744587ba831acea93cc0ba7deaa8d807eed2e9077be848db0334430f7c2d6eecefeb90f520abbe81364a86790c0aa4363724816aec4793b WHIRLPOOL 03041a0eb4af8fb515082731c4737f7c153756073464785994c431f54b27130b8407459efb5bcb4a26689a0baa1f5014e48cfa334948fb7d90fe646d5f8f0a02 +DIST libcmis-0.5.1.tar.gz 281863 SHA256 b88851b5e7dfa65b840d403231b38868ba77dae1e7abf2628d7a0dc3cd5a1409 SHA512 fb934c416b8a41714a5424375de507698992a0b014aa52a82a07dde07cba2ffe68a45ed97cfd0aa72b4a28f3697252ea1570a80ef9fa1b2a34af0a9ed865a752 WHIRLPOOL 4e154a417e98bd7e36fa5a4ad65b969e7c6661b6fbd33dc642a5430bda02e218e985b0b50d67f8fd811896c1a40fd4d3b78ae793d6620d8d5f4e92dd013d70d2 diff --git a/dev-cpp/libcmis/libcmis-0.5.1.ebuild b/dev-cpp/libcmis/libcmis-0.5.1.ebuild new file mode 100644 index 000000000000..854d1a07f7f8 --- /dev/null +++ b/dev-cpp/libcmis/libcmis-0.5.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +EGIT_REPO_URI="https://github.com/tdf/libcmis.git" +[[ ${PV} == 9999 ]] && SCM_ECLASS="git-r3" +inherit eutils alternatives autotools ${SCM_ECLASS} +unset SCM_ECLASS + +DESCRIPTION="C++ client library for the CMIS interface" +HOMEPAGE="https://github.com/tdf/libcmis" +[[ ${PV} == 9999 ]] || SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )" +SLOT="0.5" + +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + +IUSE="static-libs man test" + +COMMON_DEPEND=" + dev-libs/boost:= + dev-libs/libxml2 + net-misc/curl +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + man? ( + app-text/docbook2X + dev-libs/libxslt + ) + test? ( + dev-util/cppcheck + dev-util/cppunit + ) +" +RDEPEND="${COMMON_DEPEND} + !dev-cpp/libcmis:0 + !dev-cpp/libcmis:0.2 + !dev-cpp/libcmis:0.3 + !dev-cpp/libcmis:0.4 +" + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --program-suffix=-${SLOT} \ + --disable-werror \ + $(use_with man) \ + $(use_enable static-libs static) \ + $(use_enable test tests) \ + --enable-client +} + +src_install() { + default + prune_libtool_files --all +} + +pkg_postinst() { + alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]" +} + +pkg_postrm() { + alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]" +} diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild index c2086115172d..cf54088f06bc 100644 --- a/dev-cpp/libcmis/libcmis-9999.ebuild +++ b/dev-cpp/libcmis/libcmis-9999.ebuild @@ -4,14 +4,14 @@ EAPI=6 -EGIT_REPO_URI="git://git.code.sf.net/p/libcmis/code" +EGIT_REPO_URI="https://github.com/tdf/libcmis.git" [[ ${PV} == 9999 ]] && SCM_ECLASS="git-r3" inherit eutils alternatives autotools ${SCM_ECLASS} unset SCM_ECLASS DESCRIPTION="C++ client library for the CMIS interface" -HOMEPAGE="https://sourceforge.net/projects/libcmis/" -[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="https://github.com/tdf/libcmis" +[[ ${PV} == 9999 ]] || SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )" SLOT="0.5" diff --git a/dev-cpp/libcmis/metadata.xml b/dev-cpp/libcmis/metadata.xml index d2e051d9e747..afb9c075be7a 100644 --- a/dev-cpp/libcmis/metadata.xml +++ b/dev-cpp/libcmis/metadata.xml @@ -9,6 +9,6 @@ Build and install man pages. - libcmis + tdf/libcmis -- cgit v1.2.3-65-gdbad