From 8972d696215941afcdc1fc4d348d422c50c81c77 Mon Sep 17 00:00:00 2001 From: phoudoin Date: Thu, 24 Apr 2025 17:05:36 +0200 Subject: [PATCH] typst: disable x86 build and add a debugInfo package (#12234) --- app-text/typst/typst-0.13.1.recipe | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app-text/typst/typst-0.13.1.recipe b/app-text/typst/typst-0.13.1.recipe index 6cc582403..270cd31a5 100644 --- a/app-text/typst/typst-0.13.1.recipe +++ b/app-text/typst/typst-0.13.1.recipe @@ -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()