summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTércio Martins2019-07-26 21:39:20 -0300
committerTércio Martins2019-07-26 21:39:20 -0300
commitbb7b2074806e98aa6e806d212c64889765346d69 (patch)
tree9d658b91699565c6eb6e5d4be9411001bb8f8c69
parent3b41f02f3d83d9f2d1bcec7552e428a133008b88 (diff)
downloadaur-bb7b2074806e98aa6e806d212c64889765346d69.tar.gz
Update to version 2.3.15-pre4; git was removed from makedepends
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD92
2 files changed, 66 insertions, 53 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0e764fdc5e..401c8cf4e65 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,32 +1,33 @@
pkgbase = natron
pkgdesc = Open source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
- pkgver = 2.3.14
- pkgrel = 2
+ pkgver = 2.3.15_pre4
+ pkgrel = 1
url = https://github.com/NatronGitHub/Natron
arch = i686
+ arch = pentium4
arch = x86_64
license = GPL
makedepends = boost
makedepends = expat
- makedepends = git
makedepends = glfw-x11
makedepends = openmp
depends = boost-libs
depends = cairo
+ depends = openfx-arena
depends = openfx-gmic
depends = openfx-io
depends = openfx-misc
depends = python2-pyside
- optdepends = openfx-arena
+ optdepends = openfx-arena: Extra OpenFX plugins for Natron, includes text node
optdepends = natron-plugins
- source = natron::git+https://github.com/NatronGitHub/Natron#tag=2.3.14
- source = git+https://github.com/NatronGitHub/google-breakpad
- source = git+https://github.com/NatronGitHub/google-mock
- source = git+https://github.com/NatronGitHub/google-test
- source = git+https://github.com/NatronGitHub/openfx
- source = git+https://github.com/NatronGitHub/SequenceParsing
- source = git+https://github.com/NatronGitHub/tinydir
- source = https://github.com/NatronGitHub/OpenColorIO-Configs/archive/Natron-v2.3.tar.gz
+ source = Natron-2.3.15-pre4.tar.gz::https://github.com/NatronGitHub/Natron/archive/2.3.15-pre4.tar.gz
+ source = google-breakpad-9474c3f.tar.gz::https://github.com/NatronGitHub/google-breakpad/tarball/9474c3f
+ source = google-mock-17945db.tar.gz::https://github.com/NatronGitHub/google-mock/tarball/17945db
+ source = google-test-50d6fc3.tar.gz::https://github.com/NatronGitHub/google-test/tarball/50d6fc3
+ source = openfx-c70de42.tar.gz::https://github.com/NatronGitHub/openfx/tarball/c70de42
+ source = SequenceParsing-6441ec7.tar.gz::https://github.com/NatronGitHub/SequenceParsing/tarball/6441ec7
+ source = tinydir-3aae922.tar.gz::https://github.com/NatronGitHub/tinydir/tarball/3aae922
+ source = OCIO-Configs-Natron-v2.3.tar.gz::https://github.com/NatronGitHub/OpenColorIO-Configs/archive/Natron-v2.3.tar.gz
source = config.pri
sha512sums = SKIP
sha512sums = SKIP
@@ -35,7 +36,7 @@ pkgbase = natron
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
- sha512sums = SKIP
+ sha512sums = 0c63a5f52aa7b8d32ed068a1f9f1092082f70e9a95b916b33213d899fd9dd4e487af3baa4d6bfbd9eb4d5051e6efef15155e3a22897f8ec32330d0825df643be
sha512sums = 48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a
pkgname = natron
diff --git a/PKGBUILD b/PKGBUILD
index 1d62b65de02..ad44c1ec2c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,33 @@
# Contributor: Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
# Contributor: liberodark
+_google_breakpad_commit=9474c3f
+_google_mock_commit=17945db
+_google_test_commit=50d6fc3
+_openfx_commit=c70de42
+_SequenceParsing_commit=6441ec7
+_tinydir_commit=3aae922
+
pkgname=natron
-pkgver=2.3.14
-pkgrel=2
-pkgdesc="Open source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry."
-arch=("i686" "x86_64")
-url="https://github.com/NatronGitHub/Natron"
-license=("GPL")
-depends=('boost-libs' 'cairo' 'openfx-gmic' 'openfx-io' 'openfx-misc' 'python2-pyside')
-makedepends=('boost' 'expat' 'git' 'glfw-x11' 'openmp')
-optdepends=('openfx-arena' 'natron-plugins')
-source=("$pkgname::git+https://github.com/NatronGitHub/Natron#tag=$pkgver"
- "git+https://github.com/NatronGitHub/google-breakpad"
- "git+https://github.com/NatronGitHub/google-mock"
- "git+https://github.com/NatronGitHub/google-test"
- "git+https://github.com/NatronGitHub/openfx"
- "git+https://github.com/NatronGitHub/SequenceParsing"
- "git+https://github.com/NatronGitHub/tinydir"
- "https://github.com/NatronGitHub/OpenColorIO-Configs/archive/Natron-v${pkgver%.*}.tar.gz"
+_pkgname=Natron
+pkgver=2.3.15_pre4
+_pkgver=2.3.15-pre4
+pkgrel=1
+pkgdesc='Open source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.'
+arch=('i686' 'pentium4' 'x86_64')
+url='https://github.com/NatronGitHub/Natron'
+license=('GPL')
+depends=('boost-libs' 'cairo' 'openfx-arena' 'openfx-gmic' 'openfx-io' 'openfx-misc' 'python2-pyside')
+makedepends=('boost' 'expat' 'glfw-x11' 'openmp')
+optdepends=('openfx-arena: Extra OpenFX plugins for Natron, includes text node' 'natron-plugins')
+source=("$_pkgname-$_pkgver.tar.gz::https://github.com/NatronGitHub/Natron/archive/$_pkgver.tar.gz"
+ "google-breakpad-$_google_breakpad_commit.tar.gz::https://github.com/NatronGitHub/google-breakpad/tarball/$_google_breakpad_commit"
+ "google-mock-$_google_mock_commit.tar.gz::https://github.com/NatronGitHub/google-mock/tarball/$_google_mock_commit"
+ "google-test-$_google_test_commit.tar.gz::https://github.com/NatronGitHub/google-test/tarball/$_google_test_commit"
+ "openfx-$_openfx_commit.tar.gz::https://github.com/NatronGitHub/openfx/tarball/$_openfx_commit"
+ "SequenceParsing-$_SequenceParsing_commit.tar.gz::https://github.com/NatronGitHub/SequenceParsing/tarball/$_SequenceParsing_commit"
+ "tinydir-$_tinydir_commit.tar.gz::https://github.com/NatronGitHub/tinydir/tarball/$_tinydir_commit"
+ "OCIO-Configs-$_pkgname-v${pkgver%.*}.tar.gz::https://github.com/NatronGitHub/OpenColorIO-Configs/archive/$_pkgname-v${pkgver%.*}.tar.gz"
"config.pri")
sha512sums=('SKIP'
'SKIP'
@@ -29,45 +38,49 @@ sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
- 'SKIP'
+ '0c63a5f52aa7b8d32ed068a1f9f1092082f70e9a95b916b33213d899fd9dd4e487af3baa4d6bfbd9eb4d5051e6efef15155e3a22897f8ec32330d0825df643be'
'48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a')
prepare() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$_pkgname-$_pkgver"
- if [ -d "$srcdir/$pkgname/OpenColorIO-Configs" ]; then
- rm -rf "$srcdir/$pkgname/OpenColorIO-Configs"
+ if [ -d OpenColorIO-Configs ]; then
+ rm -rf OpenColorIO-Configs
fi
- mv "$srcdir/OpenColorIO-Configs-Natron-v${pkgver%.*}" "$srcdir/$pkgname/OpenColorIO-Configs"
+ mv "$srcdir/OpenColorIO-Configs-Natron-v${pkgver%.*}" \
+ "$srcdir/$_pkgname-$_pkgver/OpenColorIO-Configs"
- # Git submodules
- git config submodule.libs/google-breakpad.url $srcdir/google-breakpad
- git config submodule.libs/OpenFX.url $srcdir/openfx
- git config submodule.libs/SequenceParsing.url $srcdir/SequenceParsing
- git config submodule.Tests/google-mock.url $srcdir/google-mock
- git config submodule.Tests/google-test.url $srcdir/google-test
- git submodule update
+ rm -rf OpenColorIO-Configs/aces*
+ rm -rf OpenColorIO-Configs/spi*
- cd libs/SequenceParsing
- git config submodule.tinydir.url $srcdir/tinydir
- git submodule update
- cd ../..
+ tar -xzf "$srcdir/google-breakpad-$_google_breakpad_commit.tar.gz" --strip 1 \
+ -C "$srcdir/$_pkgname-$_pkgver/libs/google-breakpad/"
+ tar -xzf "$srcdir/openfx-$_openfx_commit.tar.gz" --strip 1 \
+ -C "$srcdir/$_pkgname-$_pkgver/libs/OpenFX/"
+ tar -xzf "$srcdir/SequenceParsing-$_SequenceParsing_commit.tar.gz" --strip 1 \
+ -C "$srcdir/$_pkgname-$_pkgver/libs/SequenceParsing/"
+ tar -xzf "$srcdir/tinydir-$_tinydir_commit.tar.gz" --strip 1 \
+ -C "$srcdir/$_pkgname-$_pkgver/libs/SequenceParsing/tinydir/"
+ tar -xzf "$srcdir/google-mock-$_google_mock_commit.tar.gz" --strip 1 \
+ -C "$srcdir/$_pkgname-$_pkgver/Tests/google-mock/"
+ tar -xzf "$srcdir/google-test-$_google_test_commit.tar.gz" --strip 1 \
+ -C "$srcdir/$_pkgname-$_pkgver/Tests/google-test/"
- mv "${srcdir}/config.pri" "${srcdir}/${pkgname%%-*}/config.pri"
+ mv "$srcdir/config.pri" \
+ "$srcdir/$_pkgname-$_pkgver/config.pri"
}
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$_pkgname-$_pkgver"
[[ -d build ]] && rm -r build; mkdir build; cd build
- qmake-qt4 -r "$srcdir/natron/Project.pro" \
+ qmake-qt4 -r "$srcdir/$_pkgname-$_pkgver/Project.pro" \
PREFIX=/usr \
BUILD_USER_NAME="Arch_Linux" \
CONFIG+=custombuild \
CONFIG+=openmp \
- CONFIG+=enforce-gcc8 \
DEFINES+=QT_NO_DEBUG_OUTPUT \
QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
@@ -77,15 +90,14 @@ build() {
}
package() {
- cd "$srcdir/$pkgname/build"
+ cd "$srcdir/$_pkgname-$_pkgver/build"
make INSTALL_ROOT="$pkgdir" install
install -d "$pkgdir/usr/share/Natron/Plugins/"
- cp -r "$srcdir/$pkgname/Gui/Resources/PyPlugs" \
+ cp -r "$srcdir/$_pkgname-$_pkgver/Gui/Resources/PyPlugs" \
"$pkgdir/usr/share/Natron/Plugins/"
install -d "$pkgdir/etc/profile.d"
echo -e "export FONTCONFIG_PATH=/etc/fonts\n" > $pkgdir/etc/profile.d/$pkgname.sh
echo -e "setenv FONTCONFIG_PATH /etc/fonts\n" > $pkgdir/etc/profile.d/$pkgname.csh
}
-