mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
78 lines
2.1 KiB
Bash
78 lines
2.1 KiB
Bash
SUMMARY="A fast DVI, EPS, and PDF to SVG converter"
|
||
DESCRIPTION="The command-line utility dvisvgm is a tool for TEX/LATEX users. It converts DVI, \
|
||
EPS, and PDF files to the XML-based vector graphics format SVG. In contrast to bitmap graphics, \
|
||
vector graphics are arbitrarily scalable without loss of quality. All modern web browsers support \
|
||
a large amount of the current SVG standard 1.1. Furthermore, SVG files can also be displayed with \
|
||
the Java-based Squiggle SVG browser which is part of the Apache Batik project, and the free \
|
||
vector graphics editor Inkscape."
|
||
HOMEPAGE="https://dvisvgm.de/"
|
||
COPYRIGHT="2005–2025 Martin Gieseking"
|
||
LICENSE="GNU GPL v3"
|
||
REVISION="1"
|
||
SOURCE_URI="https://github.com/mgieseki/dvisvgm/releases/download/$portVersion/dvisvgm-$portVersion.tar.gz"
|
||
CHECKSUM_SHA256="5f04886933866f0eb7e776dfc74e2b42e35e43755eaa952f6e8e9900cdd50355"
|
||
PATCHES="dvisvgm-$portVersion.patchset"
|
||
|
||
ARCHITECTURES="all !x86_gcc2"
|
||
SECONDARY_ARCHITECTURES="x86"
|
||
|
||
PROVIDES="
|
||
dvisvgm$secondaryArchSuffix = $portVersion
|
||
cmd:dvisvgm = $portVersion
|
||
"
|
||
REQUIRES="
|
||
haiku$secondaryArchSuffix
|
||
lib:libbrotlienc$secondaryArchSuffix
|
||
lib:libfreetype$secondaryArchSuffix
|
||
lib:libgs$secondaryArchSuffix
|
||
lib:libkpathsea$secondaryArchSuffix
|
||
lib:libpotrace$secondaryArchSuffix
|
||
lib:libwoff2enc$secondaryArchSuffix
|
||
lib:libxxhash$secondaryArchSuffix
|
||
lib:libz$secondaryArchSuffix
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku${secondaryArchSuffix}_devel
|
||
devel:libbrotlienc$secondaryArchSuffix
|
||
devel:libfreetype$secondaryArchSuffix
|
||
devel:libgs$secondaryArchSuffix
|
||
devel:libkpathsea$secondaryArchSuffix
|
||
devel:libpotrace$secondaryArchSuffix
|
||
devel:libwoff2enc$secondaryArchSuffix
|
||
devel:libxxhash$secondaryArchSuffix
|
||
devel:libz$secondaryArchSuffix
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
cmd:autoconf
|
||
cmd:automake
|
||
cmd:awk
|
||
cmd:gcc$secondaryArchSuffix
|
||
cmd:make
|
||
cmd:pkg_config$secondaryArchSuffix
|
||
"
|
||
|
||
TEST_REQUIRES="
|
||
cmd:python3
|
||
"
|
||
|
||
defineDebugInfoPackage dvisvgm$secondaryArchSuffix \
|
||
$prefix/bin/dvisvgm
|
||
|
||
BUILD()
|
||
{
|
||
runConfigure --omit-dirs "binDir" ./configure \
|
||
--bindir=$prefix/bin
|
||
make $jobArgs
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
make install
|
||
}
|
||
|
||
TEST()
|
||
{
|
||
make check
|
||
}
|