mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
86 lines
2.2 KiB
Bash
86 lines
2.2 KiB
Bash
SUMMARY="Bitmap rendering and loading support"
|
|
DESCRIPTION="The GdkPixBuf library provides a number of features:
|
|
* Reference counting for libart's ArtPixBuf structure.
|
|
* Image loading facilities.
|
|
* Rendering of a GdkPixBuf into various formats: drawables (windows, pixmaps), \
|
|
GdkRGB buffers.
|
|
* Fast scaling and compositing of pixbufs.
|
|
* Simple animation loading (ie. animated GIFs)"
|
|
HOMEPAGE="https://launchpad.net/gdk-pixbuf"
|
|
COPYRIGHT="1999-2015 Gnome Project"
|
|
LICENSE="GNU LGPL v2.1"
|
|
|
|
SOURCE_URI="https://download.gnome.org/sources/gdk-pixbuf/2.31/gdk-pixbuf-2.31.5.tar.xz"
|
|
CHECKSUM_SHA256="0a76e70497cd25ef2ac0da63a489c158ea3926724eb83d5254f9a0bc985ff7a6"
|
|
SOURCE_DIR="gdk-pixbuf-$portVersion"
|
|
PATCHES="gdk_pixbuf-$portVersion.patchset"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gdk_pixbuf$secondaryArchSuffix = $portVersion
|
|
cmd:gdk_pixbuf_csource$secondaryArchSuffix
|
|
cmd:gdk_pixbuf_pixdata$secondaryArchSuffix
|
|
cmd:gdk_pixbuf_query_loaders$secondaryArchSuffix
|
|
lib:libgdk_pixbuf_2.0$secondaryArchSuffix = 0.3100.5 compat = 0
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libffi$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgmodule_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
gdk_pixbuf${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libgdk_pixbuf_2.0$secondaryArchSuffix = 0.3100.5 compat = 0
|
|
"
|
|
REQUIRES_devel="
|
|
gdk_pixbuf$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libtiff$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libgdk_pixbuf-2.0
|
|
rm $developLibDir/*.la
|
|
fixPkgconfig
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|