libXrandr, bump revision, cleanup, fix REQUIRES_devel

This commit is contained in:
begasus
2018-08-16 07:26:45 +02:00
committed by waddlesplash
parent 1198f519de
commit 0b8dc6af57

View File

@@ -11,12 +11,12 @@ COPYRIGHT="2000, Compaq Computer Corporation.
2011 Dave Airlie
2006 Keith Packard"
LICENSE="MIT (no promotion)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.x.org/releases/individual/lib/libXrandr-$portVersion.tar.bz2"
CHECKSUM_SHA256="1ff9e7fa0e4adea912b16a5f0cfa7c1d35b0dcda0e216831f7715c8a3abcf51a"
SOURCE_DIR="libXrandr-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
libVersion="2.2.0"
@@ -29,8 +29,8 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
lib:libxext$secondaryArchSuffix
lib:libxrender$secondaryArchSuffix
lib:libXext$secondaryArchSuffix
lib:libXrender$secondaryArchSuffix
"
PROVIDES_devel="
@@ -39,20 +39,19 @@ PROVIDES_devel="
"
REQUIRES_devel="
libxrandr$secondaryArchSuffix == $portVersion base
devel:libX11$secondaryArchSuffix
devel:libXext$secondaryArchSuffix
devel:libXrender$secondaryArchSuffix
devel:randrproto
devel:xproto
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:kbproto$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:libxext$secondaryArchSuffix
devel:libxrender$secondaryArchSuffix
devel:randrproto$secondaryArchSuffix
devel:renderproto$secondaryArchSuffix
devel:xextproto$secondaryArchSuffix
devel:xproto$secondaryArchSuffix
devel:xtrans$secondaryArchSuffix
devel:libXext$secondaryArchSuffix
devel:libXrender$secondaryArchSuffix
devel:util_macros
"
BUILD_PREREQUIRES="
cmd:aclocal
@@ -61,7 +60,6 @@ BUILD_PREREQUIRES="
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
devel:util_macros$secondaryArchSuffix
"
defineDebugInfoPackage libxrandr$secondaryArchSuffix \
@@ -78,6 +76,16 @@ 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
rm -f $libDir/*.la
prepareInstalledDevelLib libXrandr
@@ -86,5 +94,5 @@ INSTALL()
# devel package
packageEntries devel \
$developDir \
$manDir
${maybe_manDir:+"$maybe_manDir"}
}