mesa: Add 9.1 bep; rename pkg script

* Working status is unknown and needs
  testing.
This commit is contained in:
Alexander von Gluck
2013-03-01 21:12:22 +00:00
parent 2c05caef82
commit 48a8ccf746
5 changed files with 46 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ BUILD {
cd Mesa-9.0.1
scons
cd ..
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.0.x.sh 9.0.1 ./Mesa-9.0.1
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.x.sh 9.0.1 ./Mesa-9.0.1
echo "There should be a Mesa OptionalBuild package in your home if everything went well!"
}

View File

@@ -35,7 +35,7 @@ BUILD {
cd Mesa-9.0.2
scons
cd ..
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.0.x.sh 9.0.2 ./Mesa-9.0.2
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.x.sh 9.0.2 ./Mesa-9.0.2
echo "There should be a Mesa OptionalBuild package in your home if everything went well!"
}

View File

@@ -16,7 +16,7 @@ BUILD {
cd Mesa-9.0
scons
cd ..
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.0.x.sh 9.0 ./Mesa-9.0
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.x.sh 9.0 ./Mesa-9.0
echo "There should be a Mesa OptionalBuild package in your home if everything went well!"
}

View File

@@ -0,0 +1,43 @@
###############################################################
# THIS IS NOT FOR GENERAL USE!
# This builds a buildpackage for the Haiku build system to link
# the OpenGL kit!!
###############################################################
DESCRIPTION="Mesa3D is a multi-platform GL implementation"
HOMEPAGE="http://www.freedesktop.org/"
SRC_URI="ftp://freedesktop.org/pub/mesa/9.1/MesaLib-9.1.tar.bz2"
REVISION="1"
STATUS_HAIKU="unstable"
DEPEND="scons"
CHECKSUM_MD5="d3891e02215422e120271d976ff1947e"
MESSAGE="This port only builds with gcc4. Not for general use."
BUILD {
# this stuff isn't obvious... so notify user
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
echo "This generates a Mesa3D build package for Haiku... not for general use"
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
which llvm-link > /dev/null
if [[ $? -eq 0 ]]; then
echo "+ llvm enabled build: yes"
LLVM_VER=$(llvm-link --version | grep "version")
echo " -" $LLVM_VER
echo " - You will need to use an llvm optional build package"
echo " while compiling Haiku Gallium GL add-ons"
else
echo "+ llvm enabled build: no"
echo " - llvm optional build package will not be required"
echo " while compiling Haiku Gallium GL add-ons"
echo " - To take advantage of llvm, install llvm before compiling"
fi
echo ""
read -p "Press [Enter] to continue..."
cd Mesa-9.1.0
scons
cd ..
sh $(haikuporter -t)/sys-libs/mesa/mesapkg-9.x.sh 9.1.0 ./Mesa-9.1
echo "There should be a Mesa OptionalBuild package in your home if everything went well!"
}
LICENSE="MIT"
COPYRIGHT="1999-2012 Brian Paul All Rights Reserved."