mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
Add secondary arch support for wonderbrush and old mesa
This commit is contained in:
@@ -9,21 +9,26 @@ COPYRIGHT="2005, Stephan Aßmus und Ingo Weinhold GbR"
|
||||
SRC_URI="http://yellowbites.com/downloads/WonderBrush-2.1.2-x86-gcc2-2013-01-02.zip#noarchive"
|
||||
CHECKSUM_MD5="28e64a56946c9f5aefa40486f35ffc77"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 !x86"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
if [ $effectiveTargetArchitecture = x86_gcc2 -a $targetArchitecture = x86 ]
|
||||
then
|
||||
ARCHITECTURES="$ARCHITECTURES x86"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2"
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
|
||||
PROVIDES="
|
||||
wonderbrush = $portVersion compat >= 2
|
||||
wonderbrush$secondaryArchSuffix = $portVersion compat >= 2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= r1~alpha3_pm-1
|
||||
lib:libfreetype >= 6
|
||||
lib:libz >= 1
|
||||
haiku$secondaryArchSuffix >= r1~alpha3_pm-1
|
||||
lib:libfreetype$secondaryArchSuffix >= 6
|
||||
lib:libz$secondaryArchSuffix >= 1
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku
|
||||
haiku$secondaryArchSuffix
|
||||
coreutils
|
||||
cmd:unzip
|
||||
"
|
||||
@@ -47,9 +52,9 @@ INSTALL()
|
||||
|
||||
# Hack to make libfreetype and libz available under the name WonderBrush
|
||||
# has been linked against them.
|
||||
ln -s $portPackageLinksDir/lib~libfreetype/lib/libfreetype.so.6 \
|
||||
ln -s $portPackageLinksDir/lib~libfreetype$secondaryArchSuffix/lib/libfreetype.so.6 \
|
||||
$wonderbrushDir/lib/libfreetype.so
|
||||
ln -s $portPackageLinksDir/lib~libz/lib/libz.so.1 \
|
||||
ln -s $portPackageLinksDir/lib~libz$secondaryArchSuffix/lib/libz.so.1 \
|
||||
$wonderbrushDir/lib/libz.so
|
||||
|
||||
addAppDeskbarSymlink $wonderbrushDir/WonderBrush
|
||||
|
||||
Reference in New Issue
Block a user