Commit db2b9dc1 authored by Giuseppe Cala's avatar Giuseppe Cala

updated lib32-sdl2 stack

parent 1966441c
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com> # maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2 _pkgbasename=sdl2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.0.0 pkgver=2.0.3
pkgrel=1 pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2.0, 32-bit)." pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2.0, 32-bit)."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -15,7 +13,7 @@ makedepends=('lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'cmake' 'lib32-libxr ...@@ -15,7 +13,7 @@ makedepends=('lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'cmake' 'lib32-libxr
optdepends=('lib32-alsa-lib: ALSA audio driver' optdepends=('lib32-alsa-lib: ALSA audio driver'
'lib32-libpulse: PulseAudio audio driver') 'lib32-libpulse: PulseAudio audio driver')
source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz") source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
sha256sums=('6f6ac8153d90e06a118474d5400624ae82b3d3e080915505db27cebc52b27178') md5sums=('fe6c61d2e9df9ef570e7e80c6e822537')
build() { build() {
cd "${srcdir}/SDL2-${pkgver}" cd "${srcdir}/SDL2-${pkgver}"
......
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com> # maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2_gfx _pkgbasename=sdl2_gfx
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=5 pkgver=1.0.0
pkgrel=1 pkgrel=1
pkgdesc="SDL Graphic Primitives (Version 2, 32-bit)" pkgdesc="SDL Graphic Primitives (Version 2, 32-bit)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.libsdl.org" url="http://www.libsdl.org"
license=('zlib') license=('zlib')
depends=('lib32-sdl2' $_pkgbasename=$pkgver) depends=('lib32-sdl2' $_pkgbasename=$pkgver)
makedepends=('svn' 'gcc-multilib') makedepends=('gcc-multilib')
options=(!libtool) options=(!libtool)
source=("sdl2-gfx::svn://svn.code.sf.net/p/sdl2gfx/code/trunk#revision=$pkgver") source=("http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
sha256sums=('SKIP') md5sums=('f008cc117cb901aec6bf5c2f0b11f7ea')
build() { build() {
cd "${srcdir}/sdl2-gfx/" cd "${srcdir}/SDL2_gfx-${pkgver}"
export CC="gcc -m32" export CC="gcc -m32"
export CXX="g++ -m32" export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./autogen.sh ./autogen.sh
./configure --disable-static --prefix=/usr --libdir=/usr/lib32 ./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make make
} }
package() { package() {
cd "${srcdir}/sdl2-gfx/" cd "${srcdir}/SDL2_gfx-${pkgver}"
make DESTDIR="${pkgdir}/" install make DESTDIR="${pkgdir}/" install
rm -rf "${pkgdir}"/usr/{include,share,bin} rm -rf "${pkgdir}"/usr/{include,share,bin}
} }
......
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com> # maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2_image _pkgbasename=sdl2_image
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.0.0 pkgver=2.0.0
pkgrel=1 pkgrel=2
pkgdesc="SDL2 image libraries (Version 2, 32-bit)" pkgdesc="SDL2 image libraries (Version 2, 32-bit)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.libsdl.org" url="http://www.libsdl.org"
...@@ -23,7 +21,9 @@ build() { ...@@ -23,7 +21,9 @@ build() {
export CXX="g++ -m32" export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --disable-static --prefix=/usr --libdir=/usr/lib32 ./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make make
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
_pkgbasename=sdl2_mixer _pkgbasename=sdl2_mixer
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.0.0 pkgver=2.0.0
pkgrel=2 pkgrel=3
pkgdesc="A simple multi-channel audio mixer (Version 2, 32-bit)" pkgdesc="A simple multi-channel audio mixer (Version 2, 32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.libsdl.org" url="http://www.libsdl.org"
...@@ -22,7 +22,9 @@ build() { ...@@ -22,7 +22,9 @@ build() {
export CXX="g++ -m32" export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --disable-static --prefix=/usr --libdir=/usr/lib32 ./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make make
} }
......
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com> # maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2_net _pkgbasename=sdl2_net
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=249 pkgver=2.0.0
pkgrel=1 pkgrel=1
pkgdesc="A small sample cross-platform networking library (Version 2, 32-bit)" pkgdesc="A small sample cross-platform networking library (Version 2, 32-bit)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.libsdl.org" url="http://www.libsdl.org/projects/SDL_net"
license=('MIT') license=('MIT')
depends=(lib32-sdl2 $_pkgbasename=$pkgver) depends=(lib32-sdl2 $_pkgbasename=$pkgver)
makedepends=(mercurial 'gcc-multilib') makedepends=('gcc-multilib')
options=(!libtool) options=(!libtool)
source=("sdl2_net::hg+http://hg.libsdl.org/SDL_net#revision=$pkgver") source=("$url/release/SDL2_net-${pkgver}.tar.gz")
md5sums=('SKIP') md5sums=('83bcd0e67796b81b35b08a014c677200')
build() { build() {
cd "${srcdir}/sdl2_net/" cd "${srcdir}/SDL2_net-${pkgver}/"
export CC="gcc -m32" export CC="gcc -m32"
export CXX="g++ -m32" export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
# sdl2_net requires automake 1.13 but it compiles fine with current version (1.11) in [core] ./configure --disable-static \
sed -i 's/1.13/1.11/g' ./configure --prefix=/usr \
--libdir=/usr/lib32
./autogen.sh
./configure --disable-static --prefix=/usr --libdir=/usr/lib32
make make
} }
package() { package() {
cd "${srcdir}/sdl2_net/" cd "${srcdir}/SDL2_net-${pkgver}/"
make DESTDIR="${pkgdir}/" install make DESTDIR="${pkgdir}/" install
rm -rf "${pkgdir}"/usr/{include,share,bin} rm -rf "${pkgdir}"/usr/{include,share,bin}
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
_pkgbasename=sdl2_ttf _pkgbasename=sdl2_ttf
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.0.12 pkgver=2.0.12
pkgrel=1 pkgrel=2
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2, 32-bit)" pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2, 32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.libsdl.org" url="http://www.libsdl.org"
......
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com> # maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=smpeg2 _pkgbasename=smpeg2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=412 pkgver=2.0.0
pkgrel=1 pkgrel=1
pkgdesc="SDL2 MPEG Player Library (32-bit)" pkgdesc="SDL2 MPEG Player Library (32-bit)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -14,11 +12,11 @@ depends=('lib32-sdl2' $_pkgbasename=$pkgver) ...@@ -14,11 +12,11 @@ depends=('lib32-sdl2' $_pkgbasename=$pkgver)
makedepends=('lib32-mesa' 'lib32-glu' 'svn' 'gcc-multilib') makedepends=('lib32-mesa' 'lib32-glu' 'svn' 'gcc-multilib')
optdepends=('lib32-glu: to use glmovie') optdepends=('lib32-glu: to use glmovie')
options=('!libtool') options=('!libtool')
source=(svn://svn.icculus.org/smpeg/trunk#revision=$pkgver) source=("${_pkgbasename}::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
md5sums=('SKIP') md5sums=('SKIP')
build() { build() {
cd ${srcdir}/trunk cd ${srcdir}/${_pkgbasename}
export CC="gcc -m32" export CC="gcc -m32"
export CXX="g++ -m32" export CXX="g++ -m32"
...@@ -34,7 +32,7 @@ build() { ...@@ -34,7 +32,7 @@ build() {
} }
package() { package() {
cd ${srcdir}/trunk cd ${srcdir}/${_pkgbasename}
make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{include,share,bin} rm -rf "${pkgdir}"/usr/{include,share,bin}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment