SDL: SDL/SDL_opengl.h uses GL/glu.h, thus make -devel depend on glu-devel.

This commit is contained in:
Juan RP 2012-12-20 16:32:58 +01:00
parent dbeda0ddee
commit 4893c2fbd8
2 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'SDL-devel'.
#
noarch=yes
depends="${sourcepkg}>=${version}"
depends="glu-devel ${sourcepkg}>=${version}"
short_desc="${short_desc} (development files)"
long_desc="${long_desc}

View File

@ -1,16 +1,12 @@
# Template file for 'SDL'
pkgname=SDL
version=1.2.15
revision=3
revision=4
patch_args="-Np1"
build_style=gnu-configure
configure_args="--enable-alsa --disable-esd --disable-rpath
--enable-clock_gettime --disable-nas --disable-arts --disable-static"
subpackages="SDL-devel"
# The following run-time dependencies are dlopen(3)ed.
depends="libX11 libXext libXrender libXi alsa-lib libpulseaudio"
makedepends="pkg-config nasm libXext-devel libXrender-devel libX11-devel
MesaLib-devel alsa-lib-devel pulseaudio-devel"
short_desc="Simple Directmedia Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libsdl.org/"
@ -24,6 +20,11 @@ long_desc="
emulators, and many popular games, including the award winning Linux port
of Civilization: Call To Power."
# The following run-time dependencies are dlopen(3)ed.
depends="libX11 libXext libXrender libXi alsa-lib libpulseaudio"
makedepends="pkg-config nasm libXext-devel libXrender-devel libX11-devel
MesaLib-devel alsa-lib-devel pulseaudio-devel"
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}