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 | |
parent | 17d97c5fec2faaf7ba8204c4b01e9a540a54eb87 (diff) | |
download | aur-442298f021ae1b05931564b546d524d492704d43.tar.gz |
Fixes to compile with dependency "opencolorio1"
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 12 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = openfx-io-git pkgdesc = A set of Readers/Writers plugins written using the OpenFX standard - pkgver = Natron.2.4.0.r0.g47c236e + pkgver = Natron.2.4.1.r1.g7714dd5 pkgrel = 1 url = https://github.com/NatronGitHub/openfx-io arch = x86_64 @@ -21,4 +21,3 @@ pkgbase = openfx-io-git sha512sums = SKIP pkgname = openfx-io-git - @@ -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() { |