From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9CDA913828D for ; Thu, 3 Jan 2013 21:35:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C4C721C034; Thu, 3 Jan 2013 21:35:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1A2C21C034 for ; Thu, 3 Jan 2013 21:35:29 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C15133D81A for ; Thu, 3 Jan 2013 21:35:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CD228E5439 for ; Thu, 3 Jan 2013 21:35:26 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1357248888.f5cb9f3f5dc7b3245e93c31ba7f962c8e5bee458.mschiff@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/soprano/ X-VCS-Repository: proj/kde X-VCS-Files: dev-libs/soprano/soprano-2.9.0.ebuild X-VCS-Directories: dev-libs/soprano/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: f5cb9f3f5dc7b3245e93c31ba7f962c8e5bee458 X-VCS-Branch: master Date: Thu, 3 Jan 2013 21:35:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ebe05bdf-d3ed-4521-923d-5562bf58c02c X-Archives-Hash: d5c3ec7ced505367ce264cedb970bac7 commit: f5cb9f3f5dc7b3245e93c31ba7f962c8e5bee458 Author: Marc Schiffbauer gentoo org> AuthorDate: Thu Jan 3 21:34:48 2013 +0000 Commit: Marc Schiffbauer schiffbauer net> CommitDate: Thu Jan 3 21:34:48 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=f5cb9f3f [dev-libs/soprano] Added soprano 2.9.0 --- dev-libs/soprano/soprano-2.9.0.ebuild | 101 +++++++++++++++++++++++++++++++++ 1 files changed, 101 insertions(+), 0 deletions(-) diff --git a/dev-libs/soprano/soprano-2.9.0.ebuild b/dev-libs/soprano/soprano-2.9.0.ebuild new file mode 100644 index 0000000..d68d90d --- /dev/null +++ b/dev-libs/soprano/soprano-2.9.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.8.0.ebuild,v 1.6 2012/11/30 15:11:59 ago Exp $ + +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="+dbus debug doc elibc_FreeBSD +raptor +redland test +virtuoso" + +RESTRICT=test +# bug 281712 + +COMMON_DEPEND=" + >=x11-libs/qt-core-4.5.0:4 + 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.6 ) +" + +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 + -DSOPRANO_DISABLE_CLUCENE_INDEX=ON + $(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 +}