Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/soprano: soprano-2.8.0.ebuild ChangeLog
Date: Wed, 01 Aug 2012 19:52:45
Message-Id: 20120801195235.78F402004B@flycatcher.gentoo.org
1 johu 12/08/01 19:52:35
2
3 Modified: ChangeLog
4 Added: soprano-2.8.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.94 dev-libs/soprano/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 10 Jun 2012 10:56:04 -0000 1.93
24 +++ ChangeLog 1 Aug 2012 19:52:35 -0000 1.94
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/soprano
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.93 2012/06/10 10:56:04 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.94 2012/08/01 19:52:35 johu Exp $
30 +
31 +*soprano-2.8.0 (01 Aug 2012)
32 +
33 + 01 Aug 2012; Johannes Huber <johu@g.o> +soprano-2.8.0.ebuild:
34 + Version bump.
35
36 10 Jun 2012; Tomáš Chvátal <scarabeus@g.o> -soprano-2.7.4.ebuild,
37 -soprano-2.7.5.ebuild, soprano-2.7.6.ebuild:
38 @@ -395,4 +400,3 @@
39 13 Jan 2008; Wulf C. Krueger <philantrop@g.o> +metadata.xml,
40 +soprano-2.0.0.ebuild:
41 Initial import to the tree as per bug 205646.
42 -
43
44
45
46 1.1 dev-libs/soprano/soprano-2.8.0.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.8.0.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.8.0.ebuild?rev=1.1&content-type=text/plain
50
51 Index: soprano-2.8.0.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.8.0.ebuild,v 1.1 2012/08/01 19:52:35 johu Exp $
56
57 EAPI=4
58
59 if [[ ${PV} == *9999* ]]; then
60 git_eclass="git-2"
61 EGIT_REPO_URI="git://anongit.kde.org/soprano"
62 KEYWORDS=""
63 else
64 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
66 fi
67
68 inherit base cmake-utils flag-o-matic ${git_eclass}
69
70 DESCRIPTION="Library that provides a nice Qt interface to RDF storage solutions"
71 HOMEPAGE="http://sourceforge.net/projects/soprano"
72
73 LICENSE="LGPL-2"
74 SLOT="0"
75 IUSE="clucene +dbus debug doc elibc_FreeBSD +raptor +redland test +virtuoso"
76
77 RESTRICT=test
78 # bug 281712
79
80 COMMON_DEPEND="
81 >=x11-libs/qt-core-4.5.0:4
82 clucene? ( dev-cpp/clucene )
83 dbus? ( >=x11-libs/qt-dbus-4.5.0:4 )
84 raptor? ( >=media-libs/raptor-2.0.4:2 )
85 redland? (
86 >=dev-libs/rasqal-0.9.26
87 >=dev-libs/redland-1.0.14
88 )
89 virtuoso? ( dev-db/libiodbc:0 )
90 "
91 DEPEND="${COMMON_DEPEND}
92 doc? ( app-doc/doxygen )
93 test? ( >=x11-libs/qt-test-4.5.0:4 )
94 "
95 RDEPEND="${COMMON_DEPEND}
96 virtuoso? ( >=dev-db/virtuoso-server-6.1.0 )
97 "
98
99 CMAKE_IN_SOURCE_BUILD="1"
100
101 PATCHES=(
102 "${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake"
103 )
104
105 pkg_setup() {
106 if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then
107 echo
108 ewarn "WARNING! This is an experimental ebuild of ${PN} Git tree. Use at your own risk."
109 ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
110 echo
111 fi
112
113 if ! use virtuoso; then
114 echo
115 ewarn "You have explicitly disabled the default soprano backend."
116 ewarn "Applications using soprano may need at least one backend"
117 ewarn "to be functional. If you experience any problems, enable"
118 ewarn "the virtuoso USE flag."
119 echo
120 fi
121 }
122
123 src_configure() {
124 # Fix for missing pthread.h linking
125 # NOTE: temporarily fix until a better cmake files patch will be provided.
126 use elibc_FreeBSD && append-flags -pthread
127
128 local mycmakeargs=(
129 -DSOPRANO_BUILD_TESTS=OFF
130 -DCMAKE_SKIP_RPATH=OFF
131 -DSOPRANO_DISABLE_SESAME2_BACKEND=ON
132 $(cmake-utils_use !clucene SOPRANO_DISABLE_CLUCENE_INDEX)
133 $(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS)
134 $(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER)
135 $(cmake-utils_use !redland SOPRANO_DISABLE_RAPTOR_SERIALIZER)
136 $(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND)
137 $(cmake-utils_use !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND)
138 $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS)
139 $(cmake-utils_use test SOPRANO_BUILD_TESTS)
140 )
141
142 cmake-utils_src_configure
143 }
144
145 src_install() {
146 cmake-utils_src_install
147
148 dodoc AUTHORS ChangeLog README TODO
149 newdoc backends/virtuoso/README README.virtuoso
150 newdoc backends/sesame2/README README.sesame2
151 if use doc ; then
152 dohtml -r docs/html/
153 fi
154 }