summaryrefslogtreecommitdiffstats
path: root/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'xorg')
-rw-r--r--xorg/mesa3d/.footprint20
-rwxr-xr-xxorg/mesa3d/Pkgfile24
2 files changed, 42 insertions, 2 deletions
diff --git a/xorg/mesa3d/.footprint b/xorg/mesa3d/.footprint
index 874aad8b4..6056f6e59 100644
--- a/xorg/mesa3d/.footprint
+++ b/xorg/mesa3d/.footprint
@@ -65,3 +65,23 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/gl.pc
-rw-r--r-- root/root usr/lib/pkgconfig/glu.pc
-rw-r--r-- root/root usr/lib/pkgconfig/glw.pc
+drwxr-xr-x root/root usr/lib/xorg/
+drwxr-xr-x root/root usr/lib/xorg/modules/
+drwxr-xr-x root/root usr/lib/xorg/modules/extensions/
+lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> libglx.xorg
+drwxr-xr-x root/root usr/lib64/
+lrwxrwxrwx root/root usr/lib64/libEGL.so -> libEGL.so.1
+lrwxrwxrwx root/root usr/lib64/libEGL.so.1 -> libEGL.so.1.0
+-rwxr-xr-x root/root usr/lib64/libEGL.so.1.0
+lrwxrwxrwx root/root usr/lib64/libGL.so -> libGL.so.1
+lrwxrwxrwx root/root usr/lib64/libGL.so.1 -> libGL.so.1.2
+-rwxr-xr-x root/root usr/lib64/libGL.so.1.2
+lrwxrwxrwx root/root usr/lib64/libGLU.so -> libGLU.so.1
+lrwxrwxrwx root/root usr/lib64/libGLU.so.1 -> libGLU.so.1.3.070900
+-rwxr-xr-x root/root usr/lib64/libGLU.so.1.3.070900
+lrwxrwxrwx root/root usr/lib64/libGLw.so -> libGLw.so.1
+lrwxrwxrwx root/root usr/lib64/libGLw.so.1 -> libGLw.so.1.0.0
+-rwxr-xr-x root/root usr/lib64/libGLw.so.1.0.0
+drwxr-xr-x root/root usr/lib64/xorg/
+drwxr-xr-x root/root usr/lib64/xorg/modules/
+drwxr-xr-x root/root usr/lib64/xorg/modules/extensions/
diff --git a/xorg/mesa3d/Pkgfile b/xorg/mesa3d/Pkgfile
index 9f142503b..77aea3b12 100755
--- a/xorg/mesa3d/Pkgfile
+++ b/xorg/mesa3d/Pkgfile
@@ -6,7 +6,7 @@
name=mesa3d
version=7.9
-release=2
+release=5
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
build() {
@@ -22,9 +22,29 @@ build() {
./configure --prefix=/usr \
--with-driver=dri \
--with-dri-driverdir=/usr/lib/dri
- make
+ make
+ # mesa
make DESTDIR=$PKG install
+
+ # libgl
+ cd $SRC/Mesa-*
+ install -m755 -d $PKG/usr/lib
+ install -m755 -d $PKG/usr/lib/xorg/modules/extensions
+ bin/minstall lib/lib* $PKG/usr/lib/
+
+ case `uname -m` in
+ x86_64)
+ install -m755 -d $PKG/usr/lib64
+ install -m755 -d $PKG/usr/lib64/xorg/modules/extensions
+ bin/minstall lib/lib* $PKG/usr/lib64/
+ esac
+
+ cd src/mesa/drivers/dri
+ make -C swrast DESTDIR=$PKG install
+ ln -s libglx.xorg $PKG/usr/lib/xorg/modules/extensions/libglx.so
+
+
# for i in glew.h glxew.h wglew.h
# do
# rm $PKG/usr/include/GL/$i