Files
haikuports/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe
2015-08-04 12:08:31 -04:00

73 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="http://www.levien.com/libart/"
SOURCE_URI="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.gz"
CHECKSUM_SHA256="2a10b1c884bb37c7bd5c5eba59dbd0d28bf68e64a42d7f2083c836f60f8e98fa"
REVISION="1"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libart_lgpl$secondaryArchSuffix = $portVersion
lib:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:libtool
cmd:make
cmd:ld${secondaryArchSuffix}
cmd:gcc${secondaryArchSuffix}
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# prepare devel/lib
prepareInstalledDevelLibs libart_lgpl_2
# devel package
packageEntries devel \
$developDir \
$binDir
}
# ----- devel package
PROVIDES_devel="
libart_lgpl_2$secondaryArchSuffix = $portVersion
devel:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
cmd:libart2_config$secondaryArchSuffix = $portVersion compat >= 2
"
REQUIRES_devel="
libart_lgpl_2$secondaryArchSuffix == $portVersion base
"