From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SZjMX-0000r5-IV for garchives@archives.gentoo.org; Wed, 30 May 2012 13:54:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47AFAE04EC; Wed, 30 May 2012 13:54:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0AC12E04AB for ; Wed, 30 May 2012 13:54:38 +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 40E7D1B402A for ; Wed, 30 May 2012 13:54:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 02A48E5428 for ; Wed, 30 May 2012 13:54:37 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1338385697.dd6710fe5269ce1546e0d8b6dc6ebc1611f783bd.johu@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.7.56.ebuild X-VCS-Directories: dev-libs/soprano/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: dd6710fe5269ce1546e0d8b6dc6ebc1611f783bd X-VCS-Branch: master Date: Wed, 30 May 2012 13:54:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e7d7e061-b9a1-4c5d-b6a5-b22babe3b0d5 X-Archives-Hash: d65266393deda42651cc885e0b3f87a9 commit: dd6710fe5269ce1546e0d8b6dc6ebc1611f783bd Author: Johannes Huber gentoo org> AuthorDate: Wed May 30 13:48:17 2012 +0000 Commit: Johannes Huber gentoo org> CommitDate: Wed May 30 13:48:17 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Ddd6710fe [dev-libs/soprano] Version bump. (Portage version: 2.2.0_alpha108/git/Linux x86_64, unsigned Manifest comm= it) --- dev-libs/soprano/soprano-2.7.56.ebuild | 103 ++++++++++++++++++++++++++= ++++++ 1 files changed, 103 insertions(+), 0 deletions(-) diff --git a/dev-libs/soprano/soprano-2.7.56.ebuild b/dev-libs/soprano/so= prano-2.7.56.ebuild new file mode 100644 index 0000000..b5583ab --- /dev/null +++ b/dev-libs/soprano/soprano-2.7.56.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +if [[ ${PV} =3D=3D *9999* ]]; then + git_eclass=3D"git-2" + EGIT_REPO_URI=3D"git://anongit.kde.org/soprano" + KEYWORDS=3D"" +else + SRC_URI=3D"mirror://sourceforge/${PN}/${P}.tar.bz2" + KEYWORDS=3D"~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-l= inux ~x86-linux" +fi + +inherit base cmake-utils flag-o-matic ${git_eclass} + +DESCRIPTION=3D"Library that provides a nice Qt interface to RDF storage = solutions" +HOMEPAGE=3D"http://sourceforge.net/projects/soprano" + +LICENSE=3D"LGPL-2" +SLOT=3D"0" +IUSE=3D"clucene +dbus debug doc elibc_FreeBSD +raptor +redland test +vir= tuoso" + +RESTRICT=3Dtest +# bug 281712 + +COMMON_DEPEND=3D" + >=3Dx11-libs/qt-core-4.5.0:4 + clucene? ( dev-cpp/clucene ) + dbus? ( >=3Dx11-libs/qt-dbus-4.5.0:4 ) + raptor? ( >=3Dmedia-libs/raptor-2.0.4:2 ) + redland? ( + >=3Ddev-libs/rasqal-0.9.26 + >=3Ddev-libs/redland-1.0.14 + ) + virtuoso? ( dev-db/libiodbc:0 ) +" +DEPEND=3D"${COMMON_DEPEND} + doc? ( app-doc/doxygen ) + test? ( >=3Dx11-libs/qt-test-4.5.0:4 ) +" +RDEPEND=3D"${COMMON_DEPEND} + virtuoso? ( >=3Ddev-db/virtuoso-server-6.1.0 ) +" +S=3D${WORKDIR}/${P}-beta1 + +CMAKE_IN_SOURCE_BUILD=3D"1" + +PATCHES=3D( + "${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake" +) + +pkg_setup() { + if [[ ${PV} =3D *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 provid= ed. + use elibc_FreeBSD && append-flags -pthread + + local mycmakeargs=3D( + -DSOPRANO_BUILD_TESTS=3DOFF + -DCMAKE_SKIP_RPATH=3DOFF + -DSOPRANO_DISABLE_SESAME2_BACKEND=3DON + $(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 +}