From 8185891e28635bdb83fdf4ba4391030912dae596 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 18 Feb 2014 01:56:34 +0000 Subject: Tue Feb 18 01:56:27 UTC 2014 --- libre/openshot-libre/PKGBUILD | 28 ++++++++++++++++++++++++++++ libre/openshot-libre/openshot.install | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 libre/openshot-libre/PKGBUILD create mode 100644 libre/openshot-libre/openshot.install (limited to 'libre/openshot-libre') diff --git a/libre/openshot-libre/PKGBUILD b/libre/openshot-libre/PKGBUILD new file mode 100644 index 000000000..ca5b029e7 --- /dev/null +++ b/libre/openshot-libre/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 97284 2013-09-16 08:04:43Z bluewind $ +# Maintainer: Sergej Pupykin +# Contributor: Asa Marco +# Maintainer (Parabola): André Silva + +_pkgname=openshot +pkgname=openshot-libre +pkgver=1.4.3 +pkgrel=3 +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 +conflicts=$_pkgname +provides=$_pkgname=$pkgver +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-libre/openshot.install b/libre/openshot-libre/openshot.install new file mode 100644 index 000000000..046df0051 --- /dev/null +++ b/libre/openshot-libre/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 +} -- cgit v1.2.3-54-g00ecf