From 0c7f51a73e1308734b970ef73185bfb309defb63 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 25 May 2015 18:44:32 +0200 Subject: [PATCH] mesa-demos: New port. Overlayed with es2_info and es2gears_x11 --- mesa-demos/.footprint | 6 ++++++ mesa-demos/.md5sum | 1 + mesa-demos/Pkgfile | 23 +++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 mesa-demos/.footprint create mode 100644 mesa-demos/.md5sum create mode 100644 mesa-demos/Pkgfile diff --git a/mesa-demos/.footprint b/mesa-demos/.footprint new file mode 100644 index 0000000..d663895 --- /dev/null +++ b/mesa-demos/.footprint @@ -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 index 0000000..0be6fa9 --- /dev/null +++ b/mesa-demos/.md5sum @@ -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 index 0000000..b5dbe5f --- /dev/null +++ b/mesa-demos/Pkgfile @@ -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}} +} -- 2.26.2