[arch-commits] Commit in (lib32-sdl2 lib32-sdl2/trunk lib32-sdl2/trunk/PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Jan 9 09:21:49 UTC 2016


    Date: Saturday, January 9, 2016 @ 10:21:49
  Author: alucryd
Revision: 155773

Add lib32-sdl2, also new dep of pcsx2

Added:
  lib32-sdl2/
  lib32-sdl2/trunk/
  lib32-sdl2/trunk/PKGBUILD

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Added: lib32-sdl2/trunk/PKGBUILD
===================================================================
--- lib32-sdl2/trunk/PKGBUILD	                        (rev 0)
+++ lib32-sdl2/trunk/PKGBUILD	2016-01-09 09:21:49 UTC (rev 155773)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: J0k3r <moebius282 at gmail.com>
+
+pkgname=lib32-sdl2
+pkgver=2.0.4
+pkgrel=2
+pkgdesc='Simple DirectMedia Layer'
+arch=('x86_64')
+url='http://www.libsdl.org'
+license=('MIT')
+depends=('lib32-libgl' 'lib32-libx11' 'lib32-libxext' 'lib32-libxrender'
+         'sdl2')
+makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse'
+             'lib32-libxinerama' 'lib32-libxkbcommon' 'lib32-libxrandr'
+             'lib32-wayland')
+optdepends=('lib32-alsa-lib: ALSA audio driver'
+            'lib32-libpulse: PulseAudio audio driver')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
+sha256sums=('da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b')
+
+build() {
+  cd SDL2-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --enable-{alsa,pulseaudio-shared,sdl-dlopen,video-wayland} \
+    --disable-{arts,esd,nas} \
+    --disable-input-tslib \
+    --disable-rpath
+  make
+}
+
+package() {
+  cd SDL2-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s sdl2 "${pkgdir}"/usr/share/licenses/lib32-sdl2
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-sdl2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list