SUMMARY="A program to turn bitmaps into vectors" DESCRIPTION="AutoTrace is a program that can convert bitmaps into \ close vectors. It tries to replicate the image as close as possible while \ still being usable to edit manually. It is made to compete with other \ commercial products that do the same." HOMEPAGE="http://autotrace.sourceforge.net" COPYRIGHT="2000-2020 AutoTrace contributors" LICENSE="GNU GPL v2" REVISION="1" srcGitRev="67102f1463e366ea685d8f70fb47e8dd4537a7fe" SOURCE_URI="https://github.com/autotrace/autotrace/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="64da5d159f8496cb607b99f6241a4ab77730be0205cdc51620d7a82b1b339917" SOURCE_DIR="autotrace-$srcGitRev" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" commandBinDir=$binDir commandSuffix=$secondaryArchSuffix if [ "$targetArchitecture" = x86_gcc2 ]; then commandSuffix= commandBinDir=$prefix/bin fi libVersion="3.0.0" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" autotrace$secondaryArchSuffix = $portVersion cmd:autotrace$commandSuffix = $portVersion cmd:autotrace_config$commandSuffix = $portVersion lib:libautotrace$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix lib:libglib_2.0$secondaryArchSuffix lib:libiconv$secondaryArchSuffix lib:libintl$secondaryArchSuffix lib:libMagick++_7.Q16HDRI$secondaryArchSuffix lib:libpng16$secondaryArchSuffix lib:libz$secondaryArchSuffix " PROVIDES_devel=" autotrace${secondaryArchSuffix}_devel = $portVersion devel:libautotrace$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" autotrace$secondaryArchSuffix == $portVersion base haiku${secondaryArchSuffix}_devel " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libglib_2.0$secondaryArchSuffix devel:libiconv$secondaryArchSuffix devel:libintl$secondaryArchSuffix devel:libMagick++_7.Q16HDRI$secondaryArchSuffix devel:libpng16$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal cmd:autopoint cmd:autoreconf cmd:find cmd:gcc$secondaryArchSuffix cmd:intltoolize cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " defineDebugInfoPackage autotrace$secondaryArchSuffix \ $libDir/libautotrace.so.$libVersion \ $commandBinDir/autotrace BUILD() { ./autogen.sh runConfigure --omit-dirs binDir ./configure \ --bindir=$commandBinDir \ --without-pstoedit \ --disable-static make $jobArgs } INSTALL() { make install rm -f $libDir/*.la prepareInstalledDevelLib libautotrace fixPkgconfig packageEntries devel \ $developDir } TEST() { make check }