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

commit 3d319d191c8b10640f406cd743e5716da2825153
Author: Devil505 <devil505li...@gmail.com>
Date:   Fri Feb 25 11:58:36 2011 +0100

bsnes-075-1-i686
* version bump

diff --git a/source/games-extra/bsnes/FrugalBuild 
b/source/games-extra/bsnes/FrugalBuild
index 6cd8494..09d7bf5 100644
--- a/source/games-extra/bsnes/FrugalBuild
+++ b/source/games-extra/bsnes/FrugalBuild
@@ -3,32 +3,34 @@
# Contributor: James Buren <r...@frugalware.org>

pkgname=bsnes
-pkgver=070
+pkgver=075
pkgrel=1
pkgdesc="A newer snes emulator designed with accuracy in mind."
-depends=('openal' 'sdl' 'libgl' 'libxv' 'libao' 'pulseaudio' 'libuuid' 
'libxtst' 'dbus' 'libqtcore' 'libqtgui')
+depends=('libao' 'libgl' 'libxv' 'gtk+2' 'openal' 'sdl')
groups=('games-extra')
archs=('i686' 'x86_64')
_F_googlecode_sep="_v"
-_F_googlecode_ext=".tar.bz2"
+_F_googlecode_ext="-source.tar.bz2"
Finclude googlecode
_F_cd_path="$pkgname"
options=('scriptlet')
-sha1sums=('b72388980310dfd26677d04312bf4698166208f2')
+sha1sums=('cb9ac27c5c7d1db2f2a7014eb69c402c4287ca1a')

-build()
-{
-       Fcd
-  # Don't run gconftool
-  Fsed "gconftool-2 --type bool" "#gconftool-2 --type bool" Makefile
+# Build the accuracy profile (you can also choose 'performance' or 
'compatibility')
+__profile='accuracy'

-  for profile in compatibility performance accuracy; do
-    make clean
-    make profile=${profile} || Fdie
-    make install profile=${profile} DESTDIR=$Fdestdir prefix=/usr || Fdie
-  done
+build() {
+  Fcd $pkgname$_F_googlecode_sep$pkgver-source/$pkgname

-       cd launcher || Fdie
-       ./cc.sh || Fdie
-       Fexerel ../out/$pkgname /usr/bin/$pkgname
+  # Makefile hacks
+  # Disable pulseaudio.
+  sed -e 's|audio.pulseaudio ||' \
+      -e 's|audio.pulseaudiosimple ||' \
+      -i "ui/Makefile" || Fdie
+  # Don't copy the cheat file.
+  sed '97,99d' -i "ui/Makefile" || Fdie
+
+  # Compile bsnes
+  make compiler=gcc platform=x profile=${__profile} || Fdie
+  make install profile=${__profile} DESTDIR=$Fdestdir prefix=/usr  || Fdie
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to