1 |
tampakrap 10/09/06 02:54:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: soprano-2.5.0.ebuild |
5 |
Log: |
6 |
Fix keywords and restrict tests |
7 |
|
8 |
(Portage version: 2.2_rc75/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 dev-libs/soprano/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 3 Sep 2010 19:30:54 -0000 1.58 |
24 |
+++ ChangeLog 6 Sep 2010 02:54:37 -0000 1.59 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for dev-libs/soprano |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.58 2010/09/03 19:30:54 josejx Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.59 2010/09/06 02:54:37 tampakrap Exp $ |
30 |
+ |
31 |
+ 06 Sep 2010; Theo Chatzimichos <tampakrap@g.o> |
32 |
+ +soprano-2.5.0.ebuild: |
33 |
+ Fix keywords and restrict tests |
34 |
+ |
35 |
+*soprano-2.5.0 (06 Sep 2010) |
36 |
+ |
37 |
+ 06 Sep 2010; Theo Chatzimichos <tampakrap@g.o> |
38 |
+ +soprano-2.5.0.ebuild: |
39 |
+ Version bump |
40 |
|
41 |
03 Sep 2010; Joseph Jezak <josejx@g.o> soprano-2.4.3.ebuild: |
42 |
Marked ppc64 stable for bug #322791. |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-libs/soprano/soprano-2.5.0.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.5.0.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.5.0.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: soprano-2.5.0.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2010 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.5.0.ebuild,v 1.1 2010/09/06 02:54:37 tampakrap Exp $ |
56 |
|
57 |
EAPI="2" |
58 |
|
59 |
JAVA_PKG_OPT_USE="java" |
60 |
inherit base java-pkg-opt-2 cmake-utils flag-o-matic |
61 |
|
62 |
DESCRIPTION="Library that provides a nice Qt interface to RDF storage solutions" |
63 |
HOMEPAGE="http://sourceforge.net/projects/soprano" |
64 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
65 |
|
66 |
LICENSE="LGPL-2" |
67 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
68 |
SLOT="0" |
69 |
IUSE="clucene +dbus debug doc elibc_FreeBSD java +raptor +redland test +virtuoso" |
70 |
|
71 |
RESTRICT="test" #331761 |
72 |
|
73 |
COMMON_DEPEND=" |
74 |
>=x11-libs/qt-core-4.5.0:4 |
75 |
clucene? ( dev-cpp/clucene ) |
76 |
dbus? ( >=x11-libs/qt-dbus-4.5.0:4 ) |
77 |
raptor? ( >=media-libs/raptor-1.4.16 ) |
78 |
redland? ( |
79 |
>=dev-libs/rasqal-0.9.15 |
80 |
>=dev-libs/redland-1.0.10 |
81 |
) |
82 |
java? ( >=virtual/jdk-1.6.0 ) |
83 |
virtuoso? ( dev-db/libiodbc:0 ) |
84 |
" |
85 |
DEPEND="${COMMON_DEPEND} |
86 |
doc? ( app-doc/doxygen ) |
87 |
test? ( >=x11-libs/qt-test-4.5.0:4 ) |
88 |
" |
89 |
RDEPEND="${COMMON_DEPEND} |
90 |
virtuoso? ( >=dev-db/virtuoso-server-6.1.0 ) |
91 |
" |
92 |
|
93 |
CMAKE_IN_SOURCE_BUILD="1" |
94 |
|
95 |
PATCHES=( |
96 |
"${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake" |
97 |
) |
98 |
|
99 |
pkg_setup() { |
100 |
java-pkg-opt-2_pkg_setup |
101 |
|
102 |
if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then |
103 |
echo |
104 |
ewarn "WARNING! This is an experimental ebuild of ${PN} SVN tree. Use at your own risk." |
105 |
ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" |
106 |
echo |
107 |
fi |
108 |
|
109 |
if ! use java && ! use virtuoso; then |
110 |
if ! use redland; then |
111 |
echo |
112 |
ewarn "You have explicitly disabled the default soprano backend and haven't chosen" |
113 |
ewarn "a different one. Applications using soprano may need at least one backend" |
114 |
ewarn "to be functional. If you experience any problems, enable any of those USE" |
115 |
ewarn "flags:" |
116 |
ewarn "java (deprecated), redland, virtuoso (recommended)" |
117 |
echo |
118 |
else |
119 |
echo |
120 |
ewarn "You selected redland as the only backend for soprano." |
121 |
ewarn "Be advised that it's known to be broken (bug #275326)." |
122 |
echo |
123 |
fi |
124 |
fi |
125 |
} |
126 |
|
127 |
src_prepare() { |
128 |
base_src_prepare |
129 |
} |
130 |
|
131 |
src_configure() { |
132 |
# Fix for missing pthread.h linking |
133 |
# NOTE: temporarily fix until a better cmake files patch will be provided. |
134 |
use elibc_FreeBSD && append-flags -pthread |
135 |
|
136 |
mycmakeargs=( |
137 |
-DSOPRANO_BUILD_TESTS=OFF |
138 |
-DCMAKE_SKIP_RPATH=OFF |
139 |
$(cmake-utils_use !clucene SOPRANO_DISABLE_CLUCENE_INDEX) |
140 |
$(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS) |
141 |
$(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER) |
142 |
$(cmake-utils_use !redland SOPRANO_DISABLE_RAPTOR_SERIALIZER) |
143 |
$(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND) |
144 |
$(cmake-utils_use !java SOPRANO_DISABLE_SESAME2_BACKEND) |
145 |
$(cmake-utils_use !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND) |
146 |
$(cmake-utils_use doc SOPRANO_BUILD_API_DOCS) |
147 |
$(cmake-utils_use test SOPRANO_BUILD_TESTS) |
148 |
) |
149 |
|
150 |
cmake-utils_src_configure |
151 |
} |