mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libXft, bump revision, cleanup, fix REQUIRES_devel
This commit is contained in:
@@ -6,7 +6,7 @@ glyph drawing; otherwise, the core X protocol is used."
|
||||
HOMEPAGE="https://www.x.org/"
|
||||
COPYRIGHT="2000-2003 Keith Packard"
|
||||
LICENSE="libXft"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.x.org/releases/individual/lib/libXft-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c"
|
||||
SOURCE_DIR="libXft-$portVersion"
|
||||
@@ -19,44 +19,39 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libxft$secondaryArchSuffix = $portVersion
|
||||
lib:libxft$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libXft$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libx11$secondaryArchSuffix
|
||||
lib:libxrender$secondaryArchSuffix
|
||||
lib:libX11$secondaryArchSuffix
|
||||
lib:libXrender$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libxft${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libxft$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libXft$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libxft$secondaryArchSuffix == $portVersion base
|
||||
devel:libx11$secondaryArchSuffix
|
||||
devel:libxau$secondaryArchSuffix
|
||||
devel:libxcb$secondaryArchSuffix
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libXrender$secondaryArchSuffix
|
||||
devel:xproto
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:kbproto$secondaryArchSuffix
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libpthread_stubs$secondaryArchSuffix
|
||||
devel:libx11$secondaryArchSuffix
|
||||
devel:libxrender$secondaryArchSuffix
|
||||
devel:renderproto$secondaryArchSuffix
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libX11$secondaryArchSuffix
|
||||
devel:libXrender$secondaryArchSuffix
|
||||
devel:util_macros
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
@@ -66,7 +61,6 @@ defineDebugInfoPackage libxft$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -i
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -75,25 +69,23 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
install -m 0755 -d "$developDocDir"
|
||||
install -m 0644 -t "$developDocDir" README
|
||||
maybe_manDir="$manDir"
|
||||
else
|
||||
rm -rf "$manDir"
|
||||
rm -rf "$developDir/documentation"
|
||||
maybe_manDir=
|
||||
fi
|
||||
|
||||
# remove libtool library file
|
||||
rm -f "$libDir"/libXft.la
|
||||
|
||||
prepareInstalledDevelLib libXft
|
||||
fixPkgconfig
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm -rf "$documentationDir"
|
||||
maybe_manDir=
|
||||
else
|
||||
maybe_manDir="$manDir"
|
||||
fi
|
||||
|
||||
packageEntries devel \
|
||||
"$developDir" \
|
||||
${maybe_manDir:+"$maybe_manDir"}
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user