mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
x11-libs/libXScrnSaver: new recipe. (#2385)
This commit is contained in:
101
x11-libs/libxscrnsaver/libxscrnsaver-1.2.2.recipe
Normal file
101
x11-libs/libxscrnsaver/libxscrnsaver-1.2.2.recipe
Normal file
@@ -0,0 +1,101 @@
|
||||
SUMMARY="X11 Screen Saver extension client library"
|
||||
DESCRIPTION="The library provided by libXScrnSaver is an extension to the X \
|
||||
protocol. It allows X clients behaving as screen savers to register themselves \
|
||||
with the X server to better integrate themselves with the running X11 session."
|
||||
HOMEPAGE="http://cgit.freedesktop.org/xorg/lib/libXScrnSaver
|
||||
https://www.x.org/releases/individual/lib/"
|
||||
COPYRIGHT="1992 X Consortium
|
||||
2003-2012 The XFree86 Project, Inc."
|
||||
LICENSE="libXScrnSaver"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/libXScrnSaver-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
|
||||
SOURCE_DIR="libXScrnSaver-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="1.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libxscrnsaver$secondaryArchSuffix = $portVersion
|
||||
lib:libXss$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
lib:libXext$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libxscrnsaver${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libXss$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libxscrnsaver$secondaryArchSuffix == $portVersion base
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:libXext$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:kbproto$secondaryArchSuffix
|
||||
devel:libpthread_stubs$secondaryArchSuffix
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:libXext$secondaryArchSuffix
|
||||
devel:scrnsaverproto$secondaryArchSuffix
|
||||
devel:xextproto$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
cmd:aclocal
|
||||
cmd:automake
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:makeinfo
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libxscrnsaver$secondaryArchSuffix \
|
||||
"$libDir"/libXss.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -i
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
install -d "$developDocDir"
|
||||
install -t "$developDocDir" README
|
||||
maybe_manDir="$manDir"
|
||||
else
|
||||
rm -rf "$manDir"
|
||||
maybe_manDir=
|
||||
fi
|
||||
|
||||
rm -f "$libDir"/libXss.la
|
||||
|
||||
prepareInstalledDevelLib libXss
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
"$developDir" \
|
||||
${maybe_manDir:+"$maybe_manDir"}
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
50
x11-libs/libxscrnsaver/licenses/libXScrnSaver
Normal file
50
x11-libs/libxscrnsaver/licenses/libXScrnSaver
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
Copyright (c) 1992 X Consortium
|
||||
|
||||
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 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
|
||||
X CONSORTIUM 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.
|
||||
|
||||
Except as contained in this notice, the name of the X Consortium shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from the X Consortium.
|
||||
|
||||
|
||||
Copyright (C) 2003 The XFree86 Project, Inc. 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 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 NON-INFRINGEMENT.
|
||||
IN NO EVENT SHALL THE XFREE86 PROJECT 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.
|
||||
|
||||
Except as contained in this notice, the name of the XFree86 Project
|
||||
shall not be used in advertising or otherwise to promote the sale, use
|
||||
or other dealings in this Software without prior written authorization
|
||||
from the XFree86 Project.
|
||||
Reference in New Issue
Block a user