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

2020-03-18 Thread Maxime Gauduin via arch-commits
Date: Wednesday, March 18, 2020 @ 09:58:29
  Author: alucryd
Revision: 600500

upgpkg: lib32-sdl2 2.0.12-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |   26 --
 1 file changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-18 09:51:52 UTC (rev 600499)
+++ PKGBUILD2020-03-18 09:58:29 UTC (rev 600500)
@@ -3,9 +3,9 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.10
+pkgver=2.0.12
 pkgrel=1
-pkgdesc='A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2. 32 -bit)'
+pkgdesc='A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard'
 arch=(x86_64)
 url=https://www.libsdl.org
 license=(MIT)
@@ -37,30 +37,28 @@
   'lib32-libpulse: PulseAudio audio driver'
   'lib32-jack: JACK audio driver'
 )
-source=(hg+https://hg.libsdl.org/SDL#tag=release-${pkgver})
+source=(hg+https://hg.libsdl.org/SDL#tag=355a4f94a782)
 sha512sums=(SKIP)
 
+pkgver() {
+  cd SDL
+
+  hg id --tags | sed 's/^release-//'
+}
+
 prepare() {
-  if [[ -d build ]]; then
-rm -rf build
-  fi
-  mkdir build
-
   # fix libdir
   sed -i 's|lib/cmake|lib32/cmake|' SDL/CMakeLists.txt
   # Don't try to link against ibus
   sed -i '/pkg_search_module.*ibus-1.0/d' SDL/CMakeLists.txt
-
 }
 
 build() {
-  cd build
-
   export CC='gcc -m32'
   export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
-  cmake ../SDL \
+  cmake -S SDL -B build \
   -DCMAKE_INSTALL_PREFIX=/usr \
   -DLIB_SUFFIX=32 \
   -DSDL_STATIC=OFF \
@@ -74,7 +72,7 @@
   -DRPATH=OFF \
   -DCLOCK_GETTIME=ON \
   -DJACK_SHARED=ON
-  make
+  make -C build
 }
 
 package() {


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

2019-08-12 Thread Maxime Gauduin via arch-commits
Date: Monday, August 12, 2019 @ 09:18:24
  Author: alucryd
Revision: 499006

upgpkg: lib32-sdl2 2.0.10-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |   72 ++---
 1 file changed, 45 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-12 09:05:50 UTC (rev 499005)
+++ PKGBUILD2019-08-12 09:18:24 UTC (rev 499006)
@@ -3,44 +3,64 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.9
+pkgver=2.0.10
 pkgrel=1
-pkgdesc="A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2. 32 -bit)"
-arch=('x86_64')
-url="https://www.libsdl.org;
-license=('MIT')
-depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 
'lib32-libgl'
- 'lib32-libxcursor' 'sdl2')
-makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 
'lib32-libxrandr'
- 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 
'wayland-protocols'
- 'lib32-libxss' 'cmake' 'jack')
-optdepends=('lib32-alsa-lib: ALSA audio driver'
-'lib32-libpulse: PulseAudio audio driver'
-'lib32-jack: JACK audio driver')
-source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
-sha512sums=('a78a4708b2bb5b35a7c7b7501eb3bd60a9aa3bb95a3d84e57763df4a377185e7312a94b66321eef7ca0d17255e4b402fc950e83ef0dbbd08f14ff1194107dc10'
-'SKIP')
-validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
+pkgdesc='A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2. 32 -bit)'
+arch=(x86_64)
+url=https://www.libsdl.org
+license=(MIT)
+depends=(
+  lib32-glibc
+  lib32-libxext
+  lib32-libxrender
+  lib32-libx11
+  lib32-libgl
+  lib32-libxcursor
+  sdl2
+)
+makedepends=(
+  cmake
+  jack
+  lib32-alsa-lib
+  lib32-mesa
+  lib32-libpulse
+  lib32-libxrandr
+  lib32-libxinerama
+  lib32-wayland
+  lib32-libxkbcommon
+  lib32-libxss
+  mercurial
+  wayland-protocols
+)
+optdepends=(
+  'lib32-alsa-lib: ALSA audio driver'
+  'lib32-libpulse: PulseAudio audio driver'
+  'lib32-jack: JACK audio driver'
+)
+source=(hg+https://hg.libsdl.org/SDL#tag=release-${pkgver})
+sha512sums=(SKIP)
 
 prepare() {
-  cd SDL2-${pkgver}
+  if [[ -d build ]]; then
+rm -rf build
+  fi
+  mkdir build
 
-  sed -i 's|lib/cmake|lib32/cmake|' CMakeLists.txt
-
+  # fix libdir
+  sed -i 's|lib/cmake|lib32/cmake|' SDL/CMakeLists.txt
   # Don't try to link against ibus
-  sed -i '/pkg_search_module.*ibus-1.0/d' CMakeLists.txt
+  sed -i '/pkg_search_module.*ibus-1.0/d' SDL/CMakeLists.txt
 
-  mkdir build
 }
 
 build() {
-  cd SDL2-${pkgver}/build
+  cd build
 
   export CC='gcc -m32'
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  cmake .. \
+  cmake ../SDL \
   -DCMAKE_INSTALL_PREFIX=/usr \
   -DLIB_SUFFIX=32 \
   -DSDL_STATIC=OFF \
@@ -58,9 +78,7 @@
 }
 
 package() {
-  cd SDL2-${pkgver}/build
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C build install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 
   sed -i "s/libSDL2\.a/libSDL2main.a/g" 
"$pkgdir"/usr/lib32/cmake/SDL2/SDL2Targets-noconfig.cmake


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

2018-11-01 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, November 1, 2018 @ 17:12:19
  Author: svenstaro
Revision: 401129

upgpkg: lib32-sdl2 2.0.9-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-01 17:01:21 UTC (rev 401128)
+++ PKGBUILD2018-11-01 17:12:19 UTC (rev 401129)
@@ -3,8 +3,8 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.8
-pkgrel=10
+pkgver=2.0.9
+pkgrel=1
 pkgdesc="A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2. 32 -bit)"
 arch=('x86_64')
 url="https://www.libsdl.org;
@@ -17,26 +17,19 @@
 optdepends=('lib32-alsa-lib: ALSA audio driver'
 'lib32-libpulse: PulseAudio audio driver'
 'lib32-jack: JACK audio driver')
-source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig}
-cmake-include-paths.patch dynapi.patch)
-sha512sums=('673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869'
-'SKIP'
-
'53eb853153b189bd9c0978ab8c7375608b6df5fc78e22168505bf9f6e695f6fbdc553eead0b17deb734002e047c6d5ae06642363fc629aa9ab7bef0c30388c84'
-
'bdb634b070af2f67fddcdd7908fe9ec0ea49d6edb013c35aaf1dbc840f941072ee16b21e5158de500aa5ec81165780a3aaf03e27d8bb30d50c2efb2a5465f824')
+source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
+sha512sums=('a78a4708b2bb5b35a7c7b7501eb3bd60a9aa3bb95a3d84e57763df4a377185e7312a94b66321eef7ca0d17255e4b402fc950e83ef0dbbd08f14ff1194107dc10'
+'SKIP')
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
 
 prepare() {
   cd SDL2-${pkgver}
 
-  patch -Np1 -i "${srcdir}"/cmake-include-paths.patch
   sed -i 's|lib/cmake|lib32/cmake|' CMakeLists.txt
 
   # Don't try to link against ibus
   sed -i '/pkg_search_module.*ibus-1.0/d' CMakeLists.txt
 
-  # Taken from Fedora; fixes "Firewatch" and "Enter the Gungeon"
-  patch -Np1 -i "${srcdir}"/dynapi.patch
-
   mkdir build
 }
 


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

2018-10-30 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, October 30, 2018 @ 12:23:07
  Author: svenstaro
Revision: 399618

upgpkg: lib32-sdl2 2.0.8-10

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-30 12:20:08 UTC (rev 399617)
+++ PKGBUILD2018-10-30 12:23:07 UTC (rev 399618)
@@ -4,7 +4,7 @@
 
 pkgname=lib32-sdl2
 pkgver=2.0.8
-pkgrel=9
+pkgrel=10
 pkgdesc="A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2. 32 -bit)"
 arch=('x86_64')
 url="https://www.libsdl.org;


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

2018-10-30 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, October 30, 2018 @ 12:19:59
  Author: svenstaro
Revision: 399616

upgpkg: lib32-sdl2 2.0.8-9

Use jack instead of jack2

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-30 10:47:36 UTC (rev 399615)
+++ PKGBUILD2018-10-30 12:19:59 UTC (rev 399616)
@@ -13,9 +13,10 @@
  'lib32-libxcursor' 'sdl2')
 makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 
'lib32-libxrandr'
  'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 
'wayland-protocols'
- 'lib32-libxss' 'cmake')
+ 'lib32-libxss' 'cmake' 'jack')
 optdepends=('lib32-alsa-lib: ALSA audio driver'
-'lib32-libpulse: PulseAudio audio driver')
+'lib32-libpulse: PulseAudio audio driver'
+'lib32-jack: JACK audio driver')
 source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig}
 cmake-include-paths.patch dynapi.patch)
 
sha512sums=('673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869'
@@ -36,7 +37,6 @@
   # Taken from Fedora; fixes "Firewatch" and "Enter the Gungeon"
   patch -Np1 -i "${srcdir}"/dynapi.patch
 
-  rm -rf build
   mkdir build
 }
 
@@ -59,7 +59,8 @@
   -DPULSEAUDIO_SHARED=ON \
   -DVIDEO_WAYLAND=ON \
   -DRPATH=OFF \
-  -DCLOCK_GETTIME=ON
+  -DCLOCK_GETTIME=ON \
+  -DJACK_SHARED=ON
   make
 }
 


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

2018-03-06 Thread Maxime Gauduin via arch-commits
Date: Tuesday, March 6, 2018 @ 22:03:17
  Author: alucryd
Revision: 303327

upgpkg: lib32-sdl2 2.0.8-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-06 21:46:04 UTC (rev 303326)
+++ PKGBUILD2018-03-06 22:03:17 UTC (rev 303327)
@@ -4,7 +4,7 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.7
+pkgver=2.0.8
 pkgrel=1
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
@@ -19,7 +19,7 @@
 'lib32-libpulse: PulseAudio audio driver')
 source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
-sha256sums=('ee35c74c4313e2eda104b14b1b86f7db84a04eeab9430d56e001cea268bf4d5e'
+sha256sums=('edc77c57308661d576e843344d8638e025a7818bff73f8fbfab09c3c5fd092ec'
 'SKIP')
 
 build() {


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

2017-11-02 Thread Maxime Gauduin
Date: Thursday, November 2, 2017 @ 15:12:02
  Author: alucryd
Revision: 265152

upgpkg: lib32-sdl2 2.0.7-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-02 15:07:59 UTC (rev 265151)
+++ PKGBUILD2017-11-02 15:12:02 UTC (rev 265152)
@@ -4,7 +4,7 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.6
+pkgver=2.0.7
 pkgrel=1
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
@@ -19,7 +19,7 @@
 'lib32-libpulse: PulseAudio audio driver')
 source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
-sha256sums=('03658b5660d16d7b31263a691e058ed37acdab155d68dabbad79998fb552c5df'
+sha256sums=('ee35c74c4313e2eda104b14b1b86f7db84a04eeab9430d56e001cea268bf4d5e'
 'SKIP')
 
 build() {


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

2017-09-28 Thread Sven-Hendrik Haase
Date: Thursday, September 28, 2017 @ 13:09:10
  Author: svenstaro
Revision: 260781

upgpkg: lib32-sdl2 2.0.6-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-28 12:09:35 UTC (rev 260780)
+++ PKGBUILD2017-09-28 13:09:10 UTC (rev 260781)
@@ -4,8 +4,8 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.5
-pkgrel=3
+pkgver=2.0.6
+pkgrel=1
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
 url='https://www.libsdl.org'
@@ -19,7 +19,7 @@
 'lib32-libpulse: PulseAudio audio driver')
 source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
-sha256sums=('442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785'
+sha256sums=('03658b5660d16d7b31263a691e058ed37acdab155d68dabbad79998fb552c5df'
 'SKIP')
 
 build() {


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

2017-07-14 Thread Maxime Gauduin
Date: Friday, July 14, 2017 @ 14:13:04
  Author: alucryd
Revision: 245095

PIE rebuild: lib32-sdl2 2.0.5-3

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-14 14:04:54 UTC (rev 245094)
+++ PKGBUILD2017-07-14 14:13:04 UTC (rev 245095)
@@ -5,7 +5,7 @@
 
 pkgname=lib32-sdl2
 pkgver=2.0.5
-pkgrel=2
+pkgrel=3
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
 url='https://www.libsdl.org'


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

2016-11-02 Thread Maxime Gauduin
Date: Wednesday, November 2, 2016 @ 14:57:31
  Author: alucryd
Revision: 194486

HTTPS/GPG todo

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-02 14:55:56 UTC (rev 194485)
+++ PKGBUILD2016-11-02 14:57:31 UTC (rev 194486)
@@ -8,7 +8,7 @@
 pkgrel=2
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
-url='http://www.libsdl.org'
+url='https://www.libsdl.org'
 license=('MIT')
 depends=('lib32-libgl' 'lib32-libx11' 'lib32-libxext' 'lib32-libxrender'
  'sdl2')
@@ -17,10 +17,10 @@
  'lib32-wayland' 'wayland-protocols')
 optdepends=('lib32-alsa-lib: ALSA audio driver'
 'lib32-libpulse: PulseAudio audio driver')
-source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
+source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
 sha256sums=('442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785'
 'SKIP')
-validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
 
 build() {
   cd SDL2-${pkgver}


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

2016-10-30 Thread Maxime Gauduin
Date: Sunday, October 30, 2016 @ 17:55:49
  Author: alucryd
Revision: 194035

FS#51589: lib32-sdl2 2.0.5-2

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-30 17:52:26 UTC (rev 194034)
+++ PKGBUILD2016-10-30 17:55:49 UTC (rev 194035)
@@ -5,7 +5,7 @@
 
 pkgname=lib32-sdl2
 pkgver=2.0.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
 url='http://www.libsdl.org'
@@ -14,7 +14,7 @@
  'sdl2')
 makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse'
  'lib32-libxinerama' 'lib32-libxkbcommon' 'lib32-libxrandr'
- 'lib32-wayland')
+ 'lib32-wayland' 'wayland-protocols')
 optdepends=('lib32-alsa-lib: ALSA audio driver'
 'lib32-libpulse: PulseAudio audio driver')
 source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
@@ -34,7 +34,6 @@
 --libdir='/usr/lib32' \
 --enable-{alsa,pulseaudio-shared,sdl-dlopen,video-wayland} \
 --disable-{arts,esd,nas} \
---disable-input-tslib \
 --disable-rpath
   make
 }


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

2016-10-30 Thread Maxime Gauduin
Date: Sunday, October 30, 2016 @ 14:13:19
  Author: alucryd
Revision: 193998

upgpkg: lib32-sdl2 2.0.5-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-30 13:40:55 UTC (rev 193997)
+++ PKGBUILD2016-10-30 14:13:19 UTC (rev 193998)
@@ -4,8 +4,8 @@
 # Contributor: J0k3r 
 
 pkgname=lib32-sdl2
-pkgver=2.0.4
-pkgrel=2
+pkgver=2.0.5
+pkgrel=1
 pkgdesc='Simple DirectMedia Layer'
 arch=('x86_64')
 url='http://www.libsdl.org'
@@ -17,8 +17,10 @@
  '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')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
+sha256sums=('442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785'
+'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
 
 build() {
   cd SDL2-${pkgver}


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

2014-03-16 Thread Maxime Gauduin
Date: Monday, March 17, 2014 @ 00:54:55
  Author: alucryd
Revision: 107310

upgpkg: lib32-sdl2 2.0.3-1

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |   19 ++-
 1 file changed, 6 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-16 23:42:56 UTC (rev 107309)
+++ PKGBUILD2014-03-16 23:54:55 UTC (rev 107310)
@@ -4,8 +4,8 @@
 # Contributor: J0k3r moebius...@gmail.com
 
 pkgname=lib32-sdl2
-pkgver=2.0.2
-pkgrel=2
+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=('x86_64')
 url='http://www.libsdl.org'
@@ -15,28 +15,21 @@
 optdepends=('lib32-alsa-lib: ALSA audio driver'
 'lib32-libpulse: PulseAudio audio driver')
 source=(${url}/release/SDL2-${pkgver}.tar.gz)
-sha256sums=('590157f85a8a8b52723848169a74eec6ca07ab4a75cec15beedde648f980e850')
+sha256sums=('a5a69a6abf80bcce713fa873607735fe712f44276a7f048d60a61bb2f6b3c90c')
 
-prepare() {
-  if [[ -d build ]]; then
-rm -rf build
-  fi
-  mkdir build
-}
-
 build() {
-  cd build
+  cd SDL2-${pkgver}
 
   export CC='gcc -m32'
   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,video-wayland} 
--disable-{arts,esd,nas,rpath}
+  ./configure --prefix='/usr' --libdir='/usr/lib32' 
--enable-{alsa,pulseaudio-shared,sdl-dlopen,video-wayland} 
--disable-{arts,esd,nas,rpath}
   make
 }
 
 package() {
-  cd build
+  cd SDL2-${pkgver}
 
   make DESTDIR=${pkgdir} install
   rm -rf ${pkgdir}/usr/{bin,include,share}



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

2014-03-09 Thread Bartłomiej Piotrowski
Date: Sunday, March 9, 2014 @ 13:49:44
  Author: bpiotrowski
Revision: 106880

upgpkg: lib32-sdl2 2.0.2-1

sync pkgver with extra/community

Modified:
  lib32-sdl2/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-09 12:49:43 UTC (rev 106879)
+++ PKGBUILD2014-03-09 12:49:44 UTC (rev 106880)
@@ -4,8 +4,8 @@
 # Contributor: J0k3r moebius...@gmail.com
 
 pkgname=lib32-sdl2
-pkgver=2.0.1
-pkgrel=2
+pkgver=2.0.2
+pkgrel=1
 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'
@@ -15,7 +15,7 @@
 optdepends=('lib32-alsa-lib: ALSA audio driver'
 'lib32-libpulse: PulseAudio audio driver')
 source=(${url}/release/SDL2-${pkgver}.tar.gz)
-sha256sums=('0ae7e902a26777614a011fe7053ca7e8b14843db3c42ca117564d208cf6732f0')
+sha256sums=('590157f85a8a8b52723848169a74eec6ca07ab4a75cec15beedde648f980e850')
 
 prepare() {
   if [[ -d build ]]; then