Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=e06a009d68031dc2c1f9705170a3fb800c73e208

commit e06a009d68031dc2c1f9705170a3fb800c73e208
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Oct 6 15:30:22 2011 +0200

lgob-11.04-1-x86_64
*version bump (poppler bump)
Ã*disable 'lgob-cluttergtk' (already broken)

diff --git a/source/lib-extra/lgob/FrugalBuild 
b/source/lib-extra/lgob/FrugalBuild
index 29bae7f..804c193 100644
--- a/source/lib-extra/lgob/FrugalBuild
+++ b/source/lib-extra/lgob/FrugalBuild
@@ -2,72 +2,63 @@
# Maintainer: James Buren <r...@frugalware.org>

pkgname=lgob
-pkgver=10.05
+pkgver=11.04
pkgrel=1
pkgdesc="A suite of LUA bindings for various components of the GTK+ family."
url="http://oproj.tuxfamily.org/wiki/doku.php?id=lgob/";
depends=('lua' 'glibc')
makedepends=('luafilesystem' 'glproto')
conflicts=('lmedia' 'ldraw' 'lgui' 'lobj')
-replaces=('lmedia' 'ldraw' 'lgui' 'lobj')
+replaces=('lmedia' 'ldraw' 'lgui' 'lobj' 'lgob-cluttergtk')
groups=('lib-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
_dl_url="http://downloads.tuxfamily.org/oproj/lgob";
up2date="Flasttar $_dl_url"
source=($_dl_url/$pkgname-$pkgver.tar.bz2)
-sha1sums=('674e2398d082eabd91272a332d0bb39a6316688c')
+sha1sums=('230509c17abc59e878cf7192253ef70ad499a064')

subpkgs=("$pkgname-gobject" "$pkgname-cairo" "$pkgname-pango" \
"$pkgname-pangocairo" "$pkgname-poppler" "$pkgname-atk" \
"$pkgname-clutter" "$pkgname-gtk" "$pkgname-vte" "$pkgname-webkit" \
"$pkgname-gstreamer" "$pkgname-goocanvas" "$pkgname-gtksourceview" \
-        "$pkgname-gtkspell" "$pkgname-cluttergtk" "$pkgname-devel")
+        "$pkgname-gtkspell" "$pkgname-devel")

subdescs=("$pkgdesc (gobject)" "$pkgdesc (cairo)" "$pkgdesc (pango)" \
"$pkgdesc (pangocairo)" "$pkgdesc (poppler)" "$pkgdesc (atk)" \
"$pkgdesc (clutter)" "$pkgdesc (gtk)" "$pkgdesc (vte)" \
"$pkgdesc (webkit)" "$pkgdesc (gstreamer)" "$pkgdesc (goocanvas)" \
"$pkgdesc (gtksourceview)" "$pkgdesc (gtkspell)" \
-         "$pkgdesc (cluttergtk)" "$pkgdesc (devel)")
+         "$pkgdesc (devel)")

-subdepends=('glib2' 'cairo' 'pango' 'cairo pango' 'poppler-glib' 'atk' \
+subdepends=('glib2' 'cairo' 'pango' 'cairo pango' 'poppler-glib>=0.18.0' 'atk' 
\
'clutter>=1.2.8' 'gtk+2>=2.20.1' 'vte' 'webkit>=1.2.1' 'gstreamer' 'goocanvas' \
-           'gtksourceview' 'gtkspell' 'clutter-gtk' '')
+           'gtksourceview' 'gtkspell' '')

subgroups=('lib-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra' \
'lib-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra' \
'xmultimedia-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra' \
-          'xlib-extra' 'devel-extra')
+          'devel-extra')

subarchs=("${archs[*]}" "${archs[*]}" "${archs[*]}" "${archs[*]}" \
"${archs[*]}" "${archs[*]}" "${archs[*]}" "${archs[*]}" \
"${archs[*]}" "${archs[*]}" "${archs[*]}" "${archs[*]}" \
-         "${archs[*]}" "${archs[*]}" "${archs[*]}" "${archs[*]}")
+         "${archs[*]}" "${archs[*]}" "${archs[*]}")

_modules=('common' 'loader' 'gobject' 'cairo' 'pango' 'pangocairo' 'poppler' \
'atk' 'clutter' 'gdk' 'gtk' 'vte' 'webkit' 'gstreamer' 'goocanvas' \
-         'gtksourceview' 'gtkspell' 'cluttergtk')
+         'gtksourceview' 'gtkspell')

build() {
Fcd

-       make -C codegen install DESTDIR="$Fdestdir/usr" || Fdie
-
-       CC="gcc -I $Fdestdir/usr/include"
-
-       GENDIR="$Fdestdir/usr/share/lua/5.1/$pkgname"
-
-       GEN="lua -llfs -e'lfs.chdir(\"$GENDIR\")' $GENDIR/generator.lua"
-
-       if [ $CARCH = "x86_64" ]; then
-               opts="AMD64=1"
+       if [ ${CARCH} = 'i686' ]; then
+               lua build_all.lua $Fdestdir/usr || Fdie
fi
-
-       for i in ${_modules[@]}; do
-               make -C $i $opts CC="$CC" GEN="$GEN" || Fdie
-               make -C $i DESTDIR="$Fdestdir/usr" install || Fdie
-       done
+       if [ ${CARCH} = 'x86_64' ]; then
+               lua build_all.lua $Fdestdir/usr AMD64 || Fdie
+       fi
+

Fdocrel {tests,examples}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to