mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
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!
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user