diff options
author | Andreas K. Huettel (dilfridge) <mail@akhuettel.de> | 2012-06-10 13:47:32 +0200 |
---|---|---|
committer | Andreas K. Huettel (dilfridge) <mail@akhuettel.de> | 2012-06-10 13:47:32 +0200 |
commit | 6f6a326303bb4ed3637d101b77bc1fc1120b2915 (patch) | |
tree | 7b432a9fedd6b1128afb96826a6eddafcd573f9b /dev-libs | |
parent | [kde-base/perlkde] Raise soprano version dependency, bug 420439 (diff) | |
download | kde-6f6a326303bb4ed3637d101b77bc1fc1120b2915.tar.gz kde-6f6a326303bb4ed3637d101b77bc1fc1120b2915.tar.bz2 kde-6f6a326303bb4ed3637d101b77bc1fc1120b2915.zip |
[dev-libs/soprano] Version bump
(Portage version: 2.2.0_alpha110/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/soprano/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/soprano/soprano-2.7.57.ebuild | 102 |
2 files changed, 103 insertions, 0 deletions
diff --git a/dev-libs/soprano/Manifest b/dev-libs/soprano/Manifest index 0f414cf170..8ff88eb155 100644 --- a/dev-libs/soprano/Manifest +++ b/dev-libs/soprano/Manifest @@ -1 +1,2 @@ DIST soprano-2.7.56.tar.bz2 1957089 SHA256 6dbc03cef259c7c49744cb9f1afe68a8ffb50c6bf81a144c4b6496e35d07d9eb SHA512 2e23e89fc90a800bee8bc08ef4166a7f4621c56a4fe414ab64610cb6497cbb65e565668e75dbee31f941a12c5f7b5cd34e7704088692d1f34df516f6badce172 WHIRLPOOL 09df8585e039d0aa9febe6c3e20f0ce8eab4a02ce349fc524d00b65b4eeb414db0045d118f135e4ce8709f64f49a22bf6399e590c0166ba0d38241467e82a2cc +DIST soprano-2.7.57.tar.bz2 1956974 SHA256 3f27eb55f82ecafbd5797fbf440e38090f155292ec3eb7e729d40212365ae0ea SHA512 695a4661b8a1cd3c0e404e53dd241104374898e7f60e09009dd705b4191b4faabe4d90198104caa1109742c28cecb138f816916ea6fedc99401d9497835c5a4d WHIRLPOOL c78c49effa66e93fc447c95725cc0b5c470266bd1d8c940d3f15ee4e6a3c539341df4387f6cbf36c81d49fdc55f8dfeaf66e346569c1f0e4cc171ad923efcfa0 diff --git a/dev-libs/soprano/soprano-2.7.57.ebuild b/dev-libs/soprano/soprano-2.7.57.ebuild new file mode 100644 index 0000000000..5a5dfed7d2 --- /dev/null +++ b/dev-libs/soprano/soprano-2.7.57.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +if [[ ${PV} == *9999* ]]; then + git_eclass="git-2" + EGIT_REPO_URI="git://anongit.kde.org/soprano" + KEYWORDS="" +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +fi + +inherit base cmake-utils flag-o-matic ${git_eclass} + +DESCRIPTION="Library that provides a nice Qt interface to RDF storage solutions" +HOMEPAGE="http://sourceforge.net/projects/soprano" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="clucene +dbus debug doc elibc_FreeBSD +raptor +redland test +virtuoso" + +RESTRICT=test +# bug 281712 + +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-2.0.4:2 ) + redland? ( + >=dev-libs/rasqal-0.9.26 + >=dev-libs/redland-1.0.14 + ) + 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() { + if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then + echo + ewarn "WARNING! This is an experimental ebuild of ${PN} Git tree. Use at your own risk." + ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" + echo + fi + + if ! use virtuoso; then + echo + ewarn "You have explicitly disabled the default soprano backend." + ewarn "Applications using soprano may need at least one backend" + ewarn "to be functional. If you experience any problems, enable" + ewarn "the virtuoso USE flag." + echo + fi +} + +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 + + local mycmakeargs=( + -DSOPRANO_BUILD_TESTS=OFF + -DCMAKE_SKIP_RPATH=OFF + -DSOPRANO_DISABLE_SESAME2_BACKEND=ON + $(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 !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND) + $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS) + $(cmake-utils_use test SOPRANO_BUILD_TESTS) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + dodoc AUTHORS ChangeLog README TODO + newdoc backends/virtuoso/README README.virtuoso + newdoc backends/sesame2/README README.sesame2 + if use doc ; then + dohtml -r docs/html/ + fi +} |