Commit 1ddd250e authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/allegro: upgrade to 5.2.7.0

parent b06ac26d
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=allegro
pkgver=5.2.6.0
pkgver=5.2.7.0
pkgrel=0
arch="all !mips64 !aarch64" # Test fails #12254
arch="all"
url="https://liballeg.org"
pkgdesc="Portable library mainly aimed at video game and multimedia programming"
license="BSD-3-Clause"
......@@ -21,29 +21,32 @@ makedepends="
libtheora-dev
alsa-lib-dev
pulseaudio-dev
sdl2-dev
"
checkdepends="xvfb-run"
source="https://github.com/liballeg/allegro5/archive/$pkgver/allegro5-$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/allegro5-$pkgver"
build() {
# sdl2 is disabled for now as it's experimental still
# and the tests are crashing on it
# https://github.com/liballeg/allegro5/issues/1229
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DALLEGRO_SDL=ON \
-DWANT_TESTS=ON
-DALLEGRO_SDL=OFF \
-DWANT_TESTS=ON \
-DWANT_EXAMPLES=OFF \
-DWANT_DEMO=OFF
cmake --build build
}
check() {
cd build
xvfb-run tests/test_driver --no-display ../tests/test_*.ini
tests/test_driver --no-display ../tests/test_*.ini
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="d590c1a00d1b314c6946e0f6ad3e3a8b6e6309bada2ec38857186f817147ac99dae8a1c4412abe701af88da5dca3dd8f989a1da66630192643d3c08c0146b603 allegro5-5.2.6.0.tar.gz"
sha512sums="2b9b90e59f0f440ba90fe3fac0153245e96c46524c24fce74502569c2395a67aee73b83e4503ea21e7fe078113c4fb5752c984858e7f0647c9fa332415ddd3fe allegro5-5.2.7.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment