extra/mesa to 8.0.3-1

This commit is contained in:
Kevin Mihelich 2012-05-20 13:21:46 -04:00
parent 8817a9d974
commit 4b3dfc84f4

View file

@ -9,7 +9,7 @@
plugrel=1
pkgbase=mesa
pkgname=('mesa' 'libgl' 'osmesa' 'libglapi' 'libgles' 'libegl' 'khrplatform-devel')
pkgname=('mesa' 'libgl' 'osmesa' 'libglapi' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel')
#_git=true
_gitdate=20111031
@ -19,7 +19,7 @@ if [ "${_git}" = "true" ]; then
pkgver=7.10.99.git20110709
#pkgver=7.11
else
pkgver=8.0.2
pkgver=8.0.3
fi
pkgrel=1
arch=('i686' 'x86_64')
@ -39,7 +39,7 @@ if [ "${_git}" = "true" ]; then
)
fi
md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
'a368104e5700707048dc3e8691a9a7a1')
'cc5ee15e306b8c15da6a478923797171')
build() {
cd ${srcdir}/?esa-*
@ -51,7 +51,9 @@ if [ "${_git}" = "true" ]; then
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-gallium-drivers=swrast \
--enable-gallium-llvm \
--enable-gallium-egl --enable-shared-glapi\
--enable-gallium-egl \
--enable-shared-glapi \
--enable-gbm \
--enable-glx-tls \
--enable-dri \
--enable-glx \
@ -72,7 +74,9 @@ if [ "${_git}" = "true" ]; then
--with-dri-drivers=swrast \
--with-gallium-drivers=swrast \
--enable-gallium-llvm \
--enable-gallium-egl --enable-shared-glapi\
--enable-gallium-egl \
--enable-shared-glapi \
--enable-gbm \
--enable-glx-tls \
--enable-dri \
--enable-glx \
@ -130,6 +134,20 @@ package_libglapi() {
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libglapi/"
}
package_libgbm() {
depends=('glibc')
pkgdesc="Mesa gbm library"
cd ${srcdir}/?esa-*
install -m755 -d "${pkgdir}/usr/lib"
bin/minstall lib/libgbm.so* "${pkgdir}/usr/lib/"
install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
bin/minstall src/gbm/main/gbm.pc "${pkgdir}/usr/lib/pkgconfig/"
install -m755 -d "${pkgdir}/usr/share/licenses/libgbm"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgbm/"
}
package_libgles() {
depends=('libglapi' 'khrplatform-devel')
pkgdesc="Mesa GLES libraries and headers"
@ -198,11 +216,12 @@ package_mesa() {
rm -f "${pkgdir}/usr/lib/libGL.so"*
rm -f "${pkgdir}/usr/lib/libglapi.so"*
rm -f "${pkgdir}/usr/lib/libgbm.so"*
rm -f "${pkgdir}/usr/lib/libGLESv"*
rm -f "${pkgdir}/usr/lib/libEGL"*
rm -rf "${pkgdir}/usr/lib/egl"
rm -f "${pkgdir}/usr/lib/libOSMesa"*
rm -f ${pkgdir}/usr/lib/pkgconfig/{glesv1_cm.pc,glesv2.pc,egl.pc,osmesa.pc}
rm -f ${pkgdir}/usr/lib/pkgconfig/{glesv1_cm.pc,glesv2.pc,egl.pc,osmesa.pc,gbm.pc}
rm -rf "${pkgdir}/usr/lib/xorg"
rm -f "${pkgdir}/usr/include/GL/glew.h"
rm -f "${pkgdir}/usr/include/GL/glxew.h"