summaryrefslogtreecommitdiff
path: root/libre/openshot
diff options
context:
space:
mode:
Diffstat (limited to 'libre/openshot')
-rw-r--r--libre/openshot/PKGBUILD26
-rw-r--r--libre/openshot/openshot.install12
2 files changed, 38 insertions, 0 deletions
diff --git a/libre/openshot/PKGBUILD b/libre/openshot/PKGBUILD
new file mode 100644
index 000000000..ca870f1c7
--- /dev/null
+++ b/libre/openshot/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 97284 2013-09-16 08:04:43Z bluewind $
+# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor (Arch): Asa Marco <marcoasa90[at]gmail[.]com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=openshot
+pkgver=1.4.3
+pkgrel=3.parabola1
+pkgdesc="a free, non-linear video editor for GNU/Linux based on MLT framework, without nonfree faac recommendation"
+arch=('any')
+url="http://www.openshotvideo.com/"
+license=('GPL')
+depends=('mlt-python-bindings' 'pygoocanvas' 'sdl' 'librsvg' 'mplayer'
+ 'pyxdg' 'pygtk' 'python2-httplib2' 'python2-pillow')
+optdepends=('dvgrab: for IEEE digital sources'
+ 'libquicktime' 'libavc1394' 'jack' 'jack-rack' 'ladspa')
+replaces=("${pkgname}-libre" "${pkgname}-parabola")
+conflicts=("${pkgname}-libre" "${pkgname}-parabola")
+install=openshot.install
+source=(http://launchpad.net/openshot/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('5ec82a7e8b7700ee4a359458aedf19e9')
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir/ --optimize=1
+}
diff --git a/libre/openshot/openshot.install b/libre/openshot/openshot.install
new file mode 100644
index 000000000..046df0051
--- /dev/null
+++ b/libre/openshot/openshot.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database usr/share/mime &>/dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}