[arch-commits] Commit in (5 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Wed Mar 12 16:31:37 UTC 2014
Date: Wednesday, March 12, 2014 @ 17:31:37
Author: alucryd
Revision: 107107
Add lib32-libxkbcommon and add wayland support in lib32-sdl2
Added:
lib32-libxkbcommon/
lib32-libxkbcommon/repos/
lib32-libxkbcommon/trunk/
lib32-libxkbcommon/trunk/PKGBUILD
Modified:
lib32-sdl2/trunk/PKGBUILD
-----------------------------------+
lib32-libxkbcommon/trunk/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
lib32-sdl2/trunk/PKGBUILD | 8 +++----
2 files changed, 44 insertions(+), 4 deletions(-)
Added: lib32-libxkbcommon/trunk/PKGBUILD
===================================================================
--- lib32-libxkbcommon/trunk/PKGBUILD (rev 0)
+++ lib32-libxkbcommon/trunk/PKGBUILD 2014-03-12 16:31:37 UTC (rev 107107)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Jan Alexander Steffens <jan.steffens at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Mladen Pejakovic <pejakm at gmail.com>
+
+pkgname=lib32-libxkbcommon
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='Keyboard handling library using XKB data'
+arch=('x86_64')
+url='http://xkbcommon.org/'
+license=('custom')
+depends=('lib32-glibc' "${pkgname#*-}")
+makedepends=('lib32-libxcb' 'xorg-util-macros')
+source=("http://xkbcommon.org/download/${pkgname#*-}-${pkgver}.tar.xz")
+sha256sums=('2dc018e830d1befaf4822615204138318da3fff0112f78f3a7c638fa617375b8')
+
+build() {
+ cd ${pkgname#*-}-${pkgver}
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure --prefix='/usr' --libdir='/usr/lib32' --disable-{docs,static,x11}
+ make
+}
+
+package() {
+ cd ${pkgname#*-}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/include
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s ${pkgname#*-} "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: lib32-libxkbcommon/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Modified: lib32-sdl2/trunk/PKGBUILD
===================================================================
--- lib32-sdl2/trunk/PKGBUILD 2014-03-12 15:44:58 UTC (rev 107106)
+++ lib32-sdl2/trunk/PKGBUILD 2014-03-12 16:31:37 UTC (rev 107107)
@@ -5,13 +5,13 @@
pkgname=lib32-sdl2
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)'
arch=('x86_64')
url='http://www.libsdl.org'
license=('MIT')
depends=('lib32-libgl' 'lib32-libx11' 'lib32-libxext' 'lib32-libxrender' "${pkgname#*-}")
-makedepends=('lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxinerama' 'lib32-libxrandr')
+makedepends=('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=("${url}/release/SDL2-${pkgver}.tar.gz")
@@ -31,7 +31,7 @@
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- ../SDL2-${pkgver}/configure --prefix='/usr' --libdir='/usr/lib32' --enable-{alsa,pulseaudio-shared,sdl-dlopen} --disable-{arts,esd,nas,rpath}
+ ../SDL2-${pkgver}/configure --prefix='/usr' --libdir='/usr/lib32' --enable-{alsa,pulseaudio-shared,sdl-dlopen,video-wayland} --disable-{arts,esd,nas,rpath}
make
}
@@ -38,7 +38,7 @@
package() {
cd build
- make DESTDIR="$pkgdir" install
+ make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share}
install -dm 755 "${pkgdir}"/usr/share/licenses
More information about the arch-commits
mailing list