xcbproto, bump revision after changes to util-macros

This commit is contained in:
begasus
2018-07-19 18:18:40 +02:00
committed by waddlesplash
parent 6573bc7de0
commit dc2662c7bf

View File

@@ -3,42 +3,40 @@ DESCRIPTION="The X C Bindings protocol headers."
HOMEPAGE="https://xcb.freedesktop.org/"
COPYRIGHT="2001-2018 Bart Massey, Jamey Sharp, and Josh Triplett."
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="https://xcb.freedesktop.org/dist/xcb-proto-$portVersion.tar.gz"
CHECKSUM_SHA256="0698e8f596e4c0dbad71d3dc754d95eb0edbb42df5464e0f782621216fa33ba7"
REVISION="2"
SOURCE_URI="https://xcb.freedesktop.org/dist/xcb-proto-$portVersion.tar.bz2"
CHECKSUM_SHA256="7b98721e669be80284e9bbfeab02d2d0d54cd11172b72271e47a2fe875e2bde1"
SOURCE_DIR="xcb-proto-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
ARCHITECTURES="any"
PROVIDES="
xcb_proto$secondaryArchSuffix = $portVersion
devel:xcb_proto$secondaryArchSuffix = $portVersion
xcb_proto = $portVersion
devel:xcb_proto = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
haiku
lib:libxml2
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:util_macros$secondaryArchSuffix
haiku_devel
devel:util_macros
devel:libxml2
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:gcc
cmd:pkg_config
cmd:python
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
autoreconf -vfi
runConfigure --omit-dirs libDir ./configure --libdir=$dataDir
# force python dirs as the autodected one is the non-packaged one.
export PATH="$portPackageLinksDir/cmd~python/bin:$PATH"
pythonVersion=$(python --version 2>&1 | sed 's/Python //' | head -c3)