summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-09-24 17:51:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-09-24 17:51:55 +0000
commit558ab0d0bd6c2da06c2d4056f3ed94c4276c3fce (patch)
treed8af02e471014505db17094e5c3d9500d797ebf4 /dev-libs/soprano
parentmove cdrom_get_cds to src_install (diff)
downloadgentoo-2-558ab0d0bd6c2da06c2d4056f3ed94c4276c3fce.tar.gz
gentoo-2-558ab0d0bd6c2da06c2d4056f3ed94c4276c3fce.tar.bz2
gentoo-2-558ab0d0bd6c2da06c2d4056f3ed94c4276c3fce.zip
Version bump. Remove old.
(Portage version: 2.2_rc41/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/soprano')
-rw-r--r--dev-libs/soprano/ChangeLog8
-rw-r--r--dev-libs/soprano/soprano-2.3.0.ebuild82
-rw-r--r--dev-libs/soprano/soprano-2.3.1.ebuild (renamed from dev-libs/soprano/soprano-2.3.0-r1.ebuild)8
3 files changed, 14 insertions, 84 deletions
diff --git a/dev-libs/soprano/ChangeLog b/dev-libs/soprano/ChangeLog
index 40660a4a9cba..ea45c30d1d2a 100644
--- a/dev-libs/soprano/ChangeLog
+++ b/dev-libs/soprano/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/soprano
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.24 2009/09/12 10:13:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.25 2009/09/24 17:51:55 scarabeus Exp $
+
+*soprano-2.3.1 (24 Sep 2009)
+
+ 24 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ -soprano-2.3.0.ebuild, -soprano-2.3.0-r1.ebuild, +soprano-2.3.1.ebuild:
+ Version bump. Remove old.
12 Sep 2009; Raúl Porcel <armin76@gentoo.org> soprano-2.3.0.ebuild,
soprano-2.3.0-r1.ebuild:
diff --git a/dev-libs/soprano/soprano-2.3.0.ebuild b/dev-libs/soprano/soprano-2.3.0.ebuild
deleted file mode 100644
index 962783793612..000000000000
--- a/dev-libs/soprano/soprano-2.3.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.3.0.ebuild,v 1.2 2009/09/12 10:13:15 armin76 Exp $
-
-EAPI="2"
-
-JAVA_PKG_OPT_USE="java"
-inherit base cmake-utils flag-o-matic java-pkg-opt-2
-
-DESCRIPTION="Library that provides a nice QT interface to RDF storage solutions"
-HOMEPAGE="http://sourceforge.net/projects/soprano"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="LGPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
-SLOT="0"
-IUSE="+clucene +dbus debug doc elibc_FreeBSD java +raptor +redland"
-
-COMMON_DEPEND="
- x11-libs/qt-core:4
- clucene? ( dev-cpp/clucene )
- dbus? ( x11-libs/qt-dbus:4 )
- raptor? ( >=media-libs/raptor-1.4.16 )
- redland? (
- >=dev-libs/rasqal-0.9.15
- >=dev-libs/redland-1.0.6
- )
- java? ( >=virtual/jdk-1.6.0 )
-"
-
-DEPEND="${COMMON_DEPEND}
- doc? ( app-doc/doxygen )
-"
-RDEPEND="${COMMON_DEPEND}
-"
-
-CMAKE_IN_SOURCE_BUILD="1"
-
-pkg_setup() {
- java-pkg-opt-2_pkg_setup
- if ! use redland && ! use java ; then
- ewarn "You explicitly disabled default soprano backend and haven't chosen other one."
- ewarn "Applications using soprano may need at least one backend functional."
- ewarn "If you experience any problems, enable any of those USE flags:"
- ewarn "redland, java"
- fi
-}
-
-src_prepare() {
- base_src_prepare
-}
-
-src_configure() {
- # Fix for missing pthread.h linking
- # NOTE: temporarily fix until a better cmake files patch will be provided.
- use elibc_FreeBSD && append-ldflags "-lpthread"
-
- mycmakeargs="${mycmakeargs}
- -DSOPRANO_BUILD_TESTS=OFF
- -DCMAKE_SKIP_RPATH=OFF
- $(cmake-utils_use !clucene SOPRANO_DISABLE_CLUCENE_INDEX)
- $(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS)
- $(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER)
- $(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND)
- $(cmake-utils_use !java SOPRANO_DISABLE_SESAME2_BACKEND)
- $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS)
- "
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_test() {
- mycmakeargs="${mycmakeargs}
- -DSOPRANO_BUILD_TESTS=ON"
- cmake-utils_src_configure
- cmake-utils_src_compile
- ctest --extra-verbose || die "Tests failed."
-}
diff --git a/dev-libs/soprano/soprano-2.3.0-r1.ebuild b/dev-libs/soprano/soprano-2.3.1.ebuild
index 48ceda5f1d96..7528d8a4323a 100644
--- a/dev-libs/soprano/soprano-2.3.0-r1.ebuild
+++ b/dev-libs/soprano/soprano-2.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.3.0-r1.ebuild,v 1.2 2009/09/12 10:13:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.3.1.ebuild,v 1.1 2009/09/24 17:51:55 scarabeus Exp $
EAPI="2"
@@ -64,6 +64,12 @@ pkg_setup() {
}
src_prepare() {
+ # Temporarily disable raptor serializer automagic
+ if ! use redland; then
+ sed -e '/set(BUILD_RAPTOR_SERIALIZER TRUE)/d' \
+ -i CMakeLists.txt || die "failed to disable raptor serializer"
+ fi
+
base_src_prepare
}