* update libgme to 0.6.3-5

This commit is contained in:
Alexander Baldeck 2024-09-29 07:55:39 +02:00
parent 696e3ee5f2
commit 9902780a8a
3 changed files with 51 additions and 8 deletions

23
libgme/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = libgme
pkgdesc = Video game music file emulation/playback library
pkgver = 0.6.3
pkgrel = 5
url = https://github.com/libgme/game-music-emu
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = LGPL-2.1-or-later
makedepends = cmake
makedepends = git
makedepends = ninja
makedepends = sdl2
depends = gcc-libs
depends = glibc
depends = zlib
source = git+https://github.com/libgme/game-music-emu.git?signed#tag=0.6.3
validpgpkeys = 5406ECE83665DA9D201D35720BAF0C9C7B6AE9F2
b2sums = e83e52c259d50e360c2b2878e581410346fc84d5e9479875acdb657fdbe1a3c592672c8237c34dfebb2f960ab57d0d4596fe16655cb96b1d9fc8ddd9a7c39f51
pkgname = libgme

3
libgme/.nvchecker.toml Normal file
View File

@ -0,0 +1,3 @@
[libgme]
source = "git"
git = "https://github.com/libgme/game-music-emu.git"

View File

@ -5,19 +5,36 @@
pkgname=libgme
pkgver=0.6.3
pkgrel=4
pkgrel=5
pkgdesc='Video game music file emulation/playback library'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://bitbucket.org/mpyne/game-music-emu'
license=('LGPL')
depends=('gcc-libs' 'glibc' 'zlib')
makedepends=('cmake' 'ninja')
source=("https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$pkgver.tar.xz")
sha256sums=('aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d')
url='https://github.com/libgme/game-music-emu'
license=(LGPL-2.1-or-later)
depends=(
gcc-libs
glibc
zlib
)
makedepends=(
cmake
git
ninja
sdl2
)
source=("git+https://github.com/libgme/game-music-emu.git?signed#tag=$pkgver")
b2sums=(e83e52c259d50e360c2b2878e581410346fc84d5e9479875acdb657fdbe1a3c592672c8237c34dfebb2f960ab57d0d4596fe16655cb96b1d9fc8ddd9a7c39f51)
validpgpkeys=(5406ECE83665DA9D201D35720BAF0C9C7B6AE9F2) # Michael Pyne <mpyne@kde.org>
prepare() {
cd game-music-emu
# Fix assertion at negative count value
git cherry-pick -n b667f79dcee5c380541dc90630bb33931be378c7
}
build() {
cmake -S game-music-emu-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE=Release
cmake -S game-music-emu -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr
cmake --build build
}