blob: 77aecd01f9029f3c1eeb2dbfbe66b0681386c0eb (
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
|
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
_openfx_gmic_commit=fdf6eec
_openfx_commit=1645fd7
pkgname=openfx-gmic
pkgver=2.3.15_rc16
pkgrel=1
arch=('i686' 'pentium4' 'x86_64')
pkgdesc="OpenFX wrapper for the G'MIC framework"
url="https://github.com/NatronGitHub/openfx-gmic"
license=('custom:CeCILL-C' 'custom:CeCILLv2')
depends=('curl' 'fftw' 'libgl' 'libpng')
makedepends=('gimp' 'opencv' 'openexr' 'qt5-base')
source=("openfx-gmic_$_openfx_gmic_commit.tar.gz::https://github.com/NatronGitHub/openfx-gmic/tarball/$_openfx_gmic_commit"
"openfx_$_openfx_commit.tar.gz::https://github.com/NatronGitHub/openfx/tarball/$_openfx_commit")
sha512sums=('SKIP'
'SKIP')
_pkgname="NatronGitHub-$pkgname-$_openfx_gmic_commit"
prepare() {
tar -xzf "$srcdir/openfx_$_openfx_commit.tar.gz" --strip 1 \
-C "$srcdir/$_pkgname/openfx/"
}
build() {
cd "$srcdir/$_pkgname"
make CONFIG=release
}
package() {
cd "$srcdir/$_pkgname"
install -d "$pkgdir/usr/OFX/Plugins"
make install PLUGINPATH=$pkgdir/usr/OFX/Plugins \
CONFIG=release
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 $srcdir/$_pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 $srcdir/$_pkgname/Licence_CeCILL-C_V1-en.txt "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 $srcdir/$_pkgname/Licence_CeCILL_V2-en.txt "$pkgdir/usr/share/licenses/$pkgname/"
}
|