Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=playground.git;a=commitdiff;h=39865a04ac51149e17bf5e0589081f8865c485dd

commit 39865a04ac51149e17bf5e0589081f8865c485dd
Author: crazy <[EMAIL PROTECTED]>
Date:   Sat Dec 1 11:05:12 2007 +0100

kdelibs-3.96.1_743104-0playground2-i686
* release bump
* split work done
* added new TODO

diff --git a/source/kde4/kdelibs/FrugalBuild b/source/kde4/kdelibs/FrugalBuild
index df11f98..5d9952a 100644
--- a/source/kde4/kdelibs/FrugalBuild
+++ b/source/kde4/kdelibs/FrugalBuild
@@ -3,11 +3,13 @@

pkgname=kdelibs
pkgver=3.96.1_743104
-pkgrel=0playground1
+pkgrel=0playground2
pkgdesc="KDE4 Core Libraries."
-depends=('qt4-qdbus' 'libqtsvg' 'libxpm' 'libxtst' 'strigi' 'gamin' 
'xfsprogs-acl' 'soprano' \
-       'libqttest' 'pcre' 'libqt3support' 'alsa-lib' 'libungif' 'qt4-designer' 
'heimdal' \
-       'enchant' 'openexr' 'jasper' 'hspell' 'shared-mime-info' 'avahi')
+depends=('libqtsvg' 'libxpm' 'libxtst' 'strigi' 'xfsprogs-acl' 'pcre' 
'soprano' \
+               'heimdal' 'libqt3support' 'alsa-lib' 'libungif' 'qt4-designer' 
'openexr' 'jasper' \
+               'shared-mime-info' 'gamin' 'qt4-qdbus' 'bzip2' 'libqttest')
+rodepends=("libkde=$pkgver") # this is an 'depend' but it won't find it while 
is an subpackage
+makedepends=('libqttest'  'enchant' 'hspell' 'avahi-compat' 'aspell')
groups=('kde4')
archs=('i686')
options=('nomirror')
@@ -16,6 +18,69 @@ source=(http://192.168.0.2/.KDE4/$pkgname-$pkgver.tar.bz2 \
flac.patch)
sha1sums=('688346508a642949e9d5d8c71d945c0d4c487a6e' \
'0ff2c4946a6f58c0dadc7b6bd1027f46fab66218')
-## TODO: sort the depends and split after kdebase-apps is done

+## TODO: groups!!!
+subpkgs=("$pkgname-compiletime" 'libkde' 'kspell-aspell' 'kspell-hspell' 
'kspell-enchant' 'libkdecore')
+subdescs=('Development files.' \
+         'Libraries needed for graphical KDE applications.' \
+         'KSpell aspell plugin.' \
+         'KSpell hspell plugin.' \
+         'KSpell enchant plugin.' \
+         'Core libraries needed for KDE applications.')
+subdepends=("libkde=$pkgver libqtsvg libxpm libxtst strigi xfsprogs-acl 
libqtnetwork" \
+           "libkdecore=$pkgver libqtsvg libxpm libxtst strigi xfsprogs-acl 
libqt3support libungif pcre soprano alsa-lib" \
+           "libkde=$pkgver aspell libqtnetwork qt4-qdbus bzip2" \
+           "libkde=$pkgver libqtnetwork qt4-qdbus bzip2 hspell" \
+           "libkde=$pkgver enchant libqtnetwork qt4-qdbus bzip2" \
+           "libkde=$pkgver libqtnetwork qt4-qdbus bzip2 pcre")
+subgroups=('kde4' 'kde4' 'kde4' 'kde4' 'kde4' 'kde4')
+subarchs=('i686' 'i686' 'i686' 'i686' 'i686' 'i686')
+
+build()
+{
+       CMakeKDE_build
+
+       ## the funny part now ;)
+
+       ## -aspell
+       Fsplit kspell-aspell usr/lib/kde4/kspell_aspell.so
+       Fsplit kspell-aspell usr/share/kde4/services/kspell_aspell.desktop
+
+       ## -hspell
+       Fsplit kspell-hspell usr/lib/kde4/kspell_hspell.so
+        Fsplit kspell-hspell usr/share/kde4/services/kspell_hspell.desktop
+
+       ## -enchant
+       Fsplit kspell-enchant usr/lib/kde4/kspell_enchant.so
+       Fsplit kspell-enchant usr/share/kde4/services/kspell_enchant.desktop
+
+       ## -libkdecore ( yeah hate me for that :P )
+       ## kdebase-workspace ( startkde ) need that but libkde has
+       ## it as depend so does not really matter
+       Fsplit libkdecore 
usr/lib/{libkdecore.so.*,libkpty.so.*,libkdefakes.so.*,libkjs.so.*}
+       Fsplit libkdecore usr/lib/kde4/libexec/kgrantpty
+       Fsplit libkdecore usr/bin/kde4-config
+       Fsplit libkdecore usr/lib/kde4/ktranscript.so
+       ## debug/message stuff
+       Fsplit libkdecore etc/kde4/config/{kdebug.areas,kdebugrc}
+       ## not really sure why but looks like these are needed here ..
+       Fsplit libkdecore 
usr/share/kde4/servicetypes/{sonnetspeller.desktop,kplugininfo.desktop}
+       Fsplit libkdecore usr/share/locale/all_languages
+
+       ## -libkde
+       for i in $(find $Fdestdir/usr/lib \( -name kde4 \) -prune -o ! -name 
"*libkdeinit4*" -name "*.so.*" -print|sed 's/.*\///')
+       do
+               Fsplit libkde usr/lib/$i
+       done
+
+       ## -compiletime ( devel )
+       Fsplit $pkgname-compiletime usr/include
+       Fsplit $pkgname-compiletime 
usr/bin/{kde4automoc,meinproc4,kconfig_compiler}
+       Fsplit $pkgname-compiletime usr/share/apps/{cmake,ksgmltools2}
+       for i in $(find $Fdestdir/usr/lib \( -name kde4 \) -prune -o ! -name 
"*libkdeinit4*" -name "*.so" -print|sed 's/.*\///')
+       do
+               Fsplit $pkgname-compiletime usr/lib/$i
+       done
+}
+
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to