summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
2 files changed, 15 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bdbd6b37515..291474b76a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = dosbox-staging
pkgdesc = DOS/x86 emulator focusing on ease of use. Based on DOSBox
- pkgver = 0.76.0
- pkgrel = 3
+ pkgver = 0.77.0
+ pkgrel = 1
epoch = 1
url = https://github.com/dosbox-staging/dosbox-staging
arch = any
license = GPL2
- makedepends = autoconf
- makedepends = automake
+ makedepends = meson
+ makedepends = ninja
makedepends = gcc
makedepends = gzip
depends = sdl2
@@ -15,12 +15,12 @@ pkgbase = dosbox-staging
depends = opusfile
depends = alsa-lib
depends = fluidsynth
+ depends = munt
optdepends = libpng
optdepends = ncurses
provides = dosbox
conflicts = dosbox
- source = https://github.com/dosbox-staging/dosbox-staging/archive/v0.76.0.tar.gz
- sha256sums = 7df53c22f7ce78c70afb60b26b06742b90193b56c510219979bf12e0bb2dc6c7
+ source = https://github.com/dosbox-staging/dosbox-staging/archive/v0.77.0.tar.gz
+ sha256sums = 85e1739f5dfd7d96b752b2b0e12aad6f95c7770b47fcdaf978d4128d7890d986
pkgname = dosbox-staging
-
diff --git a/PKGBUILD b/PKGBUILD
index 63b913bb457..051acafc51d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,33 @@
# Maintainer: Wouter Wijsman <wwijsman@live.nl>
pkgname=dosbox-staging
-pkgver=0.76.0
-pkgrel=3
+pkgver=0.77.0
+pkgrel=1
epoch=1
pkgdesc="DOS/x86 emulator focusing on ease of use. Based on DOSBox"
arch=('any')
url="https://github.com/dosbox-staging/dosbox-staging"
license=('GPL2')
-depends=('sdl2' 'sdl2_net' 'opusfile' 'alsa-lib' 'fluidsynth')
+depends=('sdl2' 'sdl2_net' 'opusfile' 'alsa-lib' 'fluidsynth' 'munt')
optdepends=('libpng' 'ncurses')
-makedepends=('autoconf' 'automake' 'gcc' 'gzip')
+makedepends=('meson' 'ninja' 'gcc' 'gzip')
provides=("dosbox")
conflicts=("dosbox")
source=(
"https://github.com/dosbox-staging/${pkgname}/archive/v${pkgver}.tar.gz"
)
sha256sums=(
- '7df53c22f7ce78c70afb60b26b06742b90193b56c510219979bf12e0bb2dc6c7'
+ '85e1739f5dfd7d96b752b2b0e12aad6f95c7770b47fcdaf978d4128d7890d986'
)
prepare() {
cd "$srcdir/${pkgname}-${pkgver}"
- FLAGS="-O3 -DNDEBUG -pipe"
- ./autogen.sh
- ./configure CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" --prefix=/usr
+ meson setup --prefix /usr -Dbuildtype=release build
}
build() {
cd "$srcdir/${pkgname}-${pkgver}"
- make -j "$(nproc)"
+ ninja -C build
}
package() {
@@ -39,7 +37,7 @@ package() {
gzip -f "docs/dosbox.1" > "docs/dosbox.1.gz"
# install all files
- install -Dm 755 "src/dosbox" "$pkgdir/usr/bin/dosbox"
+ install -Dm 755 "build/dosbox" "$pkgdir/usr/bin/dosbox"
install -Dm 644 "docs/dosbox.1.gz" "$pkgdir/usr/share/man/man1/dosbox.1.gz"
# desktop file and icon