diff options
Diffstat (limited to 'abs/core/sdl')
-rw-r--r-- | abs/core/sdl/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/core/sdl/__changelog | 1 | ||||
-rw-r--r-- | abs/core/sdl/sdl-1.2.13-dynaminc-esd.patch | 12 |
3 files changed, 29 insertions, 11 deletions
diff --git a/abs/core/sdl/PKGBUILD b/abs/core/sdl/PKGBUILD index be6508a..dabe808 100644 --- a/abs/core/sdl/PKGBUILD +++ b/abs/core/sdl/PKGBUILD @@ -1,21 +1,26 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: dorphell <dorphell@archlinux.org> +# $Id: PKGBUILD 16059 2008-10-20 12:58:43Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> + pkgname=sdl pkgver=1.2.13 -pkgrel=1 +pkgrel=3 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard" -arch=(i686 x86_64) +arch=('i686' 'x86_64') +url="http://www.libsdl.org" license=('LGPL') depends=('glibc' 'libxext' 'libxrender' 'libx11') +makedepends=('alsa-lib' 'mesa') options=('!libtool') -makedepends=('alsa-lib' 'esd' 'mesa') -source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz) -url="http://www.libsdl.org" -md5sums=('c6660feea2a6834de10bc71b2f8e4d88') +source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz + sdl-1.2.13-dynaminc-esd.patch) +md5sums=('c6660feea2a6834de10bc71b2f8e4d88' + '7c2f51f526f3b905b6170f39a7015eb9') build() { - cd ${startdir}/src/SDL-${pkgver} - ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd --with-x + cd ${srcdir}/SDL-${pkgver} + patch -Np1 -i $srcdir/sdl-1.2.13-dynaminc-esd.patch + ./configure --prefix=/usr --disable-nasm --enable-alsa --disable-esd --with-x --disable-rpath make || return 1 - make DESTDIR=${startdir}/pkg install + make DESTDIR=${pkgdir} install } diff --git a/abs/core/sdl/__changelog b/abs/core/sdl/__changelog new file mode 100644 index 0000000..7556af0 --- /dev/null +++ b/abs/core/sdl/__changelog @@ -0,0 +1 @@ +disable esd diff --git a/abs/core/sdl/sdl-1.2.13-dynaminc-esd.patch b/abs/core/sdl/sdl-1.2.13-dynaminc-esd.patch new file mode 100644 index 0000000..3dab5fc --- /dev/null +++ b/abs/core/sdl/sdl-1.2.13-dynaminc-esd.patch @@ -0,0 +1,12 @@ +diff -Naur SDL-1.2.13-old/configure SDL-1.2.13/configure +--- SDL-1.2.13-old/configure 2007-12-31 15:09:39.000000000 +1000 ++++ SDL-1.2.13/configure 2008-10-20 22:22:36.000000000 +1000 +@@ -25382,7 +25382,7 @@ + enable_esd_shared=yes + fi + +- esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([^ ]*\).*/\1\/libesd.so.*/'` ++ esd_lib_spec="/usr/lib/libesd.so.*" + esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` + echo "-- $esd_lib_spec -> $esd_lib" + |