diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto <jmbsvicetto@gentoo.org> | 2008-08-06 02:29:46 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2008-08-06 04:21:34 +0000 |
commit | df4790f7e519dde3581adcb97d2485dee6ec9cf2 (patch) | |
tree | 8cf3bd45b658f64aebde1e126bb57a42e30f4773 /dev-libs | |
parent | Fixed sets.conf. Removed all references to my overlay and replaced with the c... (diff) | |
download | kde-df4790f7e519dde3581adcb97d2485dee6ec9cf2.tar.gz kde-df4790f7e519dde3581adcb97d2485dee6ec9cf2.tar.bz2 kde-df4790f7e519dde3581adcb97d2485dee6ec9cf2.zip |
Added soprano-2.1.
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/soprano/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/soprano/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/soprano/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/soprano/soprano-2.1.ebuild | 77 |
4 files changed, 96 insertions, 0 deletions
diff --git a/dev-libs/soprano/ChangeLog b/dev-libs/soprano/ChangeLog new file mode 100644 index 0000000000..c8eba020e0 --- /dev/null +++ b/dev-libs/soprano/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/soprano +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*soprano-2.1 (06 Aug 2008) + + 06 Aug 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +metadata.xml, +soprano-2.1.ebuild: + Added soprano-2.1. + diff --git a/dev-libs/soprano/Manifest b/dev-libs/soprano/Manifest new file mode 100644 index 0000000000..5f925d1d79 --- /dev/null +++ b/dev-libs/soprano/Manifest @@ -0,0 +1,4 @@ +DIST soprano-2.1.tar.bz2 1831856 RMD160 4a59808d835eb9cc5adf4db99cf19a013f16a6f0 SHA1 167140b06ba0d3dfafa4a53823f9f39ce6a3cb15 SHA256 3ea65dad7104dcc90cf74488ca51fe74c9f878f0fad9c03b026919fda7065f56 +EBUILD soprano-2.1.ebuild 2243 RMD160 0135fe87ac9d8b70a7ca6b043ed0154a5656e8ba SHA1 7ac9df80c7e9963d468809b74290388ee6277e45 SHA256 fe3e4ef9fa1ec1ea3475c40d663acb2c67d673402bbcd903fdf5290ff3eaf661 +MISC ChangeLog 272 RMD160 124e4b1f336a584d08a279fb5e8fcf0780686daa SHA1 b1c7f346e71179696918a1bb9cc29dd675f4c4bd SHA256 14f773f48f319761d3f7ed25489f5ad2eb206861689354911f7ec5e94920fe9f +MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a diff --git a/dev-libs/soprano/metadata.xml b/dev-libs/soprano/metadata.xml new file mode 100644 index 0000000000..8d1e86a9ce --- /dev/null +++ b/dev-libs/soprano/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +</pkgmetadata> diff --git a/dev-libs/soprano/soprano-2.1.ebuild b/dev-libs/soprano/soprano-2.1.ebuild new file mode 100644 index 0000000000..f68a5d0e9e --- /dev/null +++ b/dev-libs/soprano/soprano-2.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2_pre1" + +inherit cmake-utils eutils flag-o-matic + +DESCRIPTION="Soprano is a library which provides a nice QT interface to RDF storage solutions." +HOMEPAGE="http://sourceforge.net/projects/soprano" +SRC_URI="mirror://sourceforge/soprano/soprano-${PV}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+clucene debug doc elibc_FreeBSD +redland sesame2" + +COMMON_DEPEND=" + >=media-libs/raptor-1.4.16 + x11-libs/qt-core:4[debug=] + x11-libs/qt-dbus:4[debug=] + clucene? ( >=dev-cpp/clucene-0.9.19 ) + redland? ( >=dev-libs/rasqal-0.9.15 + >=dev-libs/redland-1.0.6 ) + sesame2? ( >=virtual/jre-1.6.0 )" +DEPEND="${COMMON_DEPEND} + doc? ( app-doc/doxygen )" +RDEPEND="${COMMON_DEPEND}" + +pkg_setup() { + if ! use sesame2 && ! use redland; then + eerror "You need at least one backend." + eerror "Available backends are: sesame, redland" + die "No backend activated." + fi +} + +src_compile() { + # Fix automagic dependencies / linking + if ! use clucene; then + sed -e '/find_package(CLucene)/s/^/#DONOTFIND /' \ + -i "${S}/CMakeLists.txt" || die "Sed for CLucene automagic dependency failed." + fi + + if ! use doc; then + sed -e '/find_package(Doxygen)/s/^/#DONOTFIND /' \ + -i "${S}/CMakeLists.txt" || die "Sed to disable api-docs failed." + fi + + if ! use redland; then + sed -e '/find_package(Redland)/ s:^:#DONOTWANT :' \ + -i "${S}"/CMakeLists.txt || die "Deactivating redland backend failed." + fi + + if ! use sesame2; then + sed -e '/find_package(JNI)/ s:^:#DONOTWANT :' \ + -i "${S}"/CMakeLists.txt || die "Deactivating sesame backend failed." + fi + + sed -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \ + -e '/enable_testing/s/^/#DONOTENABLE /' \ + -i "${S}"/CMakeLists.txt || die "Disabling of ${PN} tests failed." + einfo "Disabled building of ${PN} tests." + + # Fix for missing pthread.h linking + # NOTE: temporarely fix until a better cmake files patch will be provided. + use elibc_FreeBSD && append-ldflags "-lpthread" + + cmake-utils_src_compile +} + +src_test() { + sed -e 's/#NOTESTS//' \ + -i "${S}"/CMakeLists.txt || die "Enabling tests failed." + cmake-utils_src_compile + ctest --extra-verbose || die "Tests failed." +} |