mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libxau: Add recipe for 1.0.8
This commit is contained in:
62
x11-libs/libxau/libxau-1.0.8.recipe
Normal file
62
x11-libs/libxau/libxau-1.0.8.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="libxau"
|
||||
DESCRIPTION="
|
||||
libxau.
|
||||
"
|
||||
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
|
||||
SRC_URI="http://xorg.freedesktop.org/releases/individual/lib/libXau-1.0.8.tar.bz2"
|
||||
CHECKSUM_SHA256="fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2"
|
||||
REVISION="1"
|
||||
COPYRIGHT="1988, 1993, 1994, 1998 The Open Group"
|
||||
LICENSE="MIT (no promotion)"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
#TODO: make a _devel package ?
|
||||
PROVIDES="
|
||||
libxau$secondaryArchSuffix = $portVersion
|
||||
lib:libxau$secondaryArchSuffix = $portVersion
|
||||
lib:libXau$secondaryArchSuffix = $portVersion
|
||||
devel:libxau$secondaryArchSuffix = $portVersion
|
||||
devel:libXau$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
xproto$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
devel:xproto$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
cmd:autoconf
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SOURCE_DIR="libXau-$portVersion"
|
||||
|
||||
PATCHES="libxau-1.0.8.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
prepareInstalledDevelLibs libXau
|
||||
fixPkgconfig
|
||||
}
|
||||
26
x11-libs/libxau/patches/libxau-1.0.8.patch
Normal file
26
x11-libs/libxau/patches/libxau-1.0.8.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From cb03f4d4b90ab2a437ac7269afb80caf7c085d2e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
|
||||
Date: Tue, 29 Jul 2014 19:23:51 +0200
|
||||
Subject: [PATCH] Add check for libnetwork (Haiku)
|
||||
|
||||
---
|
||||
configure.ac | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 7f914ea..6139fbc 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -61,6 +61,9 @@ if test "x$xthreads" = "xyes" ; then
|
||||
if test "x$mtsafe" = "x" ; then
|
||||
AC_CHECK_LIB(nsl, gethostbyname_r, [mtsafe=yes])
|
||||
fi
|
||||
+ if test "x$mtsafe" = "x" ; then
|
||||
+ AC_CHECK_LIB(network, gethostbyname_r, [mtsafe=yes])
|
||||
+ fi
|
||||
if test "x$mtsafe" = "xyes" ; then
|
||||
AC_DEFINE(XUSE_MTSAFE_API, 1,
|
||||
[Whether libXau needs to use MT safe API's])
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user