presentproto: new recipe (#1186)

This commit is contained in:
miqlas
2017-03-05 00:48:50 +01:00
committed by waddlesplash
parent 5b40ab9762
commit 41efdc582b

View File

@@ -0,0 +1,49 @@
SUMMARY="The Present Extension"
DESCRIPTION="The Present extension provides a way for applications to update \
their window contents from a pixmap in a well defined fashion, synchronizing \
with the display refresh and potentially using a more efficient mechanism \
than copying the contents of the source pixmap."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="2013 Keith Packard"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/presentproto-$portVersion.tar.gz"
CHECKSUM_SHA256="114252e97afb4dfae8b31e6b0d5e24e4babda26b364e2be57abc2f3c30248b87"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
presentproto$secondaryArchSuffix = $portVersion
devel:presentproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
}
INSTALL()
{
make install
fixPkgconfig
}