mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
libXrender, new recipe (#1995)
This commit is contained in:
77
x11-libs/libxrender/libxrender-0.9.10.recipe
Normal file
77
x11-libs/libxrender/libxrender-0.9.10.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
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
|
||||
2001,2003 Keith Packard"
|
||||
LICENSE="MIT (no promotion)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/libXrender-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949"
|
||||
SOURCE_DIR="libXrender-$portVersion"
|
||||
|
||||
libVersion=1.3.0
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libxrender$secondaryArchSuffix = $portVersion
|
||||
lib:libXrender$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libxrender${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libXrender$secondaryArchSuffix = $libVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libxrender$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:kbproto$secondaryArchSuffix
|
||||
devel:libpthread_stubs$secondaryArchSuffix
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:renderproto$secondaryArchSuffix
|
||||
devel:xproto$secondaryArchSuffix
|
||||
devel:xtrans$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
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
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -f $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib libXrender
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user