diff options
author | Christopher Arndt | 2017-01-22 16:48:15 +0100 |
---|---|---|
committer | Christopher Arndt | 2017-01-22 16:48:15 +0100 |
commit | d2adedc2527fd8e1e319038bdcf4bc02de56ff70 (patch) | |
tree | 9c9a493f2c38327a99c92f4e559efaa6cf05824d | |
parent | ade3a9bf66bc4c67489b4a10891f5146aeecacb3 (diff) | |
download | aur-d2adedc2527fd8e1e319038bdcf4bc02de56ff70.tar.gz |
Add workaround for error in waf script due to error in boost headers
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | wscript-disable-check.diff | 13 |
3 files changed, 29 insertions, 6 deletions
@@ -1,19 +1,22 @@ # Generated by mksrcinfo v8 -# Fri Mar 18 12:17:53 UTC 2016 +# Sun Jan 22 15:47:34 UTC 2017 pkgbase = ttl2c-git pkgdesc = Turtle to header conversion utility for LV2 Plugin developers pkgver = 1.0.0.r3.d832ab8 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/lvtk/ttl2c arch = i686 arch = x86_64 license = GPL3 + makedepends = python2 depends = boost-libs provides = ttl2c conflicts = ttl2c source = ttl2c::git+https://github.com/lvtk/ttl2c.git + source = wscript-disable-check.diff md5sums = SKIP + md5sums = 1203e5270aafad77868aa740b74f7481 pkgname = ttl2c-git @@ -3,17 +3,20 @@ _pkgname=ttl2c pkgname="${_pkgname}-git" pkgver=1.0.0.r3.d832ab8 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="Turtle to header conversion utility for LV2 Plugin developers " arch=('i686' 'x86_64') url="https://github.com/lvtk/ttl2c" license=('GPL3') depends=('boost-libs') +makedepends=('python2') conflicts=("${_pkgname}") provides=("${_pkgname}") -source=("${_pkgname}::git+https://github.com/lvtk/ttl2c.git") -md5sums=('SKIP') +source=("${_pkgname}::git+https://github.com/lvtk/ttl2c.git" + 'wscript-disable-check.diff') +md5sums=('SKIP' + '1203e5270aafad77868aa740b74f7481') pkgver() { @@ -22,10 +25,14 @@ pkgver() { echo $(git describe --tags).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } +prepare() { + cd "${srcdir}/${_pkgname}" + patch -p0 -i "$srcdir/wscript-disable-check.diff" +} + build() { cd "${srcdir}/${_pkgname}" - export LDFLAGS="-lboost_system" python2 waf configure --prefix=/usr python2 waf build } diff --git a/wscript-disable-check.diff b/wscript-disable-check.diff new file mode 100644 index 000000000000..4fe5aa51d0b8 --- /dev/null +++ b/wscript-disable-check.diff @@ -0,0 +1,13 @@ +--- wscript.orig 2017-01-22 16:43:53.239526285 +0100 ++++ wscript 2017-01-22 16:44:02.719526022 +0100 +@@ -29,8 +29,8 @@ + uselib_store='BOOST', mandatory=True) + conf.check(header_name='boost/spirit/include/classic_parse_tree.hpp', + uselib_store='BOOST', mandatory=True) +- conf.check(header_name='boost/spirit/include/classic_utility.hpp', +- uselib_store='BOOST', mandatory=True) ++ #conf.check(header_name='boost/spirit/include/classic_utility.hpp', ++ # uselib_store='BOOST', mandatory=True) + conf.check(header_name='boost/spirit/include/classic_ast.hpp', + uselib_store='BOOST', mandatory=True) + |