summaryrefslogtreecommitdiff
path: root/pcr/mesa-git
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-05 16:47:42 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-05 16:47:42 -0300
commit08c4060cfef6eb25d64ddab0dd166e066009ecff (patch)
tree6fcb98445cfa6a3d6b2b8c528d4570a57f80aa1b /pcr/mesa-git
parent4aea7e79b4621f6586add3f5ade140cb348e34b5 (diff)
mesa-git: fix PKGBUILD
Diffstat (limited to 'pcr/mesa-git')
-rw-r--r--pcr/mesa-git/PKGBUILD108
1 files changed, 58 insertions, 50 deletions
diff --git a/pcr/mesa-git/PKGBUILD b/pcr/mesa-git/PKGBUILD
index 8f1d33afa..6155bb863 100644
--- a/pcr/mesa-git/PKGBUILD
+++ b/pcr/mesa-git/PKGBUILD
@@ -53,6 +53,12 @@ license=(
LGPL
)
url=http://mesa3d.sourceforge.net
+#source=(
+# ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2
+#)
+#sha512sums=(
+# b7e8879e92252d0588d9eeeed904fd502ce1f48551b9a97f52aeb1318c79a80fab27504521107d61fbb5d986b2d778d89023a892baf9f1c5a5d2ee3746fefa57
+#)
_gitroot=git://anongit.freedesktop.org/git/mesa/mesa
_gitname=${pkgbase%-git}
@@ -74,6 +80,8 @@ build() {
cp -r $_gitname build
cd build
+ #cd $srcdir/Mesa-$pkgver
+
autoreconf -vfi
./autogen.sh --prefix=/usr \
--enable-dri \
@@ -170,21 +178,21 @@ package_libegl-git() {
)
pkgdesc='Mesa EGL libraries and headers'
- #make -C $srcdir/build/src/egl DESTDIR=$pkgdir install
- make -C $srcdir/build/src/gallium/targets/egl-static DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/egl DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/gallium/targets/egl-static DESTDIR=$pkgdir install
cd $srcdir/build
install -m755 -d $pkgdir/usr/include/EGL
- #install -m755 -d $pkgdir/usr/lib/egl
+ install -m755 -d $pkgdir/usr/lib/egl
install -m755 -d $pkgdir/usr/lib/pkgconfig
- #install -m755 -d $pkgdir/usr/share/doc/libegl
+ install -m755 -d $pkgdir/usr/share/doc/libegl
install -m755 -d $pkgdir/usr/share/licenses/libegl
bin/minstall include/EGL/* $pkgdir/usr/include/EGL
bin/minstall src/egl/main/libEGL.la $pkgdir/usr/lib
bin/minstall lib/libEGL.so* $pkgdir/usr/lib
- #bin/minstall lib/egl/egl_gallium.so $pkgdir/usr/lib/egl
+ bin/minstall lib/egl/egl_gallium.so $pkgdir/usr/lib/egl
bin/minstall src/egl/main/egl.pc $pkgdir/usr/lib/pkgconfig
- #bin/minstall docs/egl.html $pkgdir/usr/share/doc/libegl
+ bin/minstall docs/egl.html $pkgdir/usr/share/doc/libegl
bin/minstall docs/COPYING $pkgdir/usr/share/licenses/libegl
bin/minstall docs/license.html $pkgdir/usr/share/licenses/libegl
}
@@ -206,20 +214,20 @@ package_libgbm-git() {
)
pkgdesc='Mesa GBM libraries and header'
- make -C $srcdir/build/src/gbm DESTDIR=$pkgdir install
- make -C $srcdir/build/src/gallium/targets/gbm DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/gbm DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/gallium/targets/gbm DESTDIR=$pkgdir install
cd $srcdir/build
- #install -m755 -d $pkgdir/usr/lib/include
- #install -m755 -d $pkgdir/usr/lib/gbm
- #install -m755 -d $pkgdir/usr/lib/pkgconfig
+ install -m755 -d $pkgdir/usr/lib/include
+ install -m755 -d $pkgdir/usr/lib/gbm
+ install -m755 -d $pkgdir/usr/lib/pkgconfig
install -m755 -d $pkgdir/usr/share/licenses/libgbm
- #bin/minstall src/gbm/main/gbm.h $pkgdir/usr/include
- #bin/minstall src/gbm/libgbm.la $pkgdir/usr/lib
- #bin/minstall lib/libgbm.so* $pkgdir/usr/lib
- #bin/minstall src/gallium/targets/gbm/gbm_gallium_drm.so $pkgdir/usr/lib/gbm
- bin/minstall src/gallium/targets/pipe-loader/*.so $pkgdir/usr/lib/gbm
- #bin/minstall src/gbm/main/gbm.pc $pkgdir/usr/lib/pkgconfig
+ bin/minstall src/gbm/main/gbm.h $pkgdir/usr/include
+ bin/minstall src/gbm/libgbm.la $pkgdir/usr/lib
+ bin/minstall lib/libgbm.so* $pkgdir/usr/lib
+ bin/minstall src/gallium/targets/gbm/gbm_gallium_drm.so $pkgdir/usr/lib/gbm
+ bin/minstall src/gallium/targets/pipe-loader/*.so $pkgdir/usr/lib/gbm
+ bin/minstall src/gbm/main/gbm.pc $pkgdir/usr/lib/pkgconfig
bin/minstall docs/COPYING $pkgdir/usr/share/licenses/libgbm
bin/minstall docs/license.html $pkgdir/usr/share/licenses/libgbm
}
@@ -241,19 +249,19 @@ package_libgl-gallium-git() {
)
pkgdesc='Mesa 3D OpenGL graphics library and DRI Gallium software rasterizer'
- make -C $srcdir/build/src/glx DESTDIR=$pkgdir install
- make -C $srcdir/build/src/mesa/libdricore DESTDIR=$pkgdir install
- make -C $srcdir/build/src/gallium/targets/dri-swrast DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/glx DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/mesa/libdricore DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/gallium/targets/dri-swrast DESTDIR=$pkgdir install
cd $srcdir/build
- #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri
+ install -m755 -d $pkgdir/usr/lib/xorg/modules/dri
install -m755 -d $pkgdir/usr/share/licenses/libgl
- #bin/minstall src/glx/libGL.la $pkgdir/usr/lib
- #bin/minstall lib/libGL.so* $pkgdir/usr/lib
- #bin/minstall src/mesa/libdricore/libdricore*.la $pkgdir/usr/lib
- #bin/minstall lib/libdricore*.so* $pkgdir/usr/lib
- #bin/minstall lib/gallium/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri
- #bin/minstall docs/openGL.txt $pkgdir/usr/share/doc/libgl
+ bin/minstall src/glx/libGL.la $pkgdir/usr/lib
+ bin/minstall lib/libGL.so* $pkgdir/usr/lib
+ bin/minstall src/mesa/libdricore/libdricore*.la $pkgdir/usr/lib
+ bin/minstall lib/libdricore*.so* $pkgdir/usr/lib
+ bin/minstall lib/gallium/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri
+ bin/minstall docs/libGL.txt $pkgdir/usr/share/doc/libgl
bin/minstall docs/COPYING $pkgdir/usr/share/licenses/libgl
bin/minstall docs/license.html $pkgdir/usr/share/licenses/libgl
}
@@ -275,20 +283,20 @@ package_libgl-git() {
)
pkgdesc='Mesa 3D OpenGL graphics library and DRI software rasterizer'
- make -C $srcdir/build/src/glx DESTDIR=$pkgdir install
- make -C $srcdir/build/src/mesa/libdricore DESTDIR=$pkgdir install
- make -C $srcdir/build/src/mesa/drivers/dri/swrast DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/glx DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/mesa/libdricore DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/mesa/drivers/dri/swrast DESTDIR=$pkgdir install
cd $srcdir/build
- #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri
+ install -m755 -d $pkgdir/usr/lib/xorg/modules/dri
install -m755 -d $pkgdir/usr/share/licenses/libgl
- #bin/minstall src/glx/libGL.la $pkgdir/usr/lib
- #bin/minstall lib/libGL.so* $pkgdir/usr/lib
- #bin/minstall src/mesa/libdricore/libdricore*.la $pkgdir/usr/lib
- #bin/minstall lib/libdricore*.so* $pkgdir/usr/lib
- #bin/minstall src/mesa/drivers/dri/swrast/swrast_dri.la $pkgdir/usr/lib/xorg/modules/dri
- #bin/minstall lib/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri
- #bin/minstall docs/openGL.txt $pkgdir/usr/share/doc/libgl
+ bin/minstall src/glx/libGL.la $pkgdir/usr/lib
+ bin/minstall lib/libGL.so* $pkgdir/usr/lib
+ bin/minstall src/mesa/libdricore/libdricore*.la $pkgdir/usr/lib
+ bin/minstall lib/libdricore*.so* $pkgdir/usr/lib
+ bin/minstall src/mesa/drivers/dri/swrast/swrast_dri.la $pkgdir/usr/lib/xorg/modules/dri
+ bin/minstall lib/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri
+ bin/minstall docs/libGL.txt $pkgdir/usr/share/doc/libgl
bin/minstall docs/COPYING $pkgdir/usr/share/licenses/libgl
bin/minstall docs/license.html $pkgdir/usr/share/licenses/libgl
}
@@ -330,21 +338,21 @@ package_libgles-git() {
)
pkgdesc='Mesa GLES libraries and headers'
- make -C $srcdir/build/src/mapi/es1api DESTDIR=$pkgdir install
- make -C $srcdir/build/src/mapi/es2api DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/mapi/es1api DESTDIR=$pkgdir install
+ #make -C $srcdir/build/src/mapi/es2api DESTDIR=$pkgdir install
cd $srcdir/build
- #install -m755 -d $pkgdir/usr/include/GLES
- #install -m755 -d $pkgdir/usr/include/GLES2
- #install -m755 -d $pkgdir/usr/lib/pkgconfig
+ install -m755 -d $pkgdir/usr/include/GLES
+ install -m755 -d $pkgdir/usr/include/GLES2
+ install -m755 -d $pkgdir/usr/lib/pkgconfig
install -m755 -d $pkgdir/usr/share/licenses/libgles
- #bin/minstall include/GLES/* $pkgdir/usr/include/GLES
- #bin/minstall include/GLES2/* $pkgdir/usr/include/GLES2
- #bin/minstall src/mapi/es1api/libGLESv1_CM.la $pkgdir/usr/lib
- #bin/minstall src/mapi/es2api/libGLESv2.la $pkgdir/usr/lib
- #bin/minstall lib/libGLESv*.so* $pkgdir/usr/lib
- #bin/minstall src/mapi/es1api/glesv1_cm.pc $pkgdir/usr/lib/pkgconfig
- #bin/minstall src/mapi/es2api/glesv2.pc $pkgdir/usr/lib/pkgconfig
+ bin/minstall include/GLES/* $pkgdir/usr/include/GLES
+ bin/minstall include/GLES2/* $pkgdir/usr/include/GLES2
+ bin/minstall src/mapi/es1api/libGLESv1_CM.la $pkgdir/usr/lib
+ bin/minstall src/mapi/es2api/libGLESv2.la $pkgdir/usr/lib
+ bin/minstall lib/libGLESv*.so* $pkgdir/usr/lib
+ bin/minstall src/mapi/es1api/glesv1_cm.pc $pkgdir/usr/lib/pkgconfig
+ bin/minstall src/mapi/es2api/glesv2.pc $pkgdir/usr/lib/pkgconfig
bin/minstall docs/COPYING $pkgdir/usr/share/licenses/libgles
bin/minstall docs/license.html $pkgdir/usr/share/licenses/libgles
}