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

commit f1a25424dfd591ca2814af1604db7403e5ec7ef5
Author: Devil505 <devil505li...@gmail.com>
Date:   Mon Jun 7 22:49:06 2010 +0200

fceux-2.1.4-2-i686
* replacing gfceux
* added icon and desktop shortcut
* improving build

diff --git a/source/games-extra/fceux/FrugalBuild 
b/source/games-extra/fceux/FrugalBuild
index 0454707..ec5e583 100644
--- a/source/games-extra/fceux/FrugalBuild
+++ b/source/games-extra/fceux/FrugalBuild
@@ -3,27 +3,38 @@

pkgname=fceux
pkgver=2.1.4
-pkgrel=1
+pkgrel=2
pkgdesc="FCEUX is a cross platform, NTSC and PAL Famicom/NES emulator that is 
an evolution of the original FCE Ultra emulator."
_F_sourceforge_ext=".src.tar.bz2"
_F_sourceforge_dirname="fceultra"
_F_sourceforge_realname="Source Code"
Finclude sourceforge
-depends=('zlib' 'lua' 'libgl' 'sdl' 'libstdc++' 'libxext' 'libxdamage' 
'zenity>=2.30.0-2')
+depends=('zlib' 'lua' 'libgl' 'sdl' 'libstdc++' 'libxext' 'libxdamage' 
'zenity>=2.30.0-2' 'gtk+2')
makedepends=('scons')
+options=('scriptlet')
groups=('games-extra')
archs=('i686' 'x86_64')
-Fconfopts="${fconfop...@]} --with-opengl"
-_F_cd_path="fceu-$pkgver"
-sha1sums=('3aa382784d5dd582ba5d59e0d9133d8df91df7be')
-replaces=('fceu')
+source=($source $pkgname.png)
+sha1sums=('3aa382784d5dd582ba5d59e0d9133d8df91df7be' \
+          '3841309556cbb2c8a801475c8ff9b499a802cf8c')
+provides=('fceu' 'gfceux')
+replaces=('fceu' 'gfceux')

-build()
-{
-  Fcd
-  scons  || Fdie
+_F_desktop_name="FCEUX"
+_F_desktop_desc="Play Nintendo Entertainment System games."
+_F_desktop_icon="$pkgname.png"
+_F_desktop_categories="GNOME;GTK;Game"
+
+build() {
+  Fcd "fceu-$pkgver"
+  Fsed '/usr/local' '$Fdestdir/usr' SConstruct
+  scons FRAMESKIP=1 OPENGL=1 LSB_FIRST=1 DEBUG=0 LUA=1 NEWPPU=1 CREATE_AVI=0 
LOGO=1 GTK=1 GTK_LITE=0 || Fdie
Fmkdir usr/bin
-  cp $Fsrcdir/$_F_cd_path/bin/* $Fdestdir/usr/bin/  || Fdie
+  Fcprel bin/$pkgname usr/bin/$pkgname
+  Fdocrel bin/$pkgname.chm
+  Fdesktop2
+  Ficon $pkgname.png
+  Fmanrel documentation/$pkgname.6
}

# optimization OK
diff --git a/source/games-extra/fceux/fceux.png 
b/source/games-extra/fceux/fceux.png
new file mode 100644
index 0000000..6d25660
Binary files /dev/null and b/source/games-extra/fceux/fceux.png differ
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to