aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fceux
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fceux')
-rw-r--r--testing/fceux/APKBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/testing/fceux/APKBUILD b/testing/fceux/APKBUILD
index e5852565cf..f14c1508d3 100644
--- a/testing/fceux/APKBUILD
+++ b/testing/fceux/APKBUILD
@@ -1,27 +1,33 @@
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=fceux
-pkgver=2.5.0
+pkgver=2.6.1
pkgrel=0
pkgdesc="Fast and ultra-compatible NES/Famicom emulator"
-url="http://www.fceux.com"
+url="https://www.fceux.com"
arch="all"
license="GPL-2.0-only"
-makedepends="sdl2-dev gd-dev qt5-qtbase-dev mesa-dev glu-dev minizip-dev bash cmake"
+makedepends="bash cmake gd-dev glu-dev lua5.1-dev mesa-dev minizip-dev
+ qt5-qtbase-dev sdl2-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/fceultra/Source%20Code/$pkgver%20src/fceux-$pkgver.tar.gz"
options="!check" # no testsuite
build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
cmake -B build \
- -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ $CMAKE_CROSSOPTS .
cmake --build build
}
package() {
- DESTDIR="$pkgdir" cmake --build build --target install
+ DESTDIR="$pkgdir" cmake --install build
install -d "$pkgdir/usr/share/doc/$pkgname"
cp -r documentation/* "$pkgdir/usr/share/doc/$pkgname/"
install -Dm644 changelog.txt "$pkgdir/usr/share/doc/$pkgname/"
@@ -29,5 +35,5 @@ package() {
}
sha512sums="
-bbff55b6f3efda8918b7dab21582d93f8c2a6396bf64a93e33f2f5f6cd345f95bcde7b958f0a663967e47e83110733c4a732dbf538afb7dbecb3147bc3090f01 fceux-2.5.0.tar.gz
+f086003f676054a5527e3c1b81f9abdb76669e2b3935e7625f99d99ad0b122391646e8a186ca6a2840d5f03fff908630c11481b5166325ca91c08c2e46836f8d fceux-2.6.1.tar.gz
"