2016-03-03 03:06:18 +01:00
|
|
|
# Template file for 'allegro5'.
|
|
|
|
pkgname=allegro5
|
2018-01-04 16:11:09 +01:00
|
|
|
version=5.2.3.0
|
2016-08-04 19:56:54 +02:00
|
|
|
revision=1
|
2018-01-04 16:11:09 +01:00
|
|
|
wrksrc="allegro-${version}"
|
2016-03-03 03:06:18 +01:00
|
|
|
build_style=cmake
|
2016-04-29 07:38:35 +02:00
|
|
|
configure_args="-DWANT_DOCS=1 -DWANT_PHYSFS=1"
|
|
|
|
hostmakedepends="pkg-config"
|
2016-03-03 03:06:18 +01:00
|
|
|
makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
|
2016-04-29 07:38:35 +02:00
|
|
|
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel
|
|
|
|
libjpeg-turbo-devel libtheora-devel freetype-devel libflac-devel physfs-devel
|
|
|
|
libopenal-devel"
|
2016-03-03 03:06:18 +01:00
|
|
|
depends="libGL"
|
|
|
|
short_desc="Portable library mainly aimed at video game and multimedia programming"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
|
|
license="Allegro License (MIT alike)"
|
2018-01-04 16:11:09 +01:00
|
|
|
homepage="http://liballeg.org/"
|
|
|
|
distfiles="https://github.com/liballeg/allegro5/releases/download/${version}/allegro-${version}.tar.gz"
|
|
|
|
checksum=5a4d40601899492b697ad5cfdf11d8265fe554036a2c912c86a6e6d23001f905
|
2016-03-03 03:06:18 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
allegro5-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2016-04-29 07:38:35 +02:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2016-03-03 03:06:18 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|