mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
67 lines
1.5 KiB
Bash
67 lines
1.5 KiB
Bash
SUMMARY="SIL Graphite compiler"
|
|
DESCRIPTION="The SIL Graphite compiler builds a Graphite enabled font \
|
|
from a smart font description, written in GDL (Graphite Description Language)\
|
|
and a TrueType font by adding extra TrueType tables to it which the \
|
|
Graphite engine can interpret."
|
|
HOMEPAGE="https://scripts.sil.org/"
|
|
COPYRIGHT="1999-2021 SIL International"
|
|
LICENSE="CPL v05
|
|
GNU GPL v2
|
|
GNU LGPL v2.1
|
|
"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/silnrsi/grcompiler/archive/refs/tags/v$portVersion.tar.gz"
|
|
SOURCE_FILENAME="grcompiler-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a125e9d2746638a538e59af8ece2268fda078572f50e82f82d6f95ccb08ed890"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
commandBinDir=$binDir
|
|
commandSuffix=$secondaryArchSuffix
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
grcompiler$secondaryArchSuffix = $portVersion
|
|
cmd:grcompiler$commandSuffix = $portVersion
|
|
cmd:gdlpp$commandSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libicui18n$secondaryArchSuffix >= 66
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libicui18n$secondaryArchSuffix >= 66
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DCMAKE_INSTALL_BINDIR=$commandBinDir
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make -C build test
|
|
}
|