mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/mesa to 8.0.3-1
This commit is contained in:
parent
8817a9d974
commit
4b3dfc84f4
1 changed files with 25 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
||||||
plugrel=1
|
plugrel=1
|
||||||
|
|
||||||
pkgbase=mesa
|
pkgbase=mesa
|
||||||
pkgname=('mesa' 'libgl' 'osmesa' 'libglapi' 'libgles' 'libegl' 'khrplatform-devel')
|
pkgname=('mesa' 'libgl' 'osmesa' 'libglapi' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel')
|
||||||
|
|
||||||
#_git=true
|
#_git=true
|
||||||
_gitdate=20111031
|
_gitdate=20111031
|
||||||
|
@ -19,7 +19,7 @@ if [ "${_git}" = "true" ]; then
|
||||||
pkgver=7.10.99.git20110709
|
pkgver=7.10.99.git20110709
|
||||||
#pkgver=7.11
|
#pkgver=7.11
|
||||||
else
|
else
|
||||||
pkgver=8.0.2
|
pkgver=8.0.3
|
||||||
fi
|
fi
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -39,7 +39,7 @@ if [ "${_git}" = "true" ]; then
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
|
md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
|
||||||
'a368104e5700707048dc3e8691a9a7a1')
|
'cc5ee15e306b8c15da6a478923797171')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/?esa-*
|
cd ${srcdir}/?esa-*
|
||||||
|
@ -51,7 +51,9 @@ if [ "${_git}" = "true" ]; then
|
||||||
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
|
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
|
||||||
--with-gallium-drivers=swrast \
|
--with-gallium-drivers=swrast \
|
||||||
--enable-gallium-llvm \
|
--enable-gallium-llvm \
|
||||||
--enable-gallium-egl --enable-shared-glapi\
|
--enable-gallium-egl \
|
||||||
|
--enable-shared-glapi \
|
||||||
|
--enable-gbm \
|
||||||
--enable-glx-tls \
|
--enable-glx-tls \
|
||||||
--enable-dri \
|
--enable-dri \
|
||||||
--enable-glx \
|
--enable-glx \
|
||||||
|
@ -72,7 +74,9 @@ if [ "${_git}" = "true" ]; then
|
||||||
--with-dri-drivers=swrast \
|
--with-dri-drivers=swrast \
|
||||||
--with-gallium-drivers=swrast \
|
--with-gallium-drivers=swrast \
|
||||||
--enable-gallium-llvm \
|
--enable-gallium-llvm \
|
||||||
--enable-gallium-egl --enable-shared-glapi\
|
--enable-gallium-egl \
|
||||||
|
--enable-shared-glapi \
|
||||||
|
--enable-gbm \
|
||||||
--enable-glx-tls \
|
--enable-glx-tls \
|
||||||
--enable-dri \
|
--enable-dri \
|
||||||
--enable-glx \
|
--enable-glx \
|
||||||
|
@ -130,6 +134,20 @@ package_libglapi() {
|
||||||
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/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() {
|
package_libgles() {
|
||||||
depends=('libglapi' 'khrplatform-devel')
|
depends=('libglapi' 'khrplatform-devel')
|
||||||
pkgdesc="Mesa GLES libraries and headers"
|
pkgdesc="Mesa GLES libraries and headers"
|
||||||
|
@ -198,11 +216,12 @@ package_mesa() {
|
||||||
|
|
||||||
rm -f "${pkgdir}/usr/lib/libGL.so"*
|
rm -f "${pkgdir}/usr/lib/libGL.so"*
|
||||||
rm -f "${pkgdir}/usr/lib/libglapi.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/libGLESv"*
|
||||||
rm -f "${pkgdir}/usr/lib/libEGL"*
|
rm -f "${pkgdir}/usr/lib/libEGL"*
|
||||||
rm -rf "${pkgdir}/usr/lib/egl"
|
rm -rf "${pkgdir}/usr/lib/egl"
|
||||||
rm -f "${pkgdir}/usr/lib/libOSMesa"*
|
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 -rf "${pkgdir}/usr/lib/xorg"
|
||||||
rm -f "${pkgdir}/usr/include/GL/glew.h"
|
rm -f "${pkgdir}/usr/include/GL/glew.h"
|
||||||
rm -f "${pkgdir}/usr/include/GL/glxew.h"
|
rm -f "${pkgdir}/usr/include/GL/glxew.h"
|
||||||
|
|
Loading…
Reference in a new issue