2018-03-26 20:30:48 +00:00
|
|
|
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."
|
2018-07-06 00:43:17 +00:00
|
|
|
HOMEPAGE="https://cgit.freedesktop.org/xorg/lib/libXScrnSaver
|
2018-03-26 20:30:48 +00:00
|
|
|
https://www.x.org/releases/individual/lib/"
|
|
|
|
COPYRIGHT="1992 X Consortium
|
|
|
|
2003-2012 The XFree86 Project, Inc."
|
|
|
|
LICENSE="libXScrnSaver"
|
2018-08-14 10:53:43 +00:00
|
|
|
REVISION="3"
|
2018-03-26 20:30:48 +00:00
|
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXScrnSaver-$portVersion.tar.bz2"
|
2018-07-06 00:43:17 +00:00
|
|
|
CHECKSUM_SHA256="f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8"
|
2018-03-26 20:30:48 +00:00
|
|
|
SOURCE_DIR="libXScrnSaver-$portVersion"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2018-03-26 20:30:48 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
|
|
|
|
libVersion="1.0.0"
|
|
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
libxscrnsaver$secondaryArchSuffix = $portVersion
|
2018-08-14 10:53:43 +00:00
|
|
|
lib:libXss$secondaryArchSuffix = $libVersionCompat
|
2018-03-26 20:30:48 +00:00
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
2018-08-14 10:53:43 +00:00
|
|
|
lib:libX11$secondaryArchSuffix
|
|
|
|
lib:libXext$secondaryArchSuffix
|
2018-03-26 20:30:48 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
PROVIDES_devel="
|
|
|
|
libxscrnsaver${secondaryArchSuffix}_devel = $portVersion
|
2018-08-14 10:53:43 +00:00
|
|
|
devel:libXss$secondaryArchSuffix = $libVersionCompat
|
2018-03-26 20:30:48 +00:00
|
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
|
|
libxscrnsaver$secondaryArchSuffix == $portVersion base
|
2018-08-14 10:53:43 +00:00
|
|
|
devel:libX11$secondaryArchSuffix
|
|
|
|
devel:libXext$secondaryArchSuffix
|
|
|
|
devel:scrnsaverproto
|
2018-03-26 20:30:48 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
2018-08-14 10:53:43 +00:00
|
|
|
devel:libX11$secondaryArchSuffix
|
|
|
|
devel:libXext$secondaryArchSuffix
|
2018-07-21 08:47:36 +00:00
|
|
|
devel:util_macros
|
2018-03-26 20:30:48 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:aclocal
|
2018-07-21 08:47:36 +00:00
|
|
|
cmd:autoconf
|
|
|
|
cmd:awk
|
2018-03-26 20:30:48 +00:00
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
defineDebugInfoPackage libxscrnsaver$secondaryArchSuffix \
|
|
|
|
"$libDir"/libXss.so.$libVersion
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
2018-07-21 08:47:36 +00:00
|
|
|
autoreconf -vfi
|
2018-03-26 20:30:48 +00:00
|
|
|
runConfigure ./configure
|
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
make install
|
|
|
|
|
|
|
|
if [ -z "$secondaryArchSuffix" ]; then
|
2018-07-06 00:43:17 +00:00
|
|
|
install -m 0755 -d "$developDocDir"
|
|
|
|
install -m 0644 -t "$developDocDir" README
|
2018-03-26 20:30:48 +00:00
|
|
|
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"}
|
|
|
|
}
|