summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTércio Martins2022-08-13 03:31:57 -0300
committerTércio Martins2022-08-13 03:31:57 -0300
commit87fb6869cea65160388bc9da2176a8e3e3911379 (patch)
treeb08c4cc1a2b51846acf4a671ef9e782c5cf09f00
parent093dbb05f766c1fee68b782d9b3c8836a46334f1 (diff)
downloadaur-87fb6869cea65160388bc9da2176a8e3e3911379.tar.gz
Fix error building ReadPDF module
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 14 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4ac553d1f59..35c7edfc7be2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = openfx-arena-git
pkgdesc = Extra OpenFX plugins for Natron
- pkgver = Natron.2.4.1.r0.g2d37552
+ pkgver = Natron.2.4.3.r6.g2e56d77
pkgrel = 1
url = https://github.com/NatronGitHub/openfx-arena
arch = x86_64
license = GPL
+ makedepends = git
makedepends = jbigkit
+ makedepends = opencolorio1
makedepends = openmp
makedepends = pango
depends = libcdr
@@ -14,9 +16,9 @@ pkgbase = openfx-arena-git
depends = librsvg
depends = libxt
depends = libzip
- depends = opencolorio1
depends = poppler-glib
depends = sox
+ provides = openfx-arena
conflicts = openfx-arena
source = openfx-arena::git+https://github.com/NatronGitHub/openfx-arena
source = openfx::git+https://github.com/NatronGitHub/openfx
diff --git a/PKGBUILD b/PKGBUILD
index 4f12cc273598..f1197d85c413 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,20 @@
# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
pkgname=openfx-arena-git
-pkgver=Natron.2.4.1.r0.g2d37552
+pkgver=Natron.2.4.3.r6.g2e56d77
pkgrel=1
arch=('x86_64')
pkgdesc="Extra OpenFX plugins for Natron"
url="https://github.com/NatronGitHub/openfx-arena"
license=('GPL')
-depends=('libcdr' 'libgl' 'libmagick' 'librsvg' 'libxt' 'libzip' 'opencolorio1' 'poppler-glib' 'sox')
-makedepends=('jbigkit' 'openmp' 'pango')
+depends=('libcdr' 'libgl' 'libmagick' 'librsvg' 'libxt' 'libzip' 'poppler-glib' 'sox')
+makedepends=('git' 'jbigkit' 'opencolorio1' 'openmp' 'pango')
_pkgname=${pkgname%-git}
_url=${url%/${_pkgname}}
conflicts=("${_pkgname}")
+provides=("${_pkgname}")
source=("${_pkgname}::git+${url}"
"openfx::git+${_url}/openfx"
@@ -57,16 +58,21 @@ 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 OpenFX-IO/IOSupport/ -name GenericOCIO.* \
- -exec sed -i 's/include <OpenColorIO/include <OpenColorIO1/' {} \;
+ -exec sed -i 's|include <OpenColorIO/|include <OpenColorIO1/|' {} \;
# Solve a problem in the linking of the "Extra" plugins,
# caused by a misconfiguration of pkgconfig in the "libzip" package
sed -i '/ZIP_LINKFLAGS/ s|\$.*libs.*|-lbz2 -llzma -lzstd -lgnutls -lnettle -lz|' \
Makefile.master
+
+# The ReadPDF plugin needs Poppler, which uses C++17 features
+ sed -i "/POPPLER_CXXFLAGS/ s/$/ -std=c++17/" \
+ Makefile.master
}
build() {