aboutsummaryrefslogtreecommitdiffstats
path: root/testing/allegro/APKBUILD
blob: d2afb3221aae7e90dd44142b80ff52bb657db192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"