summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD88
2 files changed, 52 insertions, 53 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22b3a27143a..c5d01db6b0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
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.15_rc20
+ pkgdesc = Open source compositing software
+ pkgver = 2.3.15
pkgrel = 1
- url = https://github.com/NatronGitHub/Natron
+ url = https://natrongithub.github.io/
arch = i686
arch = pentium4
arch = x86_64
license = GPL
makedepends = boost
- makedepends = expat
makedepends = glfw-x11
makedepends = openmp
depends = openfx-arena
@@ -16,24 +15,24 @@ pkgbase = natron
depends = openfx-io
depends = openfx-misc
depends = python2-pyside
- optdepends = natron-plugins
- source = Natron-2.3.15-rc20.tar.gz::https://github.com/NatronGitHub/Natron/archive/v2.3.15-rc20.tar.gz
+ optdepends = natron-plugins-git: Extra Python plugins
+ source = Natron-2.3.15.tar.gz::https://github.com/NatronGitHub/Natron/archive/v2.3.15.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-db5aa97.tar.gz::https://github.com/NatronGitHub/openfx/tarball/db5aa97
source = SequenceParsing-1bbcd07.tar.gz::https://github.com/NatronGitHub/SequenceParsing/tarball/1bbcd07
source = tinydir-3aae922.tar.gz::https://github.com/NatronGitHub/tinydir/tarball/3aae922
source = OpenColorIO-Configs-Natron-v2.3.tar.gz::https://github.com/NatronGitHub/OpenColorIO-Configs/archive/Natron-v2.3.tar.gz
+ source = openfx-Natron-2.3.15.tar.gz::https://github.com/NatronGitHub/openfx/archive/Natron-2.3.15.tar.gz
source = config.pri
- sha512sums = d17d36c3600add93ad82cd8c8328262d1841382e8a4438f0a80422ad847f8c82f80c485f9d12c153398047a30e06c065b8bf6c70253e535f4bcd3b95b207efd8
- sha512sums = SKIP
+ sha512sums = 10492d698124fee5ade0806a094534846a0b6a4ee1f0e5683eb6f93570eecb5c39792eb393f387deeb484513c37bfe1e635f509d51a682937f0c77f26af76c6f
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = 0c63a5f52aa7b8d32ed068a1f9f1092082f70e9a95b916b33213d899fd9dd4e487af3baa4d6bfbd9eb4d5051e6efef15155e3a22897f8ec32330d0825df643be
+ sha512sums = 86aa7a675b64c6d7c100ecc4f49c29e834ccf08246e6ce11c4b92b51bb2fce73304a78e91f06c7eb72b18ca89084357816dd09238fdefb1998da57196e723b0d
sha512sums = 48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a
pkgname = natron
diff --git a/PKGBUILD b/PKGBUILD
index 6a9f73250e3..620bb135b48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,74 +6,74 @@
_google_breakpad_commit=9474c3f
_google_mock_commit=17945db
_google_test_commit=50d6fc3
-_openfx_commit=db5aa97
_SequenceParsing_commit=1bbcd07
_tinydir_commit=3aae922
pkgname=natron
_pkgname=Natron
-pkgver=2.3.15_rc20
-_pkgver=${pkgver//_/-}
+pkgver=2.3.15
pkgrel=1
-pkgdesc="Open source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry."
+pkgdesc="Open source compositing software"
arch=('i686' 'pentium4' 'x86_64')
-url="https://github.com/NatronGitHub/Natron"
+url="https://natrongithub.github.io/"
+_url="https://github.com/NatronGitHub"
license=('GPL')
depends=('openfx-arena' 'openfx-gmic' 'openfx-io' 'openfx-misc' 'python2-pyside')
-makedepends=('boost' 'expat' 'glfw-x11' 'openmp')
-optdepends=('natron-plugins')
-source=("$_pkgname-$_pkgver.tar.gz::https://github.com/NatronGitHub/Natron/archive/v$_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"
- "OpenColorIO-Configs-$_pkgname-v${pkgver%.??_*}.tar.gz::https://github.com/NatronGitHub/OpenColorIO-Configs/archive/$_pkgname-v${pkgver%.??_*}.tar.gz"
+makedepends=('boost' 'glfw-x11' 'openmp')
+optdepends=('natron-plugins-git: Extra Python plugins')
+source=("${_pkgname}-${pkgver}.tar.gz::${_url}/${_pkgname}/archive/v${pkgver}.tar.gz"
+ "google-breakpad-${_google_breakpad_commit}.tar.gz::${_url}/google-breakpad/tarball/${_google_breakpad_commit}"
+ "google-mock-${_google_mock_commit}.tar.gz::${_url}/google-mock/tarball/${_google_mock_commit}"
+ "google-test-${_google_test_commit}.tar.gz::${_url}/google-test/tarball/${_google_test_commit}"
+ "SequenceParsing-${_SequenceParsing_commit}.tar.gz::${_url}/SequenceParsing/tarball/${_SequenceParsing_commit}"
+ "tinydir-${_tinydir_commit}.tar.gz::${_url}/tinydir/tarball/${_tinydir_commit}"
+ "OpenColorIO-Configs-${_pkgname}-v${pkgver%.??}.tar.gz::${_url}/OpenColorIO-Configs/archive/${_pkgname}-v${pkgver%.??}.tar.gz"
+ "openfx-${_pkgname}-${pkgver}.tar.gz::${_url}/openfx/archive/${_pkgname}-${pkgver}.tar.gz"
"config.pri")
-sha512sums=('d17d36c3600add93ad82cd8c8328262d1841382e8a4438f0a80422ad847f8c82f80c485f9d12c153398047a30e06c065b8bf6c70253e535f4bcd3b95b207efd8'
- 'SKIP'
+sha512sums=('10492d698124fee5ade0806a094534846a0b6a4ee1f0e5683eb6f93570eecb5c39792eb393f387deeb484513c37bfe1e635f509d51a682937f0c77f26af76c6f'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'0c63a5f52aa7b8d32ed068a1f9f1092082f70e9a95b916b33213d899fd9dd4e487af3baa4d6bfbd9eb4d5051e6efef15155e3a22897f8ec32330d0825df643be'
+ '86aa7a675b64c6d7c100ecc4f49c29e834ccf08246e6ce11c4b92b51bb2fce73304a78e91f06c7eb72b18ca89084357816dd09238fdefb1998da57196e723b0d'
'48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a')
prepare() {
- cd "$srcdir/$_pkgname-$_pkgver"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
if [ -d OpenColorIO-Configs ]; then
rm -rf OpenColorIO-Configs
fi
- mv "$srcdir/OpenColorIO-Configs-Natron-v${pkgver%.??_*}" \
- "$srcdir/$_pkgname-$_pkgver/OpenColorIO-Configs"
+ mv "${srcdir}/OpenColorIO-Configs-Natron-v${pkgver%.??}" \
+ "${srcdir}/${_pkgname}-${pkgver}/OpenColorIO-Configs"
+
+ tar -xzf "${srcdir}/google-breakpad-${_google_breakpad_commit}.tar.gz" --strip 1 \
+ -C "${srcdir}/${_pkgname}-${pkgver}/libs/google-breakpad/"
+ 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/"
- 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/"
+ tar -xzf "${srcdir}/openfx-${_pkgname}-${pkgver}.tar.gz" --strip 1 \
+ -C "${srcdir}/${_pkgname}-${pkgver}/libs/OpenFX/"
- mv "$srcdir/config.pri" \
- "$srcdir/$_pkgname-$_pkgver/config.pri"
+ mv "${srcdir}/config.pri" \
+ "${srcdir}/${_pkgname}-${pkgver}/config.pri"
}
build() {
- cd "$srcdir/$_pkgname-$_pkgver"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
[[ -d build ]] && rm -r build; mkdir build; cd build
- qmake-qt4 -r "$srcdir/$_pkgname-$_pkgver/Project.pro" \
+ qmake-qt4 -r "${srcdir}/${_pkgname}-${pkgver}/Project.pro" \
PREFIX=/usr \
BUILD_USER_NAME="Arch_Linux" \
CONFIG+=custombuild \
@@ -87,14 +87,14 @@ build() {
}
package() {
- cd "$srcdir/$_pkgname-$_pkgver/build"
- make INSTALL_ROOT="$pkgdir" install
+ cd "${srcdir}/${_pkgname}-${pkgver}/build"
+ make INSTALL_ROOT="${pkgdir}" install
- install -d "$pkgdir/usr/share/Natron/Plugins/"
- cp -r "$srcdir/$_pkgname-$_pkgver/Gui/Resources/PyPlugs" \
- "$pkgdir/usr/share/Natron/Plugins/"
+ install -d "${pkgdir}/usr/share/Natron/Plugins/"
+ 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
+ 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"
}