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

commit 69af342a3361e03991cf987a3479f8ce193c3614
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon May 25 21:01:35 2009 +0200

directfb-1.2.0-1-ppc

added ppc to archs()

diff --git a/source/xlib/directfb/FrugalBuild b/source/xlib/directfb/FrugalBuild
index 8b36067..286ca93 100644
--- a/source/xlib/directfb/FrugalBuild
+++ b/source/xlib/directfb/FrugalBuild
@@ -12,28 +12,28 @@ license="LGPL"
depends=('sdl' 'sysfsutils' 'freetype2' 'libpng' 'libjpeg' 'libmpeg3' 'zlib' 
'libx11' 'libxext')
makedepends=('xextproto')
groups=('xlib')
-archs=('i686' 'x86_64')
+archs=('i686' 'x86_64' 'ppc')
up2date="lynx -dump http://directfb.org/index.php?path=Main%2FDownloads | 
Flasttar"
source=(http://www.directfb.org/downloads/Core/$_F_archive_name-$pkgver.tar.gz)
sha1sums=('a98268f872442c754e02f18e020f7e11b9554344')

-subpkgs=("$pkgname-video-i810" "$pkgname-video-i830" "$pkgname-video-mga" 
"$pkgname-video-nv" "$pkgname-video-savage" \
-       "$pkgname-video-sis" "$pkgname-video-neomagic" "$pkgname-video-ati" 
"$pkgname-video-nsc" \
-       "$pkgname-video-tdfx" "$pkgname-video-unichrome" 
"$pkgname-video-radeon" "$pkgname-input-joystick" \
+subpkgs=("$pkgname-video-i810" "$pkgname-video-i830" "$pkgname-video-savage" 
"$pkgname-video-neomagic" \
+       "$pkgname-video-unichrome" "$pkgname-video-nv" "$pkgname-video-sis" 
"$pkgname-video-mga" "$pkgname-video-ati" \
+       "$pkgname-video-nsc" "$pkgname-video-tdfx" "$pkgname-video-radeon" 
"$pkgname-input-joystick" \
"$pkgname-input-keyboard" "$pkgname-input-ps2mouse" 
"$pkgname-input-serialmouse" \
"$pkgname-input-linuxinput" "$pkgname-input-lirc" "$pkgname-input-mutouch" 
"$pkgname-input-penmount" \
"$pkgname-input-sonypi" "$pkgname-input-wm97xx")
subdescs=('DirectFB video driver for Intel i810 cards' \
'DirectFB video driver for Intel i830 cards' \
-       'DirectFB video driver for Matrox cards' \
-       'DirectFB video driver for NVidia cards' \
'DirectFB video driver for S3 Savage cards' \
-       'DirectFB video driver for SiS cards' \
'DirectFB video driver for NeoMagic cards' \
+       'DirectFB video driver for Unichrome cards' \
+       'DirectFB video driver for NVidia cards' \
+       'DirectFB video driver for SiS cards' \
+       'DirectFB video driver for Matrox cards' \
'DirectFB video driver for ATI cards' \
'DirectFB video driver for nsc cards' \
'DirectFB video driver for 3dfx Voodoo cards' \
-       'DirectFB video driver for Unichrome cards' \
'DirectFB video driver for ATI Radeon cards' \
'DirectFB driver for joystick input devices' \
'DirectFB driver for keyboard input devices' \
@@ -57,14 +57,15 @@ subgroups=('xlib directfb-drivers' 'xlib directfb-drivers' 
'xlib directfb-driver
'xlib directfb-drivers' 'xlib directfb-drivers' 'xlib directfb-drivers' 'xlib 
directfb-drivers' \
'xlib directfb-drivers' 'xlib directfb-drivers' 'xlib directfb-drivers' 'xlib 
directfb-drivers' \
'xlib directfb-drivers' 'xlib directfb-drivers')
-subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 
x86_64' 'i686 x86_64' \
-       'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 
'i686 x86_64' \
-       'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 
'i686 x86_64' \
-       'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')
+subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 
x86_64' 'i686 x86_64 ppc' \
+       'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc' 
'i686 x86_64 ppc' 'i686 x86_64 ppc' \
+       'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc' 
'i686 x86_64 ppc' 'i686 x86_64 ppc' \
+       'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc')

build() {
Fcd DirectFB-$pkgver
sed -i '/-O3/d' configure || return 1
+       sed -i '/config.h/d' lib/direct/ppcasm_memcpy_cachable.S || return 1
Fbuild --enable-x11 --enable-zlib --enable-sdl --enable-mmx --enable-sse \
--enable-jpeg --enable-png --enable-freetype --enable-sysfs --enable-static \
--disable-debug --disable-vnc --enable-fbdev --enable-fbcon \
@@ -72,17 +73,19 @@ build() {
--with-gfx-drivers=i810,i830,matrox,nvidia,sis315,neomagic,savage,ati128

# Graphics drivers
-       Fsplit $pkgname-video-i810 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_i810.{a,la,o,so}
-       Fsplit $pkgname-video-i830 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_i830.{a,la,o,so}
+       if [ "$CARCH" != "ppc" ]; then
+               Fsplit $pkgname-video-i810 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_i810.{a,la,o,so}
+               Fsplit $pkgname-video-i830 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_i830.{a,la,o,so}
+               Fsplit $pkgname-video-savage 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_savage.{a,la,o,so}
+               Fsplit $pkgname-video-neomagic 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_neomagic.{a,la,o,so}
+               Fsplit $pkgname-video-unichrome 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_unichrome.{a,la,o,so}
+       fi
Fsplit $pkgname-video-mga 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_matrox.{a,la,o,so}
Fsplit $pkgname-video-nv 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_nvidia.{a,la,o,so}
-       Fsplit $pkgname-video-savage 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_savage.{a,la,o,so}
Fsplit $pkgname-video-sis 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_sis315.{a,la,o,so}
-       Fsplit $pkgname-video-neomagic 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_neomagic.{a,la,o,so}
Fsplit $pkgname-video-ati 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_ati128.{a,la,o,so}
Fsplit $pkgname-video-nsc 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_nsc.{a,la,o,so}
Fsplit $pkgname-video-tdfx 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_tdfx.{a,la,o,so}
-       Fsplit $pkgname-video-unichrome 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_unichrome.{a,la,o,so}
Fsplit $pkgname-video-radeon 
usr/lib/$pkgname-$_pkgver/gfxdrivers/libdirectfb_radeon.{a,la,o,so}

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

Reply via email to