diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-10-15 18:54:18 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-10-15 18:54:18 +0000 |
commit | 65afb3a34e21dfb35e2f17b2b5dbf5fba3d5ccd0 (patch) | |
tree | 4ff01c3363ed78312cb6c8dae28d4e81c34ab33a /dev-libs | |
parent | Remove mask on raptor, should be fine now (diff) | |
download | gentoo-2-65afb3a34e21dfb35e2f17b2b5dbf5fba3d5ccd0.tar.gz gentoo-2-65afb3a34e21dfb35e2f17b2b5dbf5fba3d5ccd0.tar.bz2 gentoo-2-65afb3a34e21dfb35e2f17b2b5dbf5fba3d5ccd0.zip |
Version bump.
(Portage version: 2.2_rc91/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/soprano/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/soprano/soprano-2.5.2.ebuild | 100 |
2 files changed, 107 insertions, 1 deletions
diff --git a/dev-libs/soprano/ChangeLog b/dev-libs/soprano/ChangeLog index 2c210a4262e0..a3b1c79df2a3 100644 --- a/dev-libs/soprano/ChangeLog +++ b/dev-libs/soprano/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/soprano # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.60 2010/09/30 21:18:10 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.61 2010/10/15 18:54:18 scarabeus Exp $ + +*soprano-2.5.2 (15 Oct 2010) + + 15 Oct 2010; Tomáš Chvátal <scarabeus@gentoo.org> + +soprano-2.5.2.ebuild: + Version bump. 30 Sep 2010; Brent Baude <ranger@gentoo.org> soprano-2.4.4.ebuild: stable ppc64, bug 331761 diff --git a/dev-libs/soprano/soprano-2.5.2.ebuild b/dev-libs/soprano/soprano-2.5.2.ebuild new file mode 100644 index 000000000000..da3e41efe3f7 --- /dev/null +++ b/dev-libs/soprano/soprano-2.5.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.5.2.ebuild,v 1.1 2010/10/15 18:54:18 scarabeus Exp $ + +EAPI="2" + +JAVA_PKG_OPT_USE="java" +inherit base java-pkg-opt-2 cmake-utils flag-o-matic + +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="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +SLOT="0" +IUSE="clucene +dbus debug doc elibc_FreeBSD java +raptor +redland test +virtuoso" + +RESTRICT="test" #331761 + +COMMON_DEPEND=" + >=x11-libs/qt-core-4.5.0:4 + clucene? ( dev-cpp/clucene ) + dbus? ( >=x11-libs/qt-dbus-4.5.0:4 ) + raptor? ( >=media-libs/raptor-1.4.16 + <media-libs/raptor-1.9.0 ) + redland? ( + >=dev-libs/rasqal-0.9.15 + >=dev-libs/redland-1.0.10 + ) + java? ( >=virtual/jdk-1.6.0 ) + virtuoso? ( dev-db/libiodbc:0 ) +" +DEPEND="${COMMON_DEPEND} + doc? ( app-doc/doxygen ) + test? ( >=x11-libs/qt-test-4.5.0:4 ) +" +RDEPEND="${COMMON_DEPEND} + virtuoso? ( >=dev-db/virtuoso-server-6.1.0 ) +" + +CMAKE_IN_SOURCE_BUILD="1" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake" +) + +pkg_setup() { + java-pkg-opt-2_pkg_setup + + if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then + echo + ewarn "WARNING! This is an experimental ebuild of ${PN} SVN tree. Use at your own risk." + ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" + echo + fi + + if ! use java && ! use virtuoso; then + if ! use redland; then + echo + ewarn "You have explicitly disabled the default soprano backend and haven't chosen" + ewarn "a different one. Applications using soprano may need at least one backend" + ewarn "to be functional. If you experience any problems, enable any of those USE" + ewarn "flags:" + ewarn "java (deprecated), redland, virtuoso (recommended)" + echo + else + echo + ewarn "You selected redland as the only backend for soprano." + ewarn "Be advised that it's known to be broken (bug #275326)." + echo + fi + 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-flags -pthread + + 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_RAPTOR_SERIALIZER) + $(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND) + $(cmake-utils_use !java SOPRANO_DISABLE_SESAME2_BACKEND) + $(cmake-utils_use !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND) + $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS) + $(cmake-utils_use test SOPRANO_BUILD_TESTS) + ) + + cmake-utils_src_configure +} |