mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
x11-libs/libXcomposite: new recipe. (#2151)
This commit is contained in:
88
x11-libs/libxcomposite/libxcomposite-0.4.4.recipe
Normal file
88
x11-libs/libxcomposite/libxcomposite-0.4.4.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="A client library for the Composite extension to the X11 protocol"
|
||||
DESCRIPTION="libXcomposite is a client interface to the Composite extension of \
|
||||
the X protocol."
|
||||
HOMEPAGE="https://www.x.org/wiki/"
|
||||
COPYRIGHT="2001, 2003 Keith Packard
|
||||
2003 Noah Levitt
|
||||
2006, 2007 Oracle and/or its affiliates"
|
||||
LICENSE="libXcomposite"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/libXcomposite-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178"
|
||||
SOURCE_DIR="libXcomposite-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="1.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libxcomposite$secondaryArchSuffix = $portVersion
|
||||
lib:libxcomposite$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libxcomposite${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libxcomposite$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libxcomposite$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:compositeproto$secondaryArchSuffix
|
||||
devel:fixesproto$secondaryArchSuffix
|
||||
devel:kbproto$secondaryArchSuffix
|
||||
devel:libpthread_stubs$secondaryArchSuffix
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:libxfixes$secondaryArchSuffix
|
||||
devel:xextproto$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoheader
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:makeinfo
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libxcomposite$secondaryArchSuffix \
|
||||
"$libDir"/libXcomposite.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
install -d "$docDir"
|
||||
install -t "$docDir" README
|
||||
|
||||
rm -f "$libDir"/libXcomposite.la
|
||||
|
||||
prepareInstalledDevelLib libXcomposite
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
"$developDir" \
|
||||
"$manDir"
|
||||
}
|
||||
41
x11-libs/libxcomposite/licenses/libXcomposite
Normal file
41
x11-libs/libxcomposite/licenses/libXcomposite
Normal file
@@ -0,0 +1,41 @@
|
||||
|
||||
Copyright © 2001,2003 Keith Packard
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of Keith Packard not be used in
|
||||
advertising or publicity pertaining to distribution of the software without
|
||||
specific, written prior permission. Keith Packard makes no
|
||||
representations about the suitability of this software for any purpose. It
|
||||
is provided "as is" without express or implied warranty.
|
||||
|
||||
KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||
EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice (including the next
|
||||
paragraph) shall be included in all copies or substantial portions of the
|
||||
Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
Reference in New Issue
Block a user