summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTércio Martins2021-04-23 01:38:40 -0300
committerTércio Martins2021-04-23 01:38:40 -0300
commitb342663b32c147adafdd7aa44490cadf41840d80 (patch)
tree6a244dededcca76076848a0dcdcf9bfa4c3e0fce
parent24f81593dcb3689cdab2ac2a4b1ca8ff018a3f5e (diff)
downloadaur-b342663b32c147adafdd7aa44490cadf41840d80.tar.gz
Change "natron" to a metapackage (the program was moved to the "natron-compositor" package)
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD101
-rw-r--r--config.pri20
3 files changed, 13 insertions, 141 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5d01db6b0e..8c8a4936c5e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,39 +1,18 @@
pkgbase = natron
- pkgdesc = Open source compositing software
- pkgver = 2.3.15
+ pkgdesc = Open source compositing software (metapackage with the program and standard plugins)
+ pkgver = 1
pkgrel = 1
+ epoch = 1
url = https://natrongithub.github.io/
- arch = i686
- arch = pentium4
arch = x86_64
license = GPL
- makedepends = boost
- makedepends = glfw-x11
- makedepends = openmp
depends = openfx-arena
depends = openfx-gmic
depends = openfx-io
depends = openfx-misc
- depends = python2-pyside
- 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 = 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 = 10492d698124fee5ade0806a094534846a0b6a4ee1f0e5683eb6f93570eecb5c39792eb393f387deeb484513c37bfe1e635f509d51a682937f0c77f26af76c6f
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = 0c63a5f52aa7b8d32ed068a1f9f1092082f70e9a95b916b33213d899fd9dd4e487af3baa4d6bfbd9eb4d5051e6efef15155e3a22897f8ec32330d0825df643be
- sha512sums = 86aa7a675b64c6d7c100ecc4f49c29e834ccf08246e6ce11c4b92b51bb2fce73304a78e91f06c7eb72b18ca89084357816dd09238fdefb1998da57196e723b0d
- sha512sums = 48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a
+ depends = natron-compositor
+ optdepends = natron-plugins-git: Plugins made by the Natron community
+ conflicts = natron-git
pkgname = natron
diff --git a/PKGBUILD b/PKGBUILD
index 620bb135b48..d1bedb37094 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,100 +1,13 @@
# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>
-# Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz>
-# Contributor: Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
-# Contributor: liberodark
-
-_google_breakpad_commit=9474c3f
-_google_mock_commit=17945db
-_google_test_commit=50d6fc3
-_SequenceParsing_commit=1bbcd07
-_tinydir_commit=3aae922
pkgname=natron
-_pkgname=Natron
-pkgver=2.3.15
+pkgver=1
pkgrel=1
-pkgdesc="Open source compositing software"
-arch=('i686' 'pentium4' 'x86_64')
+epoch=1
+pkgdesc="Open source compositing software (metapackage with the program and standard plugins)"
+arch=('x86_64')
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' '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=('10492d698124fee5ade0806a094534846a0b6a4ee1f0e5683eb6f93570eecb5c39792eb393f387deeb484513c37bfe1e635f509d51a682937f0c77f26af76c6f'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- '0c63a5f52aa7b8d32ed068a1f9f1092082f70e9a95b916b33213d899fd9dd4e487af3baa4d6bfbd9eb4d5051e6efef15155e3a22897f8ec32330d0825df643be'
- '86aa7a675b64c6d7c100ecc4f49c29e834ccf08246e6ce11c4b92b51bb2fce73304a78e91f06c7eb72b18ca89084357816dd09238fdefb1998da57196e723b0d'
- '48017b7b9cd1854064b9ddffecedef89a4d38070f9a7d2cd506aad481a8061c5cffe5e5c84fc9b0ac5216fc99e093481db367e91ce52cb2a8a66223c4209402a')
-
-prepare() {
- 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"
-
- 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}/openfx-${_pkgname}-${pkgver}.tar.gz" --strip 1 \
- -C "${srcdir}/${_pkgname}-${pkgver}/libs/OpenFX/"
-
- mv "${srcdir}/config.pri" \
- "${srcdir}/${_pkgname}-${pkgver}/config.pri"
-}
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- [[ -d build ]] && rm -r build; mkdir build; cd build
-
- qmake-qt4 -r "${srcdir}/${_pkgname}-${pkgver}/Project.pro" \
- PREFIX=/usr \
- BUILD_USER_NAME="Arch_Linux" \
- CONFIG+=custombuild \
- CONFIG+=openmp \
- DEFINES+=QT_NO_DEBUG_OUTPUT \
- QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
- QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
- QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
-
- make
-}
-
-package() {
- 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}/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"
-}
+conflicts=("${pkgname}-git")
+depends=('openfx-arena' 'openfx-gmic' 'openfx-io' 'openfx-misc' 'natron-compositor')
+optdepends=('natron-plugins-git: Plugins made by the Natron community')
diff --git a/config.pri b/config.pri
deleted file mode 100644
index 5448ccb497e..00000000000
--- a/config.pri
+++ /dev/null
@@ -1,20 +0,0 @@
-boost: LIBS += -lboost_serialization
-expat: LIBS += -lexpat
-expat: PKGCONFIG -= expat
-cairo {
- PKGCONFIG += cairo
- LIBS -= $$system(pkg-config --variable=libdir cairo)/libcairo.a
-}
-pyside {
- PKGCONFIG -= pyside
- INCLUDEPATH += $$system(pkg-config --variable=includedir pyside-py2)
- INCLUDEPATH += $$system(pkg-config --variable=includedir pyside-py2)/QtCore
- INCLUDEPATH += $$system(pkg-config --variable=includedir pyside-py2)/QtGui
- INCLUDEPATH += $$system(pkg-config --variable=includedir QtGui)
- LIBS += -lpyside-python2.7
-}
-shiboken {
- PKGCONFIG -= shiboken
- INCLUDEPATH += $$system(pkg-config --variable=includedir shiboken-py2)
- LIBS += -lshiboken-python2.7
-}