* update allegro to 5.2.9.0-1

This commit is contained in:
Alexander Baldeck 2024-01-19 12:08:04 +01:00
parent 393de9dea9
commit ef355ef3e1

View File

@ -5,19 +5,18 @@
# Contributor: arjan <arjan@archlinux.org>
pkgname=allegro
pkgver=5.2.8.0
pkgrel=2
pkgver=5.2.9.0
pkgrel=1
pkgdesc='Portable library mainly aimed at video game and multimedia programming'
arch=(x86_64 powerpc64le powerpc riscv64)
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://liballeg.org/'
license=(custom)
makedepends=(cmake glu libtheora mesa-libgl ninja opusfile xorgproto)
depends=(dumb gtk3 jack libgl libpulse libtheora libwebp libxpm opusfile physfs)
source=("https://github.com/liballeg/allegro5/releases/download/$pkgver/allegro-$pkgver.tar.gz")
b2sums=('57c71bdc7fb37c75f10def64ffc9bfaa55443e5b6a0910d1c698c936318eed273873aacddbf49ba3a7e6d8c36d332e35f84db1156cc667a50f8f98313af23828')
b2sums=('423db21dd4ffd86a86f9e8b48cc1075c6168cf58a768f1f4b6050dd79b23a8a0d883ec0fe22c610eb1745c2b3bf06a94d1f0c45121fa6e9202df4ac0b8538d21')
build() {
export CFLAGS+=' -D_FILE_OFFSET_BITS=64'
cmake -B build -S $pkgname-$pkgver \
-D CMAKE_INSTALL_PREFIX=/usr \
-D WANT_DOCS_HTML=OFF \
@ -29,6 +28,4 @@ package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "$pkgname-$pkgver/LICENSE.txt" \
-t "$pkgdir/usr/share/licenses/$pkgname"
# Fix man path
#mv -v -f "$pkgdir/usr/man" "$pkgdir/usr/share/man"
}