aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2021-08-29 08:02:38 +0000
committerMilan P. Stanić <mps@arvanta.net>2021-08-31 07:21:56 +0000
commit4b73c7c906a15bcc95502bc49f907efaea93615a (patch)
tree4df5845c238803ee5a6f7902465a68f61cbdf9e0
parentf07bd608cfb629117e36a58d596c1849b6d7b7b4 (diff)
downloadaports-4b73c7c906a15bcc95502bc49f907efaea93615a.tar.gz
aports-4b73c7c906a15bcc95502bc49f907efaea93615a.tar.bz2
aports-4b73c7c906a15bcc95502bc49f907efaea93615a.tar.xz
testing/dosbox-staging: upgrade to 0.77.1
change build system to meson, upstream changed it
-rw-r--r--testing/dosbox-staging/APKBUILD37
1 files changed, 15 insertions, 22 deletions
diff --git a/testing/dosbox-staging/APKBUILD b/testing/dosbox-staging/APKBUILD
index 022c2bcb38..dcc3195894 100644
--- a/testing/dosbox-staging/APKBUILD
+++ b/testing/dosbox-staging/APKBUILD
@@ -1,39 +1,32 @@
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=dosbox-staging
-pkgver=0.75.2
+pkgver=0.77.1
pkgrel=0
pkgdesc="revitalized dosbox DOS-emulator"
url="https://dosbox-staging.github.io/"
arch="all !x86" # TEXTREL on x86
license="GPL-2.0-or-later"
+options="!check" # no
depends="!dosbox" # dosbox provides same binary in /usr/bin/dosbox
-makedepends="automake autoconf alsa-lib-dev sdl2-dev libpng-dev
- opus-dev opusfile-dev fluidsynth-dev"
+makedepends="alsa-lib-dev sdl2-dev libpng-dev
+ opus-dev opusfile-dev fluidsynth-dev sdl2_net-dev samurai meson"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dosbox-staging/dosbox-staging/archive/v$pkgver.tar.gz"
-prepare() {
- default_prepare
- ./autogen.sh
-}
-
build() {
- ./configure CPPFLAGS="$CPPFLAGS -DNDEBUG" \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
-}
-
-check() {
- make check
+ abuild-meson \
+ --prefix /usr \
+ --buildtype=release \
+ -Duse_mt32emu=false \
+ -Ddefault_library=static \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="2988b2cc44d041193d900efc4c6fa516aca6246e51c1dece9b207bd3549a8c76c5bcb2f3f5a90da6bb2b573663bddd0020274f17130548aef9cef1f4adf79220 dosbox-staging-0.75.2.tar.gz"
+sha512sums="
+fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac dosbox-staging-0.77.1.tar.gz
+"