diff options
author | Tércio Martins | 2021-11-14 17:57:54 -0300 |
---|---|---|
committer | Tércio Martins | 2021-11-14 17:57:54 -0300 |
commit | 442298f021ae1b05931564b546d524d492704d43 (patch) | |
tree | 2f1a44cfe0aae8728710e6271edab2b529ca9b9b /PKGBUILD | |
parent | 17d97c5fec2faaf7ba8204c4b01e9a540a54eb87 (diff) | |
download | aur-442298f021ae1b05931564b546d524d492704d43.tar.gz |
Fixes to compile with dependency "opencolorio1"
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -3,8 +3,7 @@ # Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz> pkgname=openfx-io-git -pkgver=Natron.2.4.0.r0.g47c236e -_pkgname="${pkgname}-Natron-${pkgver}" +pkgver=Natron.2.4.1.r1.g7714dd5 pkgrel=1 arch=('x86_64') pkgdesc="A set of Readers/Writers plugins written using the OpenFX standard" @@ -28,6 +27,11 @@ sha512sums=('SKIP' 'SKIP' 'SKIP') +pkgver() { + cd ${_pkgname} + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + prepare() { cd ${_pkgname} git submodule init @@ -40,6 +44,11 @@ prepare() { git submodule init git config submodule.tinydir.url ${srcdir}/tinydir git submodule update + cd ../.. + + # Change OpenColorIO library references to the version of "opencolorio1" package + find IOSupport/ -name GenericOCIO.* \ + -exec sed -i 's/include <OpenColorIO/include <OpenColorIO1/' {} \; } build() { |