summaryrefslogtreecommitdiffstats
path: root/main/bsnes
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-16 08:22:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-17 08:59:36 +0000
commita1943c884d05063b1b74dab6d2b9af63aa230b56 (patch)
tree0d9654151c2d108029022dbfa24f131d7eb877bb /main/bsnes
parent6d9f39b8276ea1b742065560e23cd909ac0e6123 (diff)
downloadaports-a1943c884d05063b1b74dab6d2b9af63aa230b56.tar.bz2
aports-a1943c884d05063b1b74dab6d2b9af63aa230b56.tar.xz
main/bsnes: upgrade to 0.91
Diffstat (limited to 'main/bsnes')
-rw-r--r--main/bsnes/APKBUILD15
-rw-r--r--main/bsnes/define-disassembler_read-relb.patch4
-rw-r--r--main/bsnes/no-pulseaudio.patch4
3 files changed, 13 insertions, 10 deletions
diff --git a/main/bsnes/APKBUILD b/main/bsnes/APKBUILD
index 66c99178c..edcdf8711 100644
--- a/main/bsnes/APKBUILD
+++ b/main/bsnes/APKBUILD
@@ -1,11 +1,11 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bsnes
-pkgver=0.86
+pkgver=0.91
_x=${pkgver%.*}
_y=${pkgver#*.}
_pkgver="v${_x}${_y}"
-pkgrel=1
+pkgrel=0
pkgdesc="high accuracy SNES emulator"
url="http://byuu.org/bsnes/"
arch="all"
@@ -16,7 +16,7 @@ depends_dev="qt-dev openal-soft-dev sdl-dev alsa-lib-dev mesa-dev libao-dev
makedepends="$depends_dev"
install=""
subpackages=
-source="http://bsnes.googlecode.com/files/${pkgname}_${_pkgver}-source.tar.bz2
+source="http://bsnes.googlecode.com/files/${pkgname}_${_pkgver}-source.tar.xz
no-pulseaudio.patch
define-disassembler_read-relb.patch
"
@@ -30,6 +30,9 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ # remove sudo from makefiles
+ # don't install stuff in the buildbot user's homedir
+ find -name 'Makefile' | xargs sed -i -e 's/sudo //' -e '/~\/\.config/d'
}
build() {
@@ -42,6 +45,6 @@ package() {
make DESTDIR="$pkgdir" prefix=/usr profile=performance install || return 1
}
-md5sums="54f73b38d24405186b538e01713b0c1f bsnes_v086-source.tar.bz2
-e67461ca1ffa9840936ed08e9a31d775 no-pulseaudio.patch
-4a820f42ecb7f17eab0ffd91ffd9a18b define-disassembler_read-relb.patch"
+md5sums="ba53212c56990e83d7770393c4e2d173 bsnes_v091-source.tar.xz
+037fb1b2949957daf1942ff3abc4deed no-pulseaudio.patch
+957204062ed4634bd83345aa597666c4 define-disassembler_read-relb.patch"
diff --git a/main/bsnes/define-disassembler_read-relb.patch b/main/bsnes/define-disassembler_read-relb.patch
index 323e4c385..257ff093c 100644
--- a/main/bsnes/define-disassembler_read-relb.patch
+++ b/main/bsnes/define-disassembler_read-relb.patch
@@ -1,7 +1,7 @@
diff --git a/bsnes/snes/alt/smp/smp.hpp b/bsnes/snes/alt/smp/smp.hpp
index f81c454..ad04d3e 100755
---- a/bsnes/snes/alt/smp/smp.hpp
-+++ b/bsnes/snes/alt/smp/smp.hpp
+--- a/bsnes/sfc/alt/smp/smp.hpp
++++ b/bsnes/sfc/alt/smp/smp.hpp
@@ -22,6 +22,8 @@ public:
~SMP();
diff --git a/main/bsnes/no-pulseaudio.patch b/main/bsnes/no-pulseaudio.patch
index 829670f71..24fe38c92 100644
--- a/main/bsnes/no-pulseaudio.patch
+++ b/main/bsnes/no-pulseaudio.patch
@@ -1,7 +1,7 @@
diff --git a/bsnes/ui/Makefile b/bsnes/ui/Makefile
index 8b9a1a6..11e7b99 100755
---- a/bsnes/ui/Makefile
-+++ b/bsnes/ui/Makefile
+--- a/bsnes/target-ethos/Makefile
++++ b/bsnes/target-ethos/Makefile
@@ -11,7 +11,7 @@ ui_objects += $(if $(call streq,$(platform),win),resource)
# platform
ifeq ($(platform),x)