mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
pixman: add recipe for version 0.34.0.
This commit is contained in:
70
x11-libs/pixman/pixman-0.34.0.recipe
Normal file
70
x11-libs/pixman/pixman-0.34.0.recipe
Normal file
@@ -0,0 +1,70 @@
|
||||
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="http://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 Sun Microsystems, Inc.
|
||||
and many others"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://cairographics.org/releases/pixman-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user