diff --git a/x11-libs/libxdamage/libxdamage-1.1.4.recipe b/x11-libs/libxdamage/libxdamage-1.1.4.recipe new file mode 100644 index 000000000..bef22015e --- /dev/null +++ b/x11-libs/libxdamage/libxdamage-1.1.4.recipe @@ -0,0 +1,88 @@ +SUMMARY="A library for the X Damage region extension to the X11 protocol" +DESCRIPTION="libXdamage is a client interface to the Damage extension of the \ +X protocol." +HOMEPAGE="https://www.x.org/wiki/" +COPYRIGHT="2001, 2003 Keith Packard + 2003 Noah Levitt + 2007 Eric Anholt" +LICENSE="libXdamage" +REVISION="1" +SOURCE_URI="https://www.x.org/releases/individual/lib/libXdamage-$portVersion.tar.bz2" +CHECKSUM_SHA256="7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad" +SOURCE_DIR="libXdamage-$portVersion" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +libVersion="1.1.0" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + +PROVIDES=" + libxdamage$secondaryArchSuffix = $portVersion + lib:libxdamage$secondaryArchSuffix = $libVersionCompat + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libX11$secondaryArchSuffix + lib:libxfixes$secondaryArchSuffix + " + +PROVIDES_devel=" + libxdamage${secondaryArchSuffix}_devel = $portVersion + devel:libxdamage$secondaryArchSuffix = $libVersionCompat + " +REQUIRES_devel=" + libxdamage$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:damageproto$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 libxdamage$secondaryArchSuffix \ + "$libDir"/libXdamage.so.$libVersion + +BUILD() +{ + autoreconf -vfi + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + install -d "$docDir" + install -t "$docDir" README + + rm -f "$libDir"/libXdamage.la + + prepareInstalledDevelLib libXdamage + fixPkgconfig + + # devel package + packageEntries devel \ + "$developDir" +} diff --git a/x11-libs/libxdamage/licenses/libXdamage b/x11-libs/libxdamage/licenses/libXdamage new file mode 100644 index 000000000..8eaae9d80 --- /dev/null +++ b/x11-libs/libxdamage/licenses/libXdamage @@ -0,0 +1,22 @@ + +Copyright © 2001,2003 Keith Packard +Copyright © 2007 Eric Anholt + +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. +