Files
haikuports/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe
2025-01-30 08:37:12 +00:00

75 lines
1.9 KiB
Bash

SUMMARY="A library for high-performance 2D graphics"
DESCRIPTION="Libart is free software (all components are either GPL or LGPL). Libart is \
also available for commercial licensing.
Libart supports a very powerful imaging model, basically the same as SVG and \
the Java 2D API. It includes all PostScript imaging operations, and adds \
antialiasing and alpha-transparency.
Libart is also highly tuned for incremental rendering. It contains data \
structures and algorithms suited to rapid, precise computation of Region of \
Interest, as well as a two-phase rendering pipeline optimized for interactive \
display."
HOMEPAGE="https://www.levien.com/libart/"
COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien"
LICENSE="GNU LGPL v2.1"
REVISION="4"
SOURCE_URI="https://download.gnome.org/sources/libart_lgpl/${portVersion%.*}/libart_lgpl-$portVersion.tar.bz2"
CHECKSUM_SHA256="fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libart_lgpl$secondaryArchSuffix = $portVersion
lib:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libart_lgpl${secondaryArchSuffix}_devel = $portVersion
cmd:libart2_config$secondaryArchSuffix = $portVersion compat >= 2
devel:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
"
REQUIRES_devel="
libart_lgpl$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:libtool
cmd:make
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure --disable-static
make $jobArgs
}
INSTALL()
{
make install
# remove libtool file
rm -f $libDir/libart_lgpl_2.la
# prepare devel/lib
prepareInstalledDevelLib \
libart_lgpl_2
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$binDir
}