blob: 001534ce5f72a114e8e5ad683e8bc3173c217e14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
# Contributor: Hugo Courtial <hugo [at] courtial [not colon] me>
# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
pkgname=openfx-arena-git
pkgver=2.4.4.r12.gac12134
pkgrel=1
arch=('x86_64')
pkgdesc="Extra OpenFX plugins for Natron"
url="https://github.com/NatronGitHub/openfx-arena"
license=('GPL-2.0-or-later')
depends=('libcdr' 'libmagick' 'librsvg' 'libxt' 'libzip' 'ocl-icd' \
'opencolorio' 'poppler-glib' 'sox')
makedepends=('git' 'jbigkit' 'openmp' 'pango')
_pkgname=${pkgname%-git}
_url=${url%/${_pkgname}}
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}"
"openfx::git+${_url}/openfx"
"openfx-io::git+${_url}/openfx-io"
"lodepng::git+https://github.com/lvandeve/lodepng"
"openfx-supportext::git+${_url}/openfx-supportext"
"SequenceParsing::git+${_url}/SequenceParsing"
"tinydir::git+${_url}/tinydir")
b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/^Natron.//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $_pkgname
git submodule init
git config submodule.OpenFX.url "$srcdir"/openfx
git config submodule.OpenFX-IO.url "$srcdir"/openfx-io
git config submodule.SupportExt.url "$srcdir"/openfx-supportext
git config submodule.lodepng.url "$srcdir"/lodepng
git -c protocol.file.allow=always submodule update
cd OpenFX-IO
git submodule init
git config submodule.openfx.url "$srcdir"/openfx
git config submodule.SupportExt.url "$srcdir"/openfx-supportext
git config submodule.IOSupport/SequenceParsing.url "$srcdir"/SequenceParsing
git -c protocol.file.allow=always submodule update
cd IOSupport/SequenceParsing
git submodule init
git config submodule.tinydir.url "$srcdir"/tinydir
git -c protocol.file.allow=always submodule update
# Fix issue during compilation of ReadPDF module
sed '/POPPLER_CXXFLAGS/ s/$/ -std=c++20/' \
-i "${srcdir}/${_pkgname}/Makefile.master"
}
build() {
cd "${srcdir}/${_pkgname}"
make CONFIG=release
}
package() {
cd "${srcdir}/${_pkgname}"
mkdir -p "${pkgdir}/usr/OFX/Plugins"
make install PLUGINPATH="${pkgdir}/usr/OFX/Plugins" \
CONFIG=release
}
|