Mesa: add support to build latest Mesa-master

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-09-21 19:14:29 +02:00
parent 21b7ef51a7
commit e0b0d91b99
10 changed files with 57 additions and 3 deletions

View File

@ -18,13 +18,22 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
case "$MESA" in
default)
PKG_VERSION="9.2.0"
PKG_URL="ftp://freedesktop.org/pub/mesa/9.2/MesaLib-$PKG_VERSION.tar.bz2"
;;
master)
PKG_VERSION="1569b3e"
PKG_URL="$DISTRO_SRC/Mesa-$PKG_VERSION.tar.xz"
;;
esac
PKG_NAME="Mesa"
PKG_VERSION="9.2.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.mesa3d.org/"
PKG_URL="ftp://freedesktop.org/pub/mesa/9.2/MesaLib-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="libXdamage libdrm expat libXext libXfixes libX11"
PKG_BUILD_DEPENDS_TARGET="toolchain Python-host makedepend:host libxml2-host expat glproto dri2proto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11"
PKG_PRIORITY="optional"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"
@ -255,7 +260,7 @@
XBMCPLAYER_DRIVER="default"
# Use VDPAU video acceleration (needs nVidia driver and a supported card)
VDPAU="no"
VDPAU="yes"
# Use VAAPI video acceleration (needs intel i965 driver and a supported card)
VAAPI="yes"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"

View File

@ -237,6 +237,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="no"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no / bcm2835-driver)
OPENGLES="bcm2835-driver"

View File

@ -232,6 +232,11 @@
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="Mesa"
# Mesa to use
# default: default Mesa release
# master: latest Mesa-master checkout
MESA="default"
# OpenGL-ES implementation to use (no)
OPENGLES="no"