summaryrefslogtreecommitdiff
path: root/community/kdenlive
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/kdenlive
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/kdenlive')
-rw-r--r--community/kdenlive/PKGBUILD42
-rw-r--r--community/kdenlive/kdenlive.install13
2 files changed, 55 insertions, 0 deletions
diff --git a/community/kdenlive/PKGBUILD b/community/kdenlive/PKGBUILD
new file mode 100644
index 000000000..87705015f
--- /dev/null
+++ b/community/kdenlive/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 92336 2013-06-04 05:10:18Z svenstaro $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Zuf <kontakt.zuf@gmail.com>
+# Contributor: Darwin Bautista <djclue917@gmail.com>
+
+pkgname=kdenlive
+pkgver=0.9.6
+pkgrel=2
+pkgdesc="A non-linear video editor for Linux"
+arch=('i686' 'x86_64')
+# http://download.kde.org/stable/kdenlive/
+url="http://www.kdenlive.org/"
+license=('GPL')
+depends=('kdebase-runtime' 'mlt' 'qjson' 'libqzeitgeist')
+makedepends=('automoc4' 'cmake' 'gettext' 'mesa' 'glu')
+optdepends=('recordmydesktop: screen capture'
+ 'dvdauthor: dvd creation'
+ 'dvgrab: firewire capture'
+ 'xine-ui: dvd preview'
+ 'cdrkit: dvd iso image creation')
+install=kdenlive.install
+options=('docs')
+source=(http://download.kde.org/stable/kdenlive/$pkgver/src/kdenlive-$pkgver.tar.bz2)
+md5sums=('3bd3a511b860490acc367e7c9d7ffa43')
+
+build() {
+ export LDFLAGS="$LDFLAGS -lX11"
+ cd "${srcdir}"
+ mkdir -p build
+ cd build
+ cmake ../kdenlive-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib \
+ -DLINK_LIBRARIES=-lX11
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/kdenlive/kdenlive.install b/community/kdenlive/kdenlive.install
new file mode 100644
index 000000000..53a1827fd
--- /dev/null
+++ b/community/kdenlive/kdenlive.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}