From bcac4571ee281464802031963f635693c0bf3132 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 19 Dec 2013 16:27:14 -0600 Subject: [PATCH] mesa: Fix 7.9.2 recipe * libGL compat version is the latest version of OpenGL that version of Mesa supports. * Add missing libxml2_python requirement * Not raising revision as this recipe never built until now. * Thanks Urias for being the guinea pig! --- sys-libs/mesa/mesa-7.9.2.recipe | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys-libs/mesa/mesa-7.9.2.recipe b/sys-libs/mesa/mesa-7.9.2.recipe index 6ab75cdb1..f3e4f08e7 100644 --- a/sys-libs/mesa/mesa-7.9.2.recipe +++ b/sys-libs/mesa/mesa-7.9.2.recipe @@ -11,7 +11,7 @@ LICENSE="MIT" SRC_URI="https://github.com/kallisti5/mesa/archive/7.9.2-3.tar.gz" CHECKSUM_MD5="1f7d846ea2982ffa175c906443aaabd3" REVISION="1" -ARCHITECTURES="?x86_gcc2" +ARCHITECTURES="x86_gcc2" if [ $effectiveTargetArchitecture != x86 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building # for a different secondary architecture. @@ -21,7 +21,7 @@ SECONDARY_ARCHITECTURES="?x86_gcc2" PROVIDES=" mesa$secondaryArchSuffix = $portVersion compat >= 7.9 - lib:libGL$secondaryArchSuffix = $portVersion compat >= 1.0 + lib:libGL$secondaryArchSuffix = $portVersion compat <= 2.1 " REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion @@ -31,6 +31,7 @@ BUILD_REQUIRES=" BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion + libxml2_python cmd:bison cmd:find cmd:flex @@ -66,8 +67,8 @@ INSTALL() # OpenGL Kit mkdir -p $includeDir/os/opengl/GL cp ./include/HaikuGL/OpenGLKit.h $includeDir/os/ - cp ./include/HaikuGL/BGLView.h $includeDir/os/opengl/ - cp ./include/HaikuGL/BGLRenderer.h $includeDir/os/opengl/ + cp ./include/HaikuGL/GLView.h $includeDir/os/opengl/ + cp ./include/HaikuGL/GLRenderer.h $includeDir/os/opengl/ # Standard GL headers cp ./include/GL/gl.h $includeDir/os/opengl/GL/