2018-01-01 01:16:42 +00:00
|
|
|
SUMMARY="Library for the Render Extension to the X11 protocol"
|
|
|
|
DESCRIPTION="The Xrender library is designed as a lightweight library \
|
|
|
|
interface to the Render extension."
|
|
|
|
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
|
|
|
COPYRIGHT="2000 SuSE, Inc
|
2018-01-24 21:38:55 +00:00
|
|
|
2001-2003 Keith Packard"
|
|
|
|
LICENSE="libXrender"
|
2018-08-14 10:07:56 +00:00
|
|
|
REVISION="4"
|
2018-01-01 01:16:42 +00:00
|
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXrender-$portVersion.tar.bz2"
|
|
|
|
CHECKSUM_SHA256="c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949"
|
|
|
|
SOURCE_DIR="libXrender-$portVersion"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2018-01-01 01:16:42 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
2018-08-06 13:04:59 +00:00
|
|
|
libVersion="1.3.0"
|
|
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
|
2018-01-01 01:16:42 +00:00
|
|
|
PROVIDES="
|
|
|
|
libxrender$secondaryArchSuffix = $portVersion
|
|
|
|
lib:libXrender$secondaryArchSuffix = $libVersionCompat
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
2018-08-14 10:07:56 +00:00
|
|
|
lib:libX11$secondaryArchSuffix
|
2018-01-01 01:16:42 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
PROVIDES_devel="
|
|
|
|
libxrender${secondaryArchSuffix}_devel = $portVersion
|
|
|
|
devel:libXrender$secondaryArchSuffix = $libVersion
|
|
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
|
|
libxrender$secondaryArchSuffix == $portVersion base
|
2018-08-16 06:16:57 +00:00
|
|
|
devel:libX11$secondaryArchSuffix
|
2018-08-14 10:07:56 +00:00
|
|
|
devel:renderproto
|
|
|
|
devel:xproto
|
2018-01-01 01:16:42 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
2018-08-14 10:07:56 +00:00
|
|
|
devel:libX11$secondaryArchSuffix
|
2018-07-21 07:40:35 +00:00
|
|
|
devel:util_macros
|
2018-01-01 01:16:42 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:aclocal
|
|
|
|
cmd:autoconf
|
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
defineDebugInfoPackage libxrender$secondaryArchSuffix \
|
|
|
|
$libDir/libXrender.so.$libVersion
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
autoreconf -vfi
|
2018-01-24 21:38:55 +00:00
|
|
|
runConfigure --omit-dirs docDir ./configure --docdir "$developDocDir"
|
2018-01-01 01:16:42 +00:00
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
make install
|
2018-08-16 06:16:57 +00:00
|
|
|
|
|
|
|
if [ -z "$secondaryArchSuffix" ]; then
|
|
|
|
install -d "$developDocDir"
|
|
|
|
install -t "$developDocDir" README
|
|
|
|
else
|
|
|
|
rm -rf "$developDir/documentation"
|
|
|
|
fi
|
2018-01-01 01:16:42 +00:00
|
|
|
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
|
|
|
|
prepareInstalledDevelLib libXrender
|
|
|
|
fixPkgconfig
|
|
|
|
|
|
|
|
# devel package
|
|
|
|
packageEntries devel \
|
|
|
|
$developDir
|
|
|
|
}
|