CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mesa-demos: New port. Overlayed with es2_info and es2gears_x11
authorVictor Martinez <pitillo@ono.com>
Mon, 25 May 2015 16:44:32 +0000 (18:44 +0200)
committerVictor Martinez <pitillo@ono.com>
Mon, 25 May 2015 16:44:32 +0000 (18:44 +0200)
mesa-demos/.footprint [new file with mode: 0644]
mesa-demos/.md5sum [new file with mode: 0644]
mesa-demos/Pkgfile [new file with mode: 0644]

diff --git a/mesa-demos/.footprint b/mesa-demos/.footprint
new file mode 100644 (file)
index 0000000..d663895
--- /dev/null
@@ -0,0 +1,6 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/es2_info
+-rwxr-xr-x     root/root       usr/bin/es2gears_x11
+-rwxr-xr-x     root/root       usr/bin/glxgears
+-rwxr-xr-x     root/root       usr/bin/glxinfo
diff --git a/mesa-demos/.md5sum b/mesa-demos/.md5sum
new file mode 100644 (file)
index 0000000..0be6fa9
--- /dev/null
@@ -0,0 +1 @@
+72613a2c8c013716db02e3ff59d29061  mesa-demos-8.2.0.tar.bz2
diff --git a/mesa-demos/Pkgfile b/mesa-demos/Pkgfile
new file mode 100644 (file)
index 0000000..b5dbe5f
--- /dev/null
@@ -0,0 +1,23 @@
+# Description: Mesa 3D demos
+# URL: http://www.mesa3d.org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
+# Depends on: glew glu
+
+name=mesa-demos
+version=8.2.0
+release=1
+source=(ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$name-$version.tar.bz2)
+
+build() {
+  cd $name-$version
+
+  ./configure --prefix=/usr
+
+  make -C src/xdemos/ glxinfo glxgears
+  make -C src/egl/eglut/ libeglut_screen.la libeglut_x11.la
+  make -C src/egl/opengles2/ es2_info es2gears_x11
+
+  install -d $PKG/usr/bin
+  install -m 0755 -t $PKG/usr/bin src/{egl/opengles2/{es2_info,es2gears_x11},xdemos/glx{gears,info}}
+}