mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
typst: disable x86 build and add a debugInfo package (#12234)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
SUMMARY="A typesetting system markup language"
|
||||
DESCRIPTION="Typst is a new markup-based typesetting system that is designed to be as powerful \
|
||||
as LaTeX while being much easier to learn and use.
|
||||
|
||||
Typst has:
|
||||
- Built-in markup for the most common formatting task
|
||||
- Flexible functions for everything else
|
||||
@@ -11,13 +12,13 @@ Typst has:
|
||||
HOMEPAGE="https://github.com/typst/typst"
|
||||
COPYRIGHT="2022 Laurenz Mädje and Martin Haug."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2ffd8443668bc0adb59e9893f7904fd9f64dce8799a1930569f56a91305e8b71"
|
||||
PATCHES="typst-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
ARCHITECTURES="?all x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86"
|
||||
|
||||
PROVIDES="
|
||||
typst$secondaryArchSuffix = $portVersion
|
||||
@@ -38,6 +39,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage typst$secondaryArchSuffix \
|
||||
"$binDir"/typst
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cargo build --release $jobArgs
|
||||
@@ -45,8 +49,8 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d $prefix/bin
|
||||
install -t $prefix/bin target/release/typst
|
||||
install -d $binDir
|
||||
install -t $binDir target/release/typst
|
||||
}
|
||||
|
||||
TEST()
|
||||
|
||||
Reference in New Issue
Block a user