aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-26 01:34:50 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-26 01:38:31 +0100
commitee6a15487092c261d91d41ed15c207d77bee5bb5 (patch)
tree0e5468f7a0c4202e705afa5de83fc47b377eef4c
parent250700aef9b63834a2e2139890fd6e2b868477c2 (diff)
downloadaports-ee6a15487092c261d91d41ed15c207d77bee5bb5.tar.bz2
aports-ee6a15487092c261d91d41ed15c207d77bee5bb5.tar.xz
testing/snes9x: upgrade to 1.60
-rw-r--r--testing/snes9x/APKBUILD62
1 files changed, 20 insertions, 42 deletions
diff --git a/testing/snes9x/APKBUILD b/testing/snes9x/APKBUILD
index fd9fec9202..7337cdfd93 100644
--- a/testing/snes9x/APKBUILD
+++ b/testing/snes9x/APKBUILD
@@ -1,66 +1,44 @@
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=snes9x
-pkgver=1.58
+pkgver=1.60
pkgrel=0
pkgdesc="Super NES Emulator"
+options="!check" # No testsuite
url="http://www.snes9x.com"
arch="all"
license="custom"
makedepends="
- alsa-lib-dev
- autoconf
- automake
+ meson
+ glib-dev
+ sdl2-dev
gtk+3.0-dev
- libpng-dev
- libxml2-dev
libxrandr-dev
libepoxy-dev
- minizip-dev
- nasm
+ wayland-dev
+ libxv-dev
portaudio-dev
- sdl2-dev
+ alsa-lib-dev
+ libpng-dev
+ minizip-dev
zlib-dev
"
-subpackages="$pkgname-lang $pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/snes9xgit/snes9x/archive/${pkgver}.tar.gz"
-
-prepare() {
- cd "$builddir"
- default_prepare
- cd gtk
- ./autogen.sh
-}
-
-check() {
- cd "$builddir"/gtk
- echo "src/gtk_shader_parameters.cpp" >> po/POTFILES.in
- make check
-}
+subpackages="$pkgname-lang"
+source="$pkgname-$pkgver.tar.gz::https://github.com/snes9xgit/snes9x/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver/gtk"
build() {
- cd "$builddir"/gtk
- export ZLIB=1
- export UNZIP_SUPPORT=1
- export JMA_SUPPORT=1
- export RIGHTSHIFT_IS_SAR=1
-
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
- --with-netplay \
- --with-opengl \
- --with-gtk3 \
- --without-pulseaudio
- make
+ -Dopengl=true \
+ -Dgtk3=true \
+ -Dpulseaudio=false \
+ . output
}
package() {
- cd "$builddir"/gtk
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
ln -s snes9x-gtk "$pkgdir"/usr/bin/snes9x
- install -D -m644 "$builddir"/LICENSE "$pkgdir"/usr/share/doc/$pkgname/LICENSE
}
-sha512sums="51f8e92258db58e55f7b0b6c4537a916358891bb5ee35bd984d1970d2fedbdb2f8b3a4f560e0302d3011e521a1072c8a0d69723e8b151f61d33802c02f392d7d snes9x-1.58.tar.gz"
+sha512sums="840b006a8fbd479fd5ceb2d94af4ef6470c5e27a3e6c8ddb0dffc8d3e51f465669144cd428bfce28b2ed4f68e70d8f252f2d8a2cae602ba797791d7e483c14c9 snes9x-1.60.tar.gz"