Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5ff1035b51ef71c0c7bcd633aea9404907b8bf08

commit 5ff1035b51ef71c0c7bcd633aea9404907b8bf08
Author: crazy <cr...@frugalware.org>
Date:   Sun Feb 14 20:30:23 2010 +0100

soprano-2.4.0.1-1-x86_64
* Version bump
* al backends are split now ..
* finally with this bug #4102 should be closed

diff --git a/source/apps/soprano/FrugalBuild b/source/apps/soprano/FrugalBuild
index c4688d1..97e0b1b 100644
--- a/source/apps/soprano/FrugalBuild
+++ b/source/apps/soprano/FrugalBuild
@@ -2,41 +2,74 @@
# Maintainer: crazy <cr...@frugalware.org>

pkgname=soprano
-pkgver=2.3.70
-pkgrel=2
+pkgver=2.4.0.1
+pkgrel=1
pkgdesc="RDF storage, parsing, and serialization framework"
_F_sourceforge_ext=".tar.bz2"
-Finclude sourceforge cmake java
+makedepends=('libgcj-awt' 'libqtgui') ## what for GUI ?
+Finclude sourceforge kde java
if [ "$CARCH" == "ppc" ]; then
unset depends makedepends
fi
-depends=('libqtnetwork>=4.4.0' 'qt4-qdbus>=4.4.0' 'clucene' 'librdf' 
'libqttest>=4.4.0')
+depends=("libqtnetwork>=$_F_kde_qtver" "libqtdbus>=$_F_kde_qtver" 'libgcc' 
'clucene>=0.9.21b' 'raptor')
groups=('apps')
archs=('i686' 'x86_64' 'ppc')
options=('scriptlet')
source=($source gcj.patch)
-sha1sums=('2f730b384237ec9096e2dbc16073e085833f5db4' \
+sha1sums=('8455e16533ee6352594da5d5252d267fda75f4db' \
'bee03fc02b4c6be0f6212c09f39786e99ae52205')
-## TODO: Split

-subpkgs=("$pkgname-sesame2")
-subdescs=('Sesame2 storage backend (java-based)')
-subdepends=('libgcj-awt')
-subrodepends=("$pkgname=$pkgver")
-subgroups=('xapps-extra')
-subarchs=('i686 x86_64')
+subpkgs=("${subpk...@]}" "$pkgname-backend-sesame2")
+subdescs=("${subdes...@]}" "Sesame2 storage Backend (java-based)")
+subdepends=("${subdepen...@]}" "libgcj libqtcore>=$_F_kde_qtver libgcc")
+subrodepends=("${subrodepen...@]}" "$pkgname=$pkgver")
+subgroups=("${subgrou...@]}" 'apps')
+subprovides=("${subprovid...@]}" "$pkgname-sesame2")
+subconflicts=("${subconflic...@]}" "$pkgname-sesame2")
+subreplaces=("${subreplac...@]}" "$pkgname-sesame2")
+subarchs=("${subarc...@]}" 'i686 x86_64 !ppc')
+
+subpkgs=("${subpk...@]}" "$pkgname-backend-redland")
+subdescs=("${subdes...@]}" "Redland storage Backend")
+subdepends=("${subdepen...@]}" "libqtcore>=$_F_kde_qtver librdf libgcc mpfr 
curl libxslt libtool")
+subrodepends=("${subrodepen...@]}" "$pkgname=$pkgver")
+subprovides=("${subprovid...@]}" "")
+subconflicts=("${subconflic...@]}" "")
+subreplaces=("${subreplac...@]}" "")
+subgroups=("${subgrou...@]}" 'apps')
+subarchs=("${subarc...@]}" 'i686 x86_64 ppc')
+
+## Sadly for KDE 4.3.5 we have to do that :|
+rodepends=("${rodepen...@]}" "${subpk...@]}")
+
+subpkgs=("${subpk...@]}" "$pkgname-backend-virtuoso")
+subdescs=("${subdes...@]}" "Virtuoso storage Backend")
+subdepends=("${subdepen...@]}" "libiodbc")
+subrodepends=("${subrodepen...@]}" "$pkgname=$pkgver virtuoso")
+subprovides=("${subprovid...@]}" "")
+subconflicts=("${subconflic...@]}" "")
+subreplaces=("${subreplac...@]}" "")
+subgroups=("${subgrou...@]}" 'apps-extra')
+subarchs=("${subarc...@]}" 'i686 x86_64 ppc')
+

build()
{
sed -i "s/i686-frugalware-linux/$(gcc -dumpmachine)/g" $Fsrcdir/gcj.patch || 
Fdie
-       CMake_build
-
-       ## -sesame2
-       if [ $CARCH != "ppc" ]; then
-               Fsplit $pkgname-sesame2 usr/share/soprano/sesame2
-               Fsplit $pkgname-sesame2 
usr/lib/soprano/libsoprano_sesame2backend.*
-               Fsplit $pkgname-sesame2 
usr/share/soprano/plugins/sesame2backend.desktop
-       fi
+       CMake_make
+       ## Fixme! add some CMake_project_install or get the KDE one to use some 
generic one?
+
+       KDE_project_install backends/sesame2
+       Fsplit $pkgname-backend-sesame2 /\*
+
+       KDE_project_install backends/redland
+       Fsplit $pkgname-backend-redland /\*
+
+       KDE_project_install backends/virtuoso
+       Fsplit $pkgname-backend-virtuoso /\*
+
+       CMake_install
+       Fcleandestdir "${subpk...@]}"
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to