allegro5: enable all features except dumb; fix -devel depends.

This commit is contained in:
Juan RP 2016-04-29 07:38:35 +02:00
parent 2ce375ba67
commit 637e27fed3
1 changed files with 7 additions and 5 deletions

View File

@ -1,13 +1,15 @@
# Template file for 'allegro5'.
pkgname=allegro5
version=5.2.0
revision=1
revision=2
wrksrc="allegro-${version}.0"
build_style=cmake
configure_args="-DWANT_DOCS=OFF -DWANT_PHYSFS=ON"
hostmakedepends="pkg-config cmake"
configure_args="-DWANT_DOCS=1 -DWANT_PHYSFS=1"
hostmakedepends="pkg-config"
makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel"
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel
libjpeg-turbo-devel libtheora-devel freetype-devel libflac-devel physfs-devel
libopenal-devel"
depends="libGL"
short_desc="Portable library mainly aimed at video game and multimedia programming"
maintainer="Diogo Leal <diogo@diogoleal.com>"
@ -22,7 +24,7 @@ post_install() {
allegro5-devel_package() {
short_desc+=" - development files"
depends="${makedepends}=${version}_${revision}"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"