diff options
author | nyanpasu64 | 2019-12-17 23:24:53 -0800 |
---|---|---|
committer | nyanpasu64 | 2019-12-18 01:06:19 -0800 |
commit | 4c3e02733d8acc3dcd3c05ebffac45b0f4c3be9e (patch) | |
tree | 2506103d4526209c36e9cafb8ef798e1ae288ba4 /PKGBUILD | |
parent | bee8b7a36f9dec500a023ac467487a5de1d7e7a1 (diff) | |
download | aur-4c3e02733d8acc3dcd3c05ebffac45b0f4c3be9e.tar.gz |
Fix build and SPC player with latest bsnes-plus v5
- Switch to Qt 5
- Remove `mv` because upstream
- Remove `make clean` (Seems to work without it)
- Build and install snesmusic as well (for SPC player)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -1,13 +1,13 @@ -# Maintainer: Vaporeon <vaporeon@vaporeon.io> +# Maintainer: nyanpasu64 <nyanpasu64@tuta.io> pkgname=bsnes-plus-git -pkgver=0.73r256.45bf3b1 +pkgver=0.73r595.e4edc7a pkgrel=1 pkgdesc='debug-oriented fork of bsnes v073' arch=('i686' 'x86_64') url='https://github.com/devinacker/bsnes-plus' license=('GPL3') -depends=('libao' 'libpulse' 'openal' 'qt4' 'sdl' 'zenity') +depends=('libao' 'libpulse' 'openal' 'qt5-base' 'sdl' 'zenity') makedepends=('mesa' 'git') source=("git+${url}.git" 'bsnes') @@ -22,17 +22,13 @@ pkgver() { } build() { - export qtpath=/usr/lib/qt4 - cd "${srcdir}"/bsnes-plus/bsnes for p in {accuracy,compatibility}; do make profile="$p" - mv out/bsnes{,-$p} - make clean done - for l in {snesfilter,snesreader,supergameboy}; do + for l in {snesfilter,snesmusic,snesreader,supergameboy}; do cd "${srcdir}"/bsnes-plus/"$l" make done @@ -45,6 +41,7 @@ package() { install -m 644 bsnes/data/bsnes.desktop "${pkgdir}"/usr/share/applications/ install -m 644 bsnes/data/bsnes.png "${pkgdir}"/usr/share/pixmaps/ install -m 644 snesfilter/libsnesfilter.so "${pkgdir}"/usr/lib/ + install -m 644 snesmusic/libsnesmusic.so "${pkgdir}"/usr/lib/ install -m 644 snesreader/libsnesreader.so "${pkgdir}"/usr/lib/ install -m 644 supergameboy/libsupergameboy.so "${pkgdir}"/usr/lib/ |