diff options
author | Taner Tas <taner76@gmail.com> | 2018-02-13 04:36:58 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-02-14 15:24:22 +0000 |
commit | d22ac9f1abe0fa666724db4e54f118a5a1fcf16b (patch) | |
tree | c2c25aca5533c5d5f89f401b75ae5f2bc70288a0 /testing/advancemame | |
parent | 96be1654e8a6fa631a919dd0ec4b681c3bde9d8a (diff) | |
download | aports-d22ac9f1abe0fa666724db4e54f118a5a1fcf16b.tar.bz2 aports-d22ac9f1abe0fa666724db4e54f118a5a1fcf16b.tar.xz |
testing/advancemame: Update to 3.7, advmess and advmenu binaries are separated into different packages.
Diffstat (limited to 'testing/advancemame')
-rw-r--r-- | testing/advancemame/APKBUILD | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/testing/advancemame/APKBUILD b/testing/advancemame/APKBUILD index 380f1dc4c5..4abf6303d7 100644 --- a/testing/advancemame/APKBUILD +++ b/testing/advancemame/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Taner Tas <taner76@gmail.com> pkgname=advancemame -pkgver=3.6 +pkgver=3.7 pkgrel=0 -pkgdesc="A port of the MAME and MESS emulators for Arcade Monitors and TVs but also for LCDs and PC monitors" +pkgdesc="A port of the MAME emulator for Arcade Monitors and TVs but also for LCDs and PC monitors" url="http://www.advancemame.it" arch="all" license="GPL" -makedepends="sdl2-dev alsa-lib-dev freetype-dev zlib-dev expat-dev slang-dev" -subpackages="$pkgname-doc $pkgname-data" +makedepends="clang-dev sdl2-dev alsa-lib-dev freetype-dev zlib-dev expat-dev slang-dev" +subpackages="$pkgname-doc $pkgname-data::noarch $pkgname-mess $pkgname-menu" source="https://github.com/amadvance/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz" options="!check" @@ -17,12 +17,18 @@ prepare() { build() { cd "$builddir" + +export CC=clang +export CXX=clang++ +export LD="g++ -fuse-ld=gold" + ./configure \ --build=$CBUILD \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ + --enable-fb \ --enable-sdl2 make } @@ -43,4 +49,17 @@ data() { mv "$pkgdir"/usr/share/advance/* "$subpkgdir"/usr/share/advance/ } -sha512sums="4693d993c7cd6333fc1a484c83d280227005b5e2aa79c70f8d12373615bab161f41703686cf6c0088ed4f2224801bf88d1ea9bb7d6bf93c37c58e16cfa896687 advancemame-3.6.tar.gz" +mess() { + pkgdesc="Advancemame port of MESS." + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/advmess "$subpkgdir"/usr/bin/ + +} + +menu() { + pkgdesc="An emulator frontend with sound and animated previews of your games." + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/advmenu "$subpkgdir"/usr/bin/ + +} +sha512sums="b5af59cdd3cf70dfae0769ed35eb6ce00a6f01d05eefcb687f322420faa2ee5aabf83394249c2ab7f7f1241d3fd09c2f0412666b2dbd27b91e7bc3622f925f74 advancemame-3.7.tar.gz" |