updated lib32-sdl2 stack

This commit is contained in:
Giuseppe Cala 2014-05-18 14:20:24 +00:00
parent 1966441c30
commit db2b9dc12d
7 changed files with 34 additions and 40 deletions

View File

@ -1,10 +1,8 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2
pkgname=lib32-$_pkgbasename
pkgver=2.0.0
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.0, 32-bit)."
arch=('i686' 'x86_64')
@ -15,7 +13,7 @@ makedepends=('lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'cmake' 'lib32-libxr
optdepends=('lib32-alsa-lib: ALSA audio driver'
'lib32-libpulse: PulseAudio audio driver')
source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
sha256sums=('6f6ac8153d90e06a118474d5400624ae82b3d3e080915505db27cebc52b27178')
md5sums=('fe6c61d2e9df9ef570e7e80c6e822537')
build() {
cd "${srcdir}/SDL2-${pkgver}"

View File

@ -1,35 +1,35 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2_gfx
pkgname=lib32-$_pkgbasename
pkgver=5
pkgver=1.0.0
pkgrel=1
pkgdesc="SDL Graphic Primitives (Version 2, 32-bit)"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
license=('zlib')
depends=('lib32-sdl2' $_pkgbasename=$pkgver)
makedepends=('svn' 'gcc-multilib')
makedepends=('gcc-multilib')
options=(!libtool)
source=("sdl2-gfx::svn://svn.code.sf.net/p/sdl2gfx/code/trunk#revision=$pkgver")
sha256sums=('SKIP')
source=("http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
md5sums=('f008cc117cb901aec6bf5c2f0b11f7ea')
build() {
cd "${srcdir}/sdl2-gfx/"
cd "${srcdir}/SDL2_gfx-${pkgver}"
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./autogen.sh
./configure --disable-static --prefix=/usr --libdir=/usr/lib32
./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/sdl2-gfx/"
cd "${srcdir}/SDL2_gfx-${pkgver}"
make DESTDIR="${pkgdir}/" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}

View File

@ -1,11 +1,9 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2_image
pkgname=lib32-$_pkgbasename
pkgver=2.0.0
pkgrel=1
pkgrel=2
pkgdesc="SDL2 image libraries (Version 2, 32-bit)"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
@ -23,7 +21,9 @@ build() {
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --disable-static --prefix=/usr --libdir=/usr/lib32
./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make
}

View File

@ -3,7 +3,7 @@
_pkgbasename=sdl2_mixer
pkgname=lib32-$_pkgbasename
pkgver=2.0.0
pkgrel=2
pkgrel=3
pkgdesc="A simple multi-channel audio mixer (Version 2, 32-bit)"
arch=('x86_64')
url="http://www.libsdl.org"
@ -22,7 +22,9 @@ build() {
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --disable-static --prefix=/usr --libdir=/usr/lib32
./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make
}

View File

@ -1,38 +1,34 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=sdl2_net
pkgname=lib32-$_pkgbasename
pkgver=249
pkgver=2.0.0
pkgrel=1
pkgdesc="A small sample cross-platform networking library (Version 2, 32-bit)"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
url="http://www.libsdl.org/projects/SDL_net"
license=('MIT')
depends=(lib32-sdl2 $_pkgbasename=$pkgver)
makedepends=(mercurial 'gcc-multilib')
makedepends=('gcc-multilib')
options=(!libtool)
source=("sdl2_net::hg+http://hg.libsdl.org/SDL_net#revision=$pkgver")
md5sums=('SKIP')
source=("$url/release/SDL2_net-${pkgver}.tar.gz")
md5sums=('83bcd0e67796b81b35b08a014c677200')
build() {
cd "${srcdir}/sdl2_net/"
cd "${srcdir}/SDL2_net-${pkgver}/"
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
# sdl2_net requires automake 1.13 but it compiles fine with current version (1.11) in [core]
sed -i 's/1.13/1.11/g' ./configure
./autogen.sh
./configure --disable-static --prefix=/usr --libdir=/usr/lib32
./configure --disable-static \
--prefix=/usr \
--libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/sdl2_net/"
cd "${srcdir}/SDL2_net-${pkgver}/"
make DESTDIR="${pkgdir}/" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}

View File

@ -5,7 +5,7 @@
_pkgbasename=sdl2_ttf
pkgname=lib32-$_pkgbasename
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)"
arch=('x86_64')
url="http://www.libsdl.org"

View File

@ -1,10 +1,8 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=smpeg2
pkgname=lib32-$_pkgbasename
pkgver=412
pkgver=2.0.0
pkgrel=1
pkgdesc="SDL2 MPEG Player Library (32-bit)"
arch=('i686' 'x86_64')
@ -14,11 +12,11 @@ depends=('lib32-sdl2' $_pkgbasename=$pkgver)
makedepends=('lib32-mesa' 'lib32-glu' 'svn' 'gcc-multilib')
optdepends=('lib32-glu: to use glmovie')
options=('!libtool')
source=(svn://svn.icculus.org/smpeg/trunk#revision=$pkgver)
source=("${_pkgbasename}::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
md5sums=('SKIP')
build() {
cd ${srcdir}/trunk
cd ${srcdir}/${_pkgbasename}
export CC="gcc -m32"
export CXX="g++ -m32"
@ -34,7 +32,7 @@ build() {
}
package() {
cd ${srcdir}/trunk
cd ${srcdir}/${_pkgbasename}
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}