summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD47
1 files changed, 1 insertions, 46 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 67b0dee917a..8093b03b46c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jan Cholasta <grubber at grubber cz>
pkgname=zmusic-git
-pkgver=1.1.2
+pkgver=1.1.3+14+geac26c3
pkgrel=1
pkgdesc="GZDoom's music system as a standalone library (git version)"
arch=('x86_64')
@@ -9,19 +9,14 @@ license=('BSD' 'GPL3' 'LGPL2.1' 'LGPL3' 'custom:dumb')
depends=('alsa-lib' 'fluidsynth>=2' 'libsndfile' 'mpg123' 'zlib')
optdepends=('soundfont-fluid: default soundfont for FluidSynth')
makedepends=('cmake' 'git')
-checkdepends=('abi-compliance-checker')
provides=('zmusic')
conflicts=('zmusic')
_srcname=ZMusic
_checkver=1.1.2
source=("${_srcname}::git+https://github.com/coelckers/ZMusic"
'0001-Use-correct-soundfont-path.patch')
-source_x86_64=("libzmusic.so.1-${_checkver}-x86_64.dump.gz"
- "libzmusiclite.so.1-${_checkver}-x86_64.dump.gz")
sha256sums=('SKIP'
'6c1b5bf589e5c36186869276ade865d35fdf860241dcd2e0f557e5a82dfd066f')
-sha256sums_x86_64=('9a1306ec0ec53682f684f82c4f1f9e1818ddc9fe47b29183d953722757e79518'
- '9f672f0ce791a23b79dcd0695c6db6a5c15b6c754387c45ef6bc962e6d190b4a')
pkgver() {
cd $_srcname
@@ -45,46 +40,6 @@ build() {
make -C build
}
-check() {
- if [ $_checkver = ${pkgver%%+*} ]; then
- return
- fi
-
- _soverbumped=true
- cd "$srcdir"/$_srcname/build/source
- for _lib in libzmusic.so.* libzmusiclite.so.*; do
- if [ -f "$srcdir"/"${_lib}-${_checkver}-${CARCH}.dump" ]; then
- _soverbumped=false
- break
- fi
- done
- if $_soverbumped; then
- return
- fi
-
- cd "$srcdir"/$_srcname
- mkdir -p check
- cmake -B check \
- -D CMAKE_BUILD_TYPE=Debug \
- -D CMAKE_CXX_FLAGS="${CXXFLAGS} -g -Og" \
- -D CMAKE_INSTALL_PREFIX=/usr \
- -D DYN_FLUIDSYNTH=OFF \
- -D DYN_MPG123=OFF \
- -D DYN_SNDFILE=OFF
- make -C check
-
- cd "$srcdir"/$_srcname/check/source
- for _lib in libzmusic.so.* libzmusiclite.so.*; do
- _old="$srcdir"/"${_lib}-${_checkver}-${CARCH}.dump"
- if [ ! -f "$_old" ]; then
- continue
- fi
- _new=${_lib}-${pkgver}-${CARCH}.dump
- abi-dumper $_lib -lver $pkgver -public-headers ../../include -output $_new
- abi-compliance-checker -l $_lib -old $_old -new $_new
- done
-}
-
package() {
cd $_srcname
make -C build install DESTDIR="$pkgdir"