mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
OpenTTD: Add freetype support (#5000)
So that we can play with supported language.
This commit is contained in:
@@ -6,7 +6,7 @@ features."
|
|||||||
HOMEPAGE="http://www.openttd.org"
|
HOMEPAGE="http://www.openttd.org"
|
||||||
COPYRIGHT="2005-2016 OpenTTD Team"
|
COPYRIGHT="2005-2016 OpenTTD Team"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="http://binaries.openttd.org/releases/$portVersion/openttd-$portVersion-source.tar.xz"
|
SOURCE_URI="http://binaries.openttd.org/releases/$portVersion/openttd-$portVersion-source.tar.xz"
|
||||||
CHECKSUM_SHA256="61190952a98d494d3fd62e395dd6c359609914d0ba8fe80eaeb585b7d62a1b36"
|
CHECKSUM_SHA256="61190952a98d494d3fd62e395dd6c359609914d0ba8fe80eaeb585b7d62a1b36"
|
||||||
ADDITIONAL_FILES="openttd.rdef"
|
ADDITIONAL_FILES="openttd.rdef"
|
||||||
@@ -23,20 +23,25 @@ REQUIRES="
|
|||||||
openttd_msx
|
openttd_msx
|
||||||
openttd_sfx
|
openttd_sfx
|
||||||
timgmsoundfont
|
timgmsoundfont
|
||||||
|
lib:libfreetype$secondaryArchSuffix
|
||||||
lib:liblzma$secondaryArchSuffix
|
lib:liblzma$secondaryArchSuffix
|
||||||
lib:liblzo2$secondaryArchSuffix
|
lib:liblzo2$secondaryArchSuffix
|
||||||
|
lib:libpng16$secondaryArchSuffix
|
||||||
lib:libsdl$secondaryArchSuffix
|
lib:libsdl$secondaryArchSuffix
|
||||||
lib:libz$secondaryArchSuffix
|
lib:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libfreetype$secondaryArchSuffix
|
||||||
devel:liblzma$secondaryArchSuffix
|
devel:liblzma$secondaryArchSuffix
|
||||||
devel:liblzo2$secondaryArchSuffix
|
devel:liblzo2$secondaryArchSuffix
|
||||||
|
devel:libpng16$secondaryArchSuffix
|
||||||
devel:libsdl$secondaryArchSuffix
|
devel:libsdl$secondaryArchSuffix
|
||||||
devel:libz$secondaryArchSuffix
|
devel:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:gawk
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
cmd:git
|
cmd:git
|
||||||
cmd:make
|
cmd:make
|
||||||
@@ -50,7 +55,8 @@ BUILD()
|
|||||||
# Non-autotools script, can't use runConfigure.
|
# Non-autotools script, can't use runConfigure.
|
||||||
./configure --prefix=$prefix --binary-dir=$relativeAppsDir \
|
./configure --prefix=$prefix --binary-dir=$relativeAppsDir \
|
||||||
--data-dir=$relativeDataDir/openttd --doc-dir=$relativeDocDir/openttd \
|
--data-dir=$relativeDataDir/openttd --doc-dir=$relativeDocDir/openttd \
|
||||||
--man-dir=$relativeManDir --icon-dir=trash --menu-dir=trash
|
--man-dir=$relativeManDir --icon-dir=trash --menu-dir=trash \
|
||||||
|
--with-freetype=2
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user