Updates to mesa, ncurses, openal, sdl

This commit is contained in:
abveritas 2010-12-30 23:03:56 +00:00
parent 4e0729a44f
commit d6fa9bd2fc
4 changed files with 38 additions and 194 deletions

View File

@ -1,186 +1,23 @@
#
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=lib32-mesa
pkgname=('lib32-mesa' 'lib32-libgl' 'lib32-ati-dri' 'lib32-intel-dri' 'lib32-unichrome-dri' 'lib32-mach64-dri' 'lib32-mga-dri' 'lib32-r128-dri' 'lib32-savage-dri' 'lib32-sis-dri' 'lib32-tdfx-dri' 'lib32-nouveau-dri')
pkgver=7.9
pkgrel=3
arch=(x86_64)
makedepends=('glproto>=1.4.12' 'pkgconfig' 'lib32-libdrm>=2.4.22' 'lib32-libxxf86vm>=1.1.0' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' 'lib32-libx11>=1.3.5' 'lib32-libxt>=1.0.8'
'lib32-gcc-libs>=4.5' 'dri2proto=2.3' 'lib32-talloc' 'python2' 'libxml2' 'gcc-multilib')
_pkgsourcename=mesa
pkgname=lib32-$_pkgsourcename
pkgver=7.7.1
pkgrel=1
pkgdesc="Mesa OpenGL library"
arch=('x86_64')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2
ftp://ftp.freedesktop.org/pub/mesa/demos/8.0.1/mesa-demos-8.0.1.tar.bz2)
md5sums=('82c740c49d572baa6da2b1a1eee90bca'
'320c2a4b6edc6faba35d9cb1e2a30bf4')
license=('LGPL')
groups=('lib32')
depends=('lib32-libgl' 'lib32-gcc' 'lib32-libxt')
source=(http://chakra-project.org/repo/platform/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
# python2 build fixes
#sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
# -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')
#sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" "${srcdir}/Mesa-${pkgver}"/configs/{default,autoconf.in}
#sed -i -e "s|python|python2|" "${srcdir}/Mesa-${pkgver}"/src/gallium/auxiliary/Makefile
cd "${srcdir}/Mesa-${pkgver}"
./configure --prefix=/usr \
--with-dri-driverdir=/usr/lib32/xorg/modules/dri \
--disable-egl \
--enable-glx-tls \
--with-driver=dri \
--enable-xcb \
--with-state-trackers=dri,glx \
--enable-gallium-nouveau \
--enable-gallium-radeon \
--disable-glut \
--enable-32-bit \
--libdir=/usr/lib32
make
}
package_lib32-libgl() {
depends=('lib32-libdrm>=2.4.22' 'lib32-libxxf86vm>=1.1.0' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' "libgl")
pkgdesc="Mesa 3-D graphics library and DRI software rasterizer (32-bit)"
cd "${srcdir}/Mesa-${pkgver}"
install -m755 -d "${pkgdir}/usr/lib32"
install -m755 -d "${pkgdir}/usr/lib32/xorg/modules/extensions"
bin/minstall lib32/libGL.so* "${pkgdir}/usr/lib32/"
cd src/mesa/drivers/dri
make -C swrast DESTDIR="${pkgdir}" install
ln -s libglx.xorg "${pkgdir}/usr/lib32/xorg/modules/extensions/libglx.so"
rm -rf "${pkgdir}"/usr/{include,share,bin}
install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
ln -s libgl "$pkgdir/usr/share/licenses/libgl/$pkgname"
}
package_lib32-mesa() {
depends=('lib32-libgl' 'lib32-libx11>=1.3.5' 'lib32-libxt>=1.0.8' 'lib32-gcc-libs>=4.5' 'dri2proto=2.3' 'lib32-libdrm>=2.4.22' 'glproto>=1.4.12' "mesa")
pkgdesc="Mesa 3-D graphics libraries and include files (32-bit)"
cd "${srcdir}/Mesa-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/bin"
cd "${srcdir}/mesa-demos-8.0.1/src/xdemos"
$CC glxinfo.c -I${pkgdir}/usr/include -L${pkgdir}/usr/lib32 -L/usr/lib32 -lX11 -lGL -o "${pkgdir}/usr/bin/glxinfo32"
rm -f "${pkgdir}/usr/lib32/libGL.so"*
rm -rf "${pkgdir}/usr/lib32/xorg"
rm -rf "${pkgdir}"/usr/{include,share}
install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
ln -s mesa "$pkgdir/usr/share/licenses/mesa/$pkgname"
}
package_lib32-ati-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for AMD/ATI Radeon (32-bit)"
conflicts=('xf86-video-ati<6.9.0-6')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C radeon DESTDIR="${pkgdir}" install
make -C r200 DESTDIR="${pkgdir}" install
# classic mesa driver for R300 r300_dri.so
# make -C r300 DESTDIR="${pkgdir}" install <------- depricated
# gallium3D driver for R300 r300_dri.so
make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install
make -C r600 DESTDIR="${pkgdir}" install
}
package_lib32-intel-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for Intel (32-bit)"
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C i810 DESTDIR="${pkgdir}" install
make -C i915 DESTDIR="${pkgdir}" install
make -C i965 DESTDIR="${pkgdir}" install
}
package_lib32-unichrome-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome (32-bit)"
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C unichrome DESTDIR="${pkgdir}" install
}
package_lib32-mach64-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for ATI Mach64 (32-bit)"
conflicts=('xf86-video-mach64<6.8.2')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C mach64 DESTDIR="${pkgdir}" install
}
package_lib32-mga-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for Matrox (32-bit)"
conflicts=('xf86-video-mga<1.4.11')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C mga DESTDIR="${pkgdir}" install
}
package_lib32-r128-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for ATI Rage128 (32-bit)"
conflicts=('xf86-video-r128<6.8.1')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C r128 DESTDIR="${pkgdir}" install
}
package_lib32-savage-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for S3 Sraphics/VIA Savage (32-bit)"
conflicts=('xf86-video-savage<2.3.1')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C savage DESTDIR="${pkgdir}" install
}
package_lib32-sis-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for SiS (32-bit)"
conflicts=('xf86-video-sis<0.10.2')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C sis DESTDIR="${pkgdir}" install
}
package_lib32-tdfx-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for 3dfx (32-bit)"
conflicts=('xf86-video-tdfx<1.4.3')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C tdfx DESTDIR="${pkgdir}" install
}
package_lib32-nouveau-dri() {
depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa classic DRI + Gallium3D drivers for Nouveau (32-bit)"
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
# classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so
make -C nouveau DESTDIR="${pkgdir}" install
# gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so
make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
cd "$srcdir"
mkdir -p "$pkgdir/opt/lib32/usr/lib"
cp -dp usr/lib/*.so* "$pkgdir/opt/lib32/usr/lib"
}
md5sums=('6958e2bb110762ca356ef336a6ca1ed6')

View File

@ -1,5 +1,8 @@
# $Id: PKGBUILD 16317 2010-04-28 15:46:34Z ibiru $
# Maintainer: Mikko Seppälä <t-r-a-y@mbnet.fi>
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgsourcename=ncurses
pkgname=lib32-$_pkgsourcename
pkgver=5.7
@ -10,7 +13,7 @@ license=('MIT')
arch=(x86_64)
groups=('lib32')
depends=('lib32-glibc')
source=(ftp://ftp.archlinux.org/core/os/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
source=(http://chakra-project.org/repo/core-testing/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
build() {
cd $srcdir
@ -20,5 +23,4 @@ build() {
mkdir -p $pkgdir/opt/lib32/usr/lib
cp -dp usr/lib/*.so* $pkgdir/opt/lib32/usr/lib
}
md5sums=('d52d1c36c0a101a205a14c57455594d7')
sha256sums=('73b4fe7e06333f1f38646f74f2ca9ac7ca9c5c9e4cd455f818ccd1d28bc58eb0')
md5sums=('aeecf99e19b1c47600a342a2f15f1b5c')

View File

@ -1,11 +1,12 @@
# $Id: PKGBUILD 26722 2010-09-15 22:59:51Z bluewind $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributer: Jason Chu <jchu@xentac.net>
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=openal
pkgname=lib32-$_pkgbasename
pkgver=1.12.854
pkgrel=3
pkgrel=1
pkgdesc="OpenAL audio library for use with opengl (32-bit)"
arch=('x86_64')
url="http://www.openal.org/"
@ -13,8 +14,8 @@ license=('LGPL')
depends=('lib32-glibc' $_pkgbasename)
makedepends=('lib32-alsa-lib' 'lib32-sdl' 'pkgconfig' 'cmake' 'gcc-multilib')
options=('!libtool')
source=(http://kcat.strangesoft.net/openal-releases/openal-soft-${pkgver}.tar.bz2)
md5sums=('fbf36451fdebd6466edbdc0ee7db9603')
source=(http://chakra-project.org/repo/platform/i686/${_pkgsourcename}-${pkgver}-${pkgrel}-i686.pkg.tar.xz)
md5sums=('b3106eacc766cfae6f97a35ade6d17a1')
build() {
export CC="gcc -m32"

View File

@ -1,20 +1,24 @@
# $Id: PKGBUILD 19215 2010-06-21 10:25:56Z ibiru $
# Maintainer: Mikko Seppälä <t-r-a-y@mbnet.fi>
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgsourcename=sdl
pkgname=lib32-$_pkgsourcename
pkgver=1.2.14
pkgrel=5
pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
url="http://www.libsdl.org"
arch=('x86_64')
license=('LGPL')
groups=('lib32')
depends=('lib32-glibc')
source=(ftp://ftp.archlinux.org/extra/os/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
source=(http://chakra-project.org/repo/platform/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
md5sums=('548eebb591c5d03f0a29e8554ec8aae8')
build() {
cd $srcdir
mkdir -p $pkgdir/opt/lib32/usr/lib
cp -dp usr/lib/*.so* $pkgdir/opt/lib32/usr/lib
}
md5sums=('1bdca2ab5af1242e29b96d5d41c7a05b')