aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-03-12 09:57:45 +0100
committerBart Ribbers <bribbers@disroot.org>2021-03-31 15:45:51 +0200
commit1ddd250e8eb74194cdc6280522a9c9407f58c2ce (patch)
tree3a88ca41db402ff333a27c57b1dfb28a691da590
parentb06ac26d16a9185c370d431ac7a238ab7c6b7a82 (diff)
downloadaports-1ddd250e8eb74194cdc6280522a9c9407f58c2ce.tar.gz
aports-1ddd250e8eb74194cdc6280522a9c9407f58c2ce.tar.bz2
aports-1ddd250e8eb74194cdc6280522a9c9407f58c2ce.tar.xz
community/allegro: upgrade to 5.2.7.0
-rw-r--r--community/allegro/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/community/allegro/APKBUILD b/community/allegro/APKBUILD
index 5443c2c656..755f4b56c5 100644
--- a/community/allegro/APKBUILD
+++ b/community/allegro/APKBUILD
@@ -1,9 +1,9 @@
# 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"