mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
96 lines
2.2 KiB
Bash
96 lines
2.2 KiB
Bash
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="2"
|
|
SOURCE_URI="https://www.x.org/archive/individual/lib/libXi-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="c2e6b8ff84f9448386c1b5510a5cf5a16d788f76db018194dacdc200180faf45"
|
|
SOURCE_DIR="libXi-$portVersion"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion=6.1.0
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libxi$secondaryArchSuffix = $portVersion
|
|
lib:libxi$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libx11$secondaryArchSuffix
|
|
lib:libxau$secondaryArchSuffix
|
|
lib:libxcb$secondaryArchSuffix
|
|
lib:libxdmcp$secondaryArchSuffix
|
|
lib:libxext$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxi${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxi$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libxi$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
docbook_xml_dtd
|
|
docbook_xsl_stylesheets
|
|
devel:inputproto
|
|
devel:fixesproto
|
|
devel:kbproto
|
|
devel:libpthread_stubs
|
|
devel:libx11$secondaryArchSuffix
|
|
devel:libxau$secondaryArchSuffix
|
|
devel:libxcb$secondaryArchSuffix
|
|
devel:libxdmcp$secondaryArchSuffix
|
|
devel:libxext$secondaryArchSuffix
|
|
devel:libxfixes$secondaryArchSuffix
|
|
devel:xextproto
|
|
devel:xorg_sgml_doctools
|
|
devel:xproto
|
|
devel:util_macros
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:aclocal
|
|
#cmd:asciidoc
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xmlto
|
|
cmd:xsltproc
|
|
"
|
|
|
|
defineDebugInfoPackage libxi$secondaryArchSuffix \
|
|
$libDir/libXi.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -rf $libDir/libXi.la
|
|
|
|
fixPkgconfig
|
|
prepareInstalledDevelLib libXi
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|