Gentoo Archives: gentoo-commits

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