aboutsummaryrefslogtreecommitdiffstats
path: root/testing/soprano
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 14:17:30 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 14:17:30 -0500
commita8cde52d735728864a8d73b997d632ee1ac87958 (patch)
tree07c53744e2beb0285c248b27c899412516ceb0e8 /testing/soprano
parent5545fdb63c79ddc388f61b3f5ca8f15738bcc18a (diff)
downloadaports-a8cde52d735728864a8d73b997d632ee1ac87958.tar.bz2
aports-a8cde52d735728864a8d73b997d632ee1ac87958.tar.xz
testing/soprano: build redland backend
Diffstat (limited to 'testing/soprano')
-rw-r--r--testing/soprano/APKBUILD13
-rw-r--r--testing/soprano/redland.patch11
2 files changed, 19 insertions, 5 deletions
diff --git a/testing/soprano/APKBUILD b/testing/soprano/APKBUILD
index 8f309afad2..38f1eff6ac 100644
--- a/testing/soprano/APKBUILD
+++ b/testing/soprano/APKBUILD
@@ -8,11 +8,12 @@ url="http://soprano.sourceforge.net/"
arch="all"
license="LGPL"
depends="shared-desktop-ontologies"
-depends_dev="qt-dev libiodbc-dev"
-makedepends="$depends_dev cmake automoc4"
+depends_dev="qt-dev raptor2-dev rasqal-dev redland-dev"
+makedepends="$depends_dev cmake automoc4 doxygen"
install=""
subpackages="$pkgname-dev"
-source="http://sourceforge.net/projects/soprano/files/Soprano/$pkgver/soprano-$pkgver.tar.bz2"
+source="http://sourceforge.net/projects/soprano/files/Soprano/$pkgver/soprano-$pkgver.tar.bz2
+ redland.patch"
_builddir="$srcdir"/soprano-$pkgver
prepare() {
@@ -28,7 +29,8 @@ prepare() {
build() {
cd "$_builddir"/build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON "$_builddir" || return 1
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
+ -DRAPTOR_INCLUDE_DIR=/usr/include/raptor2 "$_builddir" || return 1
make || return 1
}
@@ -37,4 +39,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="03ae49e87c6ec99e57d0433c2650846f soprano-2.6.0.tar.bz2"
+md5sums="03ae49e87c6ec99e57d0433c2650846f soprano-2.6.0.tar.bz2
+0d13b3fd532b7173b9deea47ca89a4b7 redland.patch"
diff --git a/testing/soprano/redland.patch b/testing/soprano/redland.patch
new file mode 100644
index 0000000000..24806db411
--- /dev/null
+++ b/testing/soprano/redland.patch
@@ -0,0 +1,11 @@
+--- soprano-2.6.0.orig/cmake/modules/FindRedland.cmake
++++ soprano-2.6.0/cmake/modules/FindRedland.cmake
+@@ -113,7 +113,7 @@
+ ARGS ${_REDLAND_STORAGE_LIBS}
+ )
+ if(NOT "${_TEST_EXITCODE}" EQUAL 0)
+- set(_REDLAND_VERSION_OK)
++# set(_REDLAND_VERSION_OK)
+ message(STATUS "${_OUTPUT}")
+ message(STATUS "Redland with broken NEEDED section detected, disabling")
+ endif(NOT "${_TEST_EXITCODE}" EQUAL 0)