aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-24 22:39:27 +0100
committerRasmus Thomsen <oss@cogitri.dev>2019-12-25 00:19:31 +0100
commit35eed014ef9578d5de5560d775954cb3643456ac (patch)
tree5e5ca62325d0c50ad4ec2dabf163de297cfe68b0
parent688429a4c8cbce2ec545f047a415f31ad63a7431 (diff)
downloadaports-35eed014ef9578d5de5560d775954cb3643456ac.tar.bz2
aports-35eed014ef9578d5de5560d775954cb3643456ac.tar.xz
testing/allegro: new aport
-rw-r--r--testing/allegro/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/allegro/APKBUILD b/testing/allegro/APKBUILD
new file mode 100644
index 0000000000..d2afb3221a
--- /dev/null
+++ b/testing/allegro/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=allegro
+pkgver=5.2.5.0
+pkgrel=0
+arch="all"
+url="https://liballeg.org"
+pkgdesc="Portable library mainly aimed at video game and multimedia programming"
+license="BSD-3-Clause"
+makedepends="cmake xorg-server-dev mesa-dev glu-dev libxcursor-dev libjpeg-turbo-dev
+ libwebp-dev flac-dev libvorbis-dev libxi-dev libtheora-dev alsa-lib-dev
+ pulseaudio-dev sdl2-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/liballeg/allegro5/archive/$pkgver/allegro5-$pkgver.tar.gz"
+subpackages="$pkgname-dev"
+options="!check" # No tests
+builddir="$srcdir/allegro5-$pkgver"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DALLEGRO_SDL=ON
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="9b97a46f0fd146c3958a5f8333822665ae06b984b3dbedc1356afdac8fe3248203347cb08b30ebda049a7320948c7844e9d00dc055c317836c2557b5bfc2ab04 allegro-5.2.5.0.tar.gz"