From 73bb9e309e9fe90b4b341dc451fbfc02333288e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 13 Mar 2013 17:52:43 -0300 Subject: openshot-libre: adding new package to [libre] repo --- libre/openshot-libre/PKGBUILD | 28 ++++++++++++++++++++++++++++ libre/openshot-libre/openshot.install | 11 +++++++++++ 2 files changed, 39 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..9a01ebbe8 --- /dev/null +++ b/libre/openshot-libre/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Asa Marco +# Maintainer (Parabola): André Silva + +_pkgname=openshot +pkgname=openshot-libre +pkgver=1.4.3 +pkgrel=1 +pkgdesc="a free, non-linear video editor for GNU/Linux based on MLT framework (without nonfree faac support)" +arch=('any') +url="http://www.openshotvideo.com/" +license=('GPL') +depends=('mlt-python-bindings' 'pygoocanvas' 'sdl' 'librsvg' 'mplayer' + 'pyxdg' 'pygtk' 'python2-httplib2' 'python-imaging') +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..cc0de896d --- /dev/null +++ b/libre/openshot-libre/openshot.install @@ -0,0 +1,11 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime +} + +post_upgrade() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime +} + +post_remove() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime +} -- cgit v1.2.3-2-g168b