Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libcmis/
Date: Fri, 30 Jun 2017 17:27:10
Message-Id: 1498843583.69767aa0668b59a8afc06cd49feda85e51c7ec2c.asturm@gentoo
1 commit: 69767aa0668b59a8afc06cd49feda85e51c7ec2c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 28 17:31:26 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 30 17:26:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69767aa0
7
8 dev-cpp/libcmis: Drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 dev-cpp/libcmis/libcmis-0.5.2_pre20160820.ebuild | 77 ------------------------
13 1 file changed, 77 deletions(-)
14
15 diff --git a/dev-cpp/libcmis/libcmis-0.5.2_pre20160820.ebuild b/dev-cpp/libcmis/libcmis-0.5.2_pre20160820.ebuild
16 deleted file mode 100644
17 index 54e36f92036..00000000000
18 --- a/dev-cpp/libcmis/libcmis-0.5.2_pre20160820.ebuild
19 +++ /dev/null
20 @@ -1,77 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -
26 -EGIT_REPO_URI="https://github.com/tdf/libcmis.git"
27 -[[ ${PV} == 9999 ]] && SCM_ECLASS="git-r3"
28 -inherit alternatives autotools ${SCM_ECLASS}
29 -unset SCM_ECLASS
30 -
31 -DESCRIPTION="C++ client library for the CMIS interface"
32 -HOMEPAGE="https://github.com/tdf/libcmis"
33 -if [[ ${PV} = *_pre* ]]; then
34 - snapshot=da8c3fdc281a0cb3753a6bb9eaa63ac6385e2963
35 - SRC_URI="https://github.com/tdf/${PN}/archive/${snapshot}.tar.gz -> ${P}.tar.gz"
36 - S="${WORKDIR}/${PN}-${snapshot}"
37 - unset snapshot
38 -elif [[ ${PV} != 9999 ]] ; then
39 - SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 -fi
41 -
42 -LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
43 -SLOT="0.5"
44 -
45 -# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
46 -[[ ${PV} == 9999 ]] || \
47 -KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
48 -
49 -IUSE="static-libs man test"
50 -
51 -COMMON_DEPEND="
52 - dev-libs/boost:=
53 - dev-libs/libxml2
54 - net-misc/curl
55 -"
56 -DEPEND="${COMMON_DEPEND}
57 - virtual/pkgconfig
58 - man? (
59 - app-text/docbook2X
60 - dev-libs/libxslt
61 - )
62 - test? (
63 - dev-util/cppcheck
64 - dev-util/cppunit
65 - )
66 -"
67 -RDEPEND="${COMMON_DEPEND}
68 - !<dev-cpp/libcmis-0.5.0
69 -"
70 -
71 -src_prepare() {
72 - default
73 - [[ ${PV} = *_pre* || ${PV} = 9999 ]] && eautoreconf
74 -}
75 -
76 -src_configure() {
77 - econf \
78 - --program-suffix=-${SLOT} \
79 - --disable-werror \
80 - $(use_with man) \
81 - $(use_enable static-libs static) \
82 - $(use_enable test tests) \
83 - --enable-client
84 -}
85 -
86 -src_install() {
87 - default
88 - find "${D}" -name '*.la' -delete || die
89 -}
90 -
91 -pkg_postinst() {
92 - alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
93 -}
94 -
95 -pkg_postrm() {
96 - alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
97 -}