summaryrefslogtreecommitdiff
path: root/nonprism/openshot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/openshot/PKGBUILD')
-rw-r--r--nonprism/openshot/PKGBUILD56
1 files changed, 31 insertions, 25 deletions
diff --git a/nonprism/openshot/PKGBUILD b/nonprism/openshot/PKGBUILD
index 33125c5a8..3ce916ec9 100644
--- a/nonprism/openshot/PKGBUILD
+++ b/nonprism/openshot/PKGBUILD
@@ -1,6 +1,6 @@
-# $Id$
-# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer (Arch): Florian Pritz <bluewind@xinu.at>
+# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
+# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor (Arch): Florian Pritz <bluewind@xinu.at>
# Contributor (Arch): Asa Marco <marcoasa90[at]gmail[.]com>
# Contributor: Andreas Grapentin <andreas@grapentin.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
@@ -11,37 +11,43 @@
# - neuter google analytics and exception tracking as it all happens over http
pkgname=openshot
-pkgver=2.4.4
+pkgver=2.5.1
pkgrel=1
pkgrel+=.nonprism1
-pkgdesc="a free, non-linear video editor for GNU/Linux based on MLT framework, without nonfree faac recommendation and Youtube uploader support"
+pkgdesc="An award-winning free and open-source video editor"
+pkgdesc+=", without nonfree faac recommendation and Youtube uploader support"
arch=('any')
-url="http://www.openshot.org/"
-license=('GPL')
-depends=('mlt-python-bindings' 'sdl' 'librsvg' 'mplayer'
- 'pyxdg' 'python-pyqt5' 'python-httplib2' 'python-pillow' 'dvgrab'
- 'ladspa' 'sox' 'vid.stab' 'qt5-svg' 'sdl_image'
- 'libopenshot' 'python-pyzmq' 'qt5-webkit' 'python-setuptools'
- 'python-requests')
-optdepends=('frei0r-plugins: effects'
- 'libquicktime' 'libavc1394' 'jack')
+url="https://www.openshot.org/"
+license=('GPL3')
+depends=('ffmpeg' 'mlt' 'python-pyqt5' 'python-requests' 'libopenshot'
+'libopenshot-audio' 'python-pyzmq' 'qt5-base' 'qt5-svg' 'qt5-webkit')
makedepends=('python-setuptools')
-
-
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz"
- 'nonprism.patch'
- 'neuter_tracking.patch')
-sha256sums=('8197923b3fff2010ee69c75469818543674a12fcb8fcb08944471e4ead3426be'
- '31b78e88c83bba0ff469afdbbdc36577ca64a55640e4220e9a88ccf0c7f105dc'
- '3990bdf10f46cd5255d01b0b113fe10e3ffed16da0577dfcaad470edd016aef9')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz")
+source+=('nonprism.patch'
+ 'neuter_tracking.patch')
+sha256sums=('4c25eb9a5de42e749de4c6ca2f7a313c60e1283fe52d70c121629dbb8bb2df7b'
+ 'b7fea3b32dd1666403caab7ff70c59cbdedceee8d3180b7a8878ee239a67623d'
+ '138260661ca9cd1b2bb62556a2e718d0f95e3bf02a92451e39cba5e958ef7ef8')
prepare() {
- cd "$srcdir"/openshot-qt-$pkgver
+ mv -v "${pkgname}-qt-${pkgver}" "${pkgname}-${pkgver}"
+
+ cd "${pkgname}-${pkgver}"
patch -Np1 -i $srcdir/nonprism.patch
patch -Np1 -i $srcdir/neuter_tracking.patch
}
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
package() {
- cd "$srcdir"/openshot-qt-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,{CONTRIBUTING,README}.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}