summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-16 19:00:18 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-16 19:00:18 (GMT)
commit25463843caa139a071b123f94c6ef80dcc13d827 (patch)
tree261c5b11d36f5e2445f1b217e3dde60d5f743350 /abs
parent5011882f5e2221820693ba1ecf216ac51b7b0f83 (diff)
downloadlinhes_pkgbuild-25463843caa139a071b123f94c6ef80dcc13d827.zip
linhes_pkgbuild-25463843caa139a071b123f94c6ef80dcc13d827.tar.gz
linhes_pkgbuild-25463843caa139a071b123f94c6ef80dcc13d827.tar.bz2
sdl2: dep of dolphin-emu
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/sdl2/PKGBUILD34
-rw-r--r--abs/extra/sdl2/__changelog2
2 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra/sdl2/PKGBUILD b/abs/extra/sdl2/PKGBUILD
new file mode 100644
index 0000000..0511e43
--- /dev/null
+++ b/abs/extra/sdl2/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+pkgname=sdl2
+pkgver=2.0.3
+pkgrel=1
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('MIT')
+depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl' 'libxcursor')
+makedepends=('alsa-lib' 'mesa' 'libxrandr' 'libxinerama' 'wayland' 'libxkbcommon')
+optdepends=('alsa-lib: ALSA audio driver')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
+md5sums=('fe6c61d2e9df9ef570e7e80c6e822537')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ ../SDL2-$pkgver/configure --prefix=/usr \
+ --enable-sdl-dlopen \
+ --disable-arts --disable-esd --disable-nas \
+ --enable-alsa --disable-pulseaudio-shared \
+ --enable-video-wayland \
+ --disable-rpath
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 ../SDL2-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/abs/extra/sdl2/__changelog b/abs/extra/sdl2/__changelog
new file mode 100644
index 0000000..8f75429
--- /dev/null
+++ b/abs/extra/sdl2/__changelog
@@ -0,0 +1,2 @@
+PKGBUILD: remove libpulse dep
+PKGBUILD: in configure: --disable-pulseaudio-shared