mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
mesa: 7.9.2 updates to rev 8
* Introduce pkg-config * Rev 8 fixes a build issue with header paths
This commit is contained in:
@@ -9,10 +9,10 @@ HOMEPAGE="http://www.mesa3d.org/"
|
||||
COPYRIGHT="1999-2013 Brian Paul All Rights Reserved."
|
||||
LICENSE="MIT"
|
||||
# remember to update SOURCE_DIR as well for the -X revision
|
||||
SRC_URI="https://github.com/haiku/mesa_legacy/archive/7.9.2-7.tar.gz"
|
||||
SRC_FILENAME="mesa_legacy-7.9.2-7.tar.gz"
|
||||
CHECKSUM_SHA256="6b555dcd0757fe3312325c0ac0827028a7fd0877c6140f5c30ee59be40b4b84e"
|
||||
REVISION="7"
|
||||
SRC_URI="https://github.com/haiku/mesa_legacy/archive/7.9.2-8.tar.gz"
|
||||
SRC_FILENAME="mesa_legacy-7.9.2-8.tar.gz"
|
||||
CHECKSUM_SHA256="dd32a4dab8228d93ce3366812560460506f45db727a23012dd522cb7c95a5ca5"
|
||||
REVISION="8"
|
||||
ARCHITECTURES="?x86_gcc2"
|
||||
if [ $effectiveTargetArchitecture != x86 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
@@ -45,7 +45,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
SOURCE_DIR="mesa_legacy-7.9.2-7"
|
||||
SOURCE_DIR="mesa_legacy-7.9.2-8"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -84,6 +84,18 @@ INSTALL()
|
||||
# Create GL symlink in opengl kit
|
||||
symlinkRelative -s $includeDir/GL $includeDir/os/opengl/GL
|
||||
|
||||
# Create a pkcconfig for libGL
|
||||
mkdir -p $libDir/pkgconfig
|
||||
sed -e "s,@INSTALL_DIR@,$prefix," \
|
||||
-e "s,@INSTALL_LIB_DIR@,$libDir," \
|
||||
-e "s,@INSTALL_INC_DIR@,$includeDir," \
|
||||
-e "s,@VERSION@,$portVersion," \
|
||||
-e "s,@GL_LIB@,GL," \
|
||||
-e "s,@GL_PC_LIB_PRIV@,," \
|
||||
-e "s,@GL_PC_REQ_PRIV@,," \
|
||||
-e "s,@GL_PC_CFLAGS@,," src/mesa/gl.pc.in > $libDir/pkgconfig/gl.pc
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
Reference in New Issue
Block a user