Merge pull request #1880 from pullmoll/mesa-demos

mesa-demos: exclude broken eglut/opengl code
This commit is contained in:
Jürgen Buchmüller 2015-06-22 12:54:56 +02:00
commit a401d722a0

View file

@ -1,9 +1,9 @@
# Template build file for 'MesaLib'. # Template build file for 'MesaLib'.
pkgname=mesa-demos pkgname=mesa-demos
version=8.2.0 version=8.2.0
revision=6 revision=7
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config" hostmakedepends="automake libtool pkg-config"
makedepends="libXext-devel MesaLib-devel glu-devel glew-devel freetype-devel libfreeglut-devel" makedepends="libXext-devel MesaLib-devel glu-devel glew-devel freetype-devel libfreeglut-devel"
short_desc="Mesa 3D demos and tools" short_desc="Mesa 3D demos and tools"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -12,6 +12,14 @@ license="MIT"
distfiles="ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$pkgname-$version.tar.bz2" distfiles="ftp://ftp.freedesktop.org/pub/mesa/demos/$version/$pkgname-$version.tar.bz2"
checksum=e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92 checksum=e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92
# eglut + opengl stuff is broken with Mesa-10.6.0
pre_configure() {
sed -i ${wrksrc}/src/egl/Makefile.am \
-e "/ eglut/d" \
-e "/ opengl/d"
autoreconf -fi
}
glxinfo_package() { glxinfo_package() {
short_desc="Tool to diagnose problems with 3D acceleration setup" short_desc="Tool to diagnose problems with 3D acceleration setup"
replaces="mesa-demos<8.1.0_2" replaces="mesa-demos<8.1.0_2"