fixup! libXcb, bump revision, use correct REQUIRES_devel

This commit is contained in:
begasus
2018-08-13 14:30:37 +02:00
committed by waddlesplash
parent e90ff62cf7
commit 11188bac43

View File

@@ -85,6 +85,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcheck$secondaryArchSuffix
lib:libXau$secondaryArchSuffix
lib:libXdmcp$secondaryArchSuffix
"
@@ -126,6 +127,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcheck$secondaryArchSuffix
devel:libpthread_stubs
devel:libXau$secondaryArchSuffix
devel:libXdmcp$secondaryArchSuffix
@@ -136,12 +138,14 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
# cmd:dot$secondaryArchSuffix
# cmd:doxygen
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:python
cmd:xsltproc
"
debugList=(
@@ -159,15 +163,16 @@ defineDebugInfoPackage libxcb$secondaryArchSuffix "${debugList[@]}"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
runConfigure --omit-dirs docDir ./configure --docdir=$developDocDir
# doxygen -u doc/xcb.doxygen
make $jobArgs
}
INSTALL()
{
make install
install -d -m 755 "$docDir"
install -m 644 -t "$docDir" README
install -d -m 755 "$developDocDir"
install -m 644 -t "$developDocDir" README
# remove libtool library files
rm $libDir/libxcb*.la
@@ -176,12 +181,19 @@ INSTALL()
fixPkgconfig
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $documentationDir/man
rm -rf $manDir
maybe_manDir_man3=
else
maybe_manDir_man3=$manDir/man3
fi
# devel package
packageEntries devel \
$developDir
$developDir \
$maybe_manDir_man3
# remove the empty $documentationDir on primary architecture
rm -fr $documentationDir
}
TEST()