summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 04:29:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 04:29:44 (GMT)
commit0220530acafa74d769569102ea5049e11986de05 (patch)
tree9731311bd78103f646a2befbb46d61157c742170 /abs
parent56ba5f3c5e06af89fd0bf710839635d3e5f1ac60 (diff)
downloadlinhes_pkgbuild-0220530acafa74d769569102ea5049e11986de05.zip
linhes_pkgbuild-0220530acafa74d769569102ea5049e11986de05.tar.gz
linhes_pkgbuild-0220530acafa74d769569102ea5049e11986de05.tar.bz2
Adding sdl, as it appears to be missing.
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/sdl/PKGBUILD26
-rw-r--r--abs/core-testing/sdl/__changelog1
-rw-r--r--abs/core-testing/sdl/sdl-1.2.13-dynaminc-esd.patch12
3 files changed, 39 insertions, 0 deletions
diff --git a/abs/core-testing/sdl/PKGBUILD b/abs/core-testing/sdl/PKGBUILD
new file mode 100644
index 0000000..dabe808
--- /dev/null
+++ b/abs/core-testing/sdl/PKGBUILD
@@ -0,0 +1,26 @@
+# $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=3
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('LGPL')
+depends=('glibc' 'libxext' 'libxrender' 'libx11')
+makedepends=('alsa-lib' 'mesa')
+options=('!libtool')
+source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
+ sdl-1.2.13-dynaminc-esd.patch)
+md5sums=('c6660feea2a6834de10bc71b2f8e4d88'
+ '7c2f51f526f3b905b6170f39a7015eb9')
+
+build() {
+ 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=${pkgdir} install
+}
diff --git a/abs/core-testing/sdl/__changelog b/abs/core-testing/sdl/__changelog
new file mode 100644
index 0000000..7556af0
--- /dev/null
+++ b/abs/core-testing/sdl/__changelog
@@ -0,0 +1 @@
+disable esd
diff --git a/abs/core-testing/sdl/sdl-1.2.13-dynaminc-esd.patch b/abs/core-testing/sdl/sdl-1.2.13-dynaminc-esd.patch
new file mode 100644
index 0000000..3dab5fc
--- /dev/null
+++ b/abs/core-testing/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"
+