71 lines
1.5 KiB
Bash
71 lines
1.5 KiB
Bash
SUMMARY="A pixel-manipulation library for X and cairo"
|
|
DESCRIPTION="Pixman is a low-level software library for pixel manipulation, \
|
|
providing features such as image compositing and trapezoid rasterization. \
|
|
Important users of pixman are the cairo graphics library and the X server."
|
|
HOMEPAGE="https://cgit.freedesktop.org/pixman/"
|
|
COPYRIGHT="1987-1998 The Open Group
|
|
1987-1989 Digital Equipment Corporation
|
|
1999, 2004, 2008 Keith Packard
|
|
2004-2010 Red Hat, Inc.
|
|
2009-2010 Nokia Corporation
|
|
and many others"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://cairographics.org/releases/pixman-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="da66d6fd6e40aee70f7bd02e4f8f76fc3f006ec879d346bae6a723025cfbdde7"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
pixman$secondaryArchSuffix = $portVersion
|
|
lib:libpixman_1$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
pixman${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libpixman_1$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
pixman$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libpixman-1.la
|
|
|
|
prepareInstalledDevelLibs libpixman-1
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|