summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorliberodark2017-10-15 06:46:36 +0200
committerliberodark2017-10-15 06:46:36 +0200
commit8f5264e2f6d86dad0ae284fcc665e6122402cf88 (patch)
treebc3d5a6e4fdf9c032a63475d4fd6b46f192526e5 /PKGBUILD
parentcc4571a4d734894523227ed4a6f253beffe550b0 (diff)
downloadaur-8f5264e2f6d86dad0ae284fcc665e6122402cf88.tar.gz
Modif....
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD85
1 files changed, 21 insertions, 64 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e41b729ef800..270e7e547c7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,68 +1,25 @@
-# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
-# Contributor: Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
+# Maintainer: liberodark
pkgname=natron
-pkgver=2.2.8
-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/nyancat18/natron-arch"
-license=("GPL")
-depends=('fontconfig' 'qt4' 'python2-pyside' 'python2-shiboken' 'boost-libs' 'pixman' 'glfw-x11' 'cairo' 'openfx-io' 'openfx-misc')
-makedepends=('git' 'expat' 'boost')
-optdepends=('openfx-arena: Extra OpenFX plugins for Natron includes text node' 'openfx-gmic-bin' 'natron-plugins' 'firejail-extras: Run Natron with an isolated enviorment')
-source=("$pkgname::git+https://github.com/MrKepzie/Natron.git#tag=$pkgver"
- "git+https://github.com/devernay/openfx.git"
- "git+https://github.com/MrKepzie/google-test.git"
- "git+https://github.com/MrKepzie/google-mock.git"
- "git+https://github.com/MrKepzie/SequenceParsing.git"
- "git+https://github.com/MrKepzie/tinydir"
- "https://github.com/MrKepzie/OpenColorIO-Configs/archive/Natron-v${pkgver%.*}.tar.gz"
- "config.pri")
-sha512sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'f31f3f74315545cec23c266b0391c325143666333c876631f2cfc9030c50670194f18a2763ffe9733dfe4073ae6ac2c95ad14089622dc02d0fa1ddcfaf99ede7'
- '48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a')
-
-prepare() {
- cd "$srcdir/$pkgname"
-
- mv "$srcdir/OpenColorIO-Configs-Natron-v${pkgver%.*}" "$srcdir/$pkgname/OpenColorIO-Configs"
-
- # Git submodules
- git config submodule.libs/OpenFX.url $srcdir/openfx
- git config submodule.Tests/google-mock.url $srcdir/google-mock
- git config submodule.Tests/google-test.url $srcdir/google-test
- git config submodule.libs/SequenceParsing.url $srcdir/SequenceParsing
- git submodule update
-
- cd libs/SequenceParsing
- git config submodule.tinydir.url $srcdir/tinydir
- git submodule update
- cd ../..
-
- mv "${srcdir}/config.pri" "${srcdir}/${pkgname%%-*}/config.pri"
- # Fix for gcc6 build issues
- sed -i '1s/^/QMAKE_CXXFLAGS += -std=c++98\n/' Gui/Gui.pro
- sed -i '1s/^/QMAKE_CXXFLAGS += -std=c++98\n/' Engine/Engine.pro
- sed -i '1s/^/QMAKE_CXXFLAGS += -std=c++98\n/' Tests/Tests.pro
-}
-
-build() {
- cd "$srcdir/$pkgname"
-
- [[ -d build ]] && rm -r build; mkdir build; cd build
-
- qmake-qt4 -r "$srcdir/natron/Project.pro" PREFIX=/usr CONFIG+=release DEFINES+=QT_NO_DEBUG_OUTPUT QMAKE_CFLAGS_RELEASE="${CFLAGS}" QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
-
- make
-}
-
+pkgver=2.3.2
+pkgrel=1
+pkgdesc="Cross platform open source compositing software."
+arch=('x86_64')
+url="https://github.com/MrKepzie/Natron"
+license=('GPL')
+depends=('fontconfig' 'qt4' 'python2-pyside' 'python2-shiboken' 'boost-libs' 'pixman' 'glfw-x11' 'cairo')
+optdepends=('openfx-io' 'openfx-misc' 'openfx-arena: Extra OpenFX plugins for Natron includes text node' 'openfx-gmic-bin' 'natron-plugins' 'firejail-extras: Run Natron with an isolated enviorment')
+source_x86_64=("https://downloads.natron.fr/Linux/releases/64bit/files/natron_${pkgver}_amd64.deb")
+source=($pkgname.desktop
+ $pkgname.png)
+sha512sums=('4670e936aaa48997d774ec4b13972f067a1bf5b0502cc4cdceef2cbbf308f7a670b09af4e7c80ccbfa398cf00c98d7446ee33a79af0d107750b2a13519539e46'
+ '3a61fc234728bff85cd39690c3a49b5bd768e8382e538299e7171265560e49b97be6c2068862265c93be87b03fd3fb20f9470c898978184bf96d302b8bc1590d')
+sha512sums_x86_64=('8dabd93586d455e67c7c52864a6cc9e5b1a393ddbe33d29586c57a972a9cc721c62ef6eaf2edaef617d25263b212f3a546ab7ef49a0735e8da873da8587fd1e1')
+
package() {
- cd "$srcdir/$pkgname/build"
- make INSTALL_ROOT="$pkgdir" install
+ cd $srcdir
+ tar xvf data.tar.xz
+ cp -r opt $pkgdir
+ install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ install -vDm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
}