summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 17:52:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 17:52:43 -0300
commit73bb9e309e9fe90b4b341dc451fbfc02333288e3 (patch)
tree147ddd88a6bbc512ff97c49d780dea7a6a940a91
parent8624e90e1ba0caa2dd93ea21012636423150d35a (diff)
downloadabslibre-73bb9e309e9fe90b4b341dc451fbfc02333288e3.tar.gz
abslibre-73bb9e309e9fe90b4b341dc451fbfc02333288e3.tar.bz2
abslibre-73bb9e309e9fe90b4b341dc451fbfc02333288e3.zip
openshot-libre: adding new package to [libre] repo
-rw-r--r--libre/openshot-libre/PKGBUILD28
-rw-r--r--libre/openshot-libre/openshot.install11
2 files changed, 39 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com>
+# Contributor: Asa Marco <marcoasa90[at]gmail[.]com>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_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
+}