From 41efdc582b039b5654df08511013d3f619bf6898 Mon Sep 17 00:00:00 2001 From: miqlas Date: Sun, 5 Mar 2017 00:48:50 +0100 Subject: [PATCH] presentproto: new recipe (#1186) --- .../presentproto/presentproto-1.1.recipe | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 x11-proto/presentproto/presentproto-1.1.recipe diff --git a/x11-proto/presentproto/presentproto-1.1.recipe b/x11-proto/presentproto/presentproto-1.1.recipe new file mode 100644 index 000000000..4b2a268f2 --- /dev/null +++ b/x11-proto/presentproto/presentproto-1.1.recipe @@ -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 +}