From f4aa94852082a228b656fb66bd426826321b09ca Mon Sep 17 00:00:00 2001 From: miqlas Date: Thu, 2 Mar 2017 19:12:37 +0100 Subject: [PATCH] LibXi: new recipe (#1193) --- x11-libs/libxi/libxi-1.7.6.recipe | 77 +++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 x11-libs/libxi/libxi-1.7.6.recipe diff --git a/x11-libs/libxi/libxi-1.7.6.recipe b/x11-libs/libxi/libxi-1.7.6.recipe new file mode 100644 index 000000000..857fcc4e5 --- /dev/null +++ b/x11-libs/libxi/libxi-1.7.6.recipe @@ -0,0 +1,77 @@ +SUMMARY="X Input extension library" +DESCRIPTION="libxi is an extension to the X11 protocol to support input \ +devices other than the core X keyboard and pointer. It allows client programs \ +to select input from these devices independently from each other and \ +independently from the core devices." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/" +COPYRIGHT="1989, 1998 The Open Group" +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="https://www.x.org/archive/individual/lib/libXi-$portVersion.tar.gz" +CHECKSUM_SHA256="4e88fa7decd287e58140ea72238f8d54e4791de302938c83695fc0c9ac102b7e" +SOURCE_DIR="libXi-$portVersion" + +ARCHITECTURES="?x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + libxi$secondaryArchSuffix = $portVersion + lib:libxi$secondaryArchSuffix = 6.1.0 compat >= 6 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libX11$secondaryArchSuffix + lib:libxext$secondaryArchSuffix + " + +PROVIDES_devel=" + libxi${secondaryArchSuffix}_devel = $portVersion + devel:libxi$secondaryArchSuffix = 6.1.0 compat >= 6 + " +REQUIRES_devel=" + libxi$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:inputproto$secondaryArchSuffix + devel:fixesproto$secondaryArchSuffix + devel:kbproto$secondaryArchSuffix + devel:libpthread_stubs$secondaryArchSuffix + devel:libX11$secondaryArchSuffix + devel:libxext$secondaryArchSuffix + devel:libxfixes$secondaryArchSuffix + devel:xextproto$secondaryArchSuffix + devel:xproto$secondaryArchSuffix + " +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 + + rm -rf $libDir/libXi.la + + fixPkgconfig + prepareInstalledDevelLib libXi + + # devel package + packageEntries devel \ + $developDir +}