mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
mesa: Add 9.1 bep; rename pkg script
* Working status is unknown and needs testing.
This commit is contained in:
@@ -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!"
|
||||
}
|
||||
|
||||
|
||||
@@ -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!"
|
||||
}
|
||||
|
||||
|
||||
@@ -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!"
|
||||
}
|
||||
|
||||
|
||||
43
sys-libs/mesa/mesa-9.1.0.bep
Normal file
43
sys-libs/mesa/mesa-9.1.0.bep
Normal 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."
|
||||
Reference in New Issue
Block a user