mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-01 12:38:51 +02:00
We probably don't need to keep a versioned dependency on libxcb, so let's commented it out.
166 lines
4.9 KiB
Bash
166 lines
4.9 KiB
Bash
SUMMARY="X.Org X11 library"
|
|
DESCRIPTION="The X.Org project provides an open source implementation of the \
|
|
X Window System. \
|
|
The development work is being done in conjunction with the freedesktop.org \
|
|
community. \
|
|
The X.Org Foundation is the educational non-profit corporation whose \
|
|
Board serves this effort, and whose Members lead this work."
|
|
HOMEPAGE="https://www.x.org/"
|
|
# TODO: sort & merge
|
|
COPYRIGHT="2003-2006,2008 Jamey Sharp, Josh Triplett
|
|
2009 Red Hat, Inc.
|
|
1990-1992,1999,2000,2004,2009,2010 Oracle and/or its affiliates.
|
|
1984-1994, 1998 The Open Group
|
|
1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium
|
|
2000 The XFree86 Project, Inc.
|
|
1985, 1986, 1987, 1988, 1989, 1990, 1991, 1993 Digital Equipment Corporation
|
|
1990, 1991 by Tektronix, Inc.
|
|
1999-2000 Free Software Foundation, Inc.
|
|
1990, 1991 Tektronix, Inc.
|
|
1990, 1991, 1992, 1993, 1994, 1995 FUJITSU LIMITED
|
|
1992 by Oki Technosystems Laboratory, Inc.
|
|
1992 by Fuji Xerox Co., Ltd.
|
|
1995 David E. Wexelblat
|
|
1990, 1991 by OMRON Corporation
|
|
1993 Digital Equipment Corporation, Maynard, Massachusetts,
|
|
1994 Sony Corporation
|
|
1991 the Open Software Foundation
|
|
1993, 1994 Sony Corporation
|
|
1993, 1995 Silicon Graphics Computer Systems, Inc.
|
|
1992, 1993 by FUJITSU LIMITED
|
|
1993 Fujitsu Open Systems Solutions, Inc.
|
|
1994 Sony Corporation
|
|
1987, 1988, 1990, 1993 by Digital Equipment Corporation, Maynard, Massachusetts,
|
|
1993 SunSoft, Inc.
|
|
1999-2000 by Bruno Haible
|
|
1991 the Open Software Foundation
|
|
1993 the TOSHIBA Corp
|
|
1988 Wyse Technology, Inc., San Jose, Ca.
|
|
1991 the Open Software Foundation
|
|
1993, 1994 the Sony Corporation
|
|
1992, 1993 FUJITSU LIMITED
|
|
1993 Fujitsu Open Systems Solutions, Inc.
|
|
1993, 1994 Sony Corporation
|
|
1986, 1998 The Open Group
|
|
2000 The XFree86 Project, Inc.
|
|
1990, 1991 OMRON Corporation, NTT Software Corporation, and Nippon Telegraph and Telephone Corporation
|
|
1991 the Open Software Foundation
|
|
1993 the FUJITSU LIMITED
|
|
1988 Wyse Technology, Inc., San Jose, Ca,
|
|
1987 Digital Equipment Corporation, Maynard, Massachusetts
|
|
1991, 1992 Fuji Xerox Co., Ltd.
|
|
1992, 1993, 1994 FUJITSU LIMITED
|
|
2006 Josh Triplett
|
|
1996 Sebastien Marineau and Holger Veit
|
|
1990, 1991 OMRON Corporation, NTT Software Corporation, and Nippon Telegraph and Telephone Corporation
|
|
1991 the Open Software Foundation
|
|
1993 the TOSHIBA Corp.
|
|
1993, 1994 Sony Corporation
|
|
1993, 1994 the FUJITSU LIMITED
|
|
2000 Bruno Haible
|
|
2003 Keith Packard
|
|
2007-2009 Troy D. Hanson
|
|
1992, 1993 TOSHIBA Corp.
|
|
1993 IBM Corporation
|
|
1990, 1991 OMRON Corporation, NTT Software Corporation, and Nippon Telegraph and Telephone Corporation
|
|
"
|
|
# TODO: check all the licenses in the COPYING file in the next century.
|
|
LICENSE="MIT"
|
|
REVISION="4"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libX11-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="3abce972ba62620611fab5b404dafb852da3da54e7c287831c30863011d28fb3"
|
|
SOURCE_DIR="libX11-$portVersion"
|
|
PATCHES="libx11-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
# TODO: patch to detect libnetwork
|
|
|
|
PROVIDES="
|
|
libx11$secondaryArchSuffix = $portVersion
|
|
lib:libx11$secondaryArchSuffix = 6.3.0 compat >= 6
|
|
lib:libx11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libxcb$secondaryArchSuffix
|
|
lib:libxau$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libx11${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libx11$secondaryArchSuffix = 6.3.0 compat >= 6
|
|
devel:libx11_xcb$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libx11$secondaryArchSuffix == $portVersion base
|
|
devel:libxcb$secondaryArchSuffix
|
|
devel:libxau$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
# libxcb${secondaryArchSuffix}_devel >= 1.11.1
|
|
lib:libxcb$secondaryArchSuffix
|
|
lib:libxau$secondaryArchSuffix
|
|
devel:util_macros$secondaryArchSuffix
|
|
devel:xproto$secondaryArchSuffix
|
|
devel:xtrans$secondaryArchSuffix
|
|
devel:inputproto$secondaryArchSuffix
|
|
devel:kbproto$secondaryArchSuffix
|
|
devel:xcb_proto$secondaryArchSuffix
|
|
devel:libxslt$secondaryArchSuffix
|
|
devel:libpthread_stubs$secondaryArchSuffix
|
|
devel:libxcb$secondaryArchSuffix
|
|
devel:libxau$secondaryArchSuffix
|
|
devel:xextproto$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
#cmd:xmlto
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
autoreconf -i
|
|
# --disable-selective-werror else makekeys does not even reach main()
|
|
runConfigure ./configure --disable-selective-werror --enable-static=no
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install-strip
|
|
|
|
rm -f $libDir/lib*.la
|
|
|
|
prepareInstalledDevelLibs \
|
|
libX11 \
|
|
libX11-xcb
|
|
|
|
fixPkgconfig
|
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
rm -rf $documentationDir
|
|
maybe_manDir_man3=
|
|
else
|
|
maybe_manDir_man3=$manDir/man3
|
|
fi
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$maybe_manDir_man3
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|