summaryrefslogtreecommitdiff
path: root/community-staging/kdenlive
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-03 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-11-03 23:14:47 +0000
commitb625511a28fd8401f524474b5339e75328595150 (patch)
tree1daf0e94a58707bedb1a8ef5c3e98ce2cc9d7fa2 /community-staging/kdenlive
parent6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (diff)
Thu Nov 3 23:14:47 UTC 2011
Diffstat (limited to 'community-staging/kdenlive')
-rw-r--r--community-staging/kdenlive/PKGBUILD40
-rw-r--r--community-staging/kdenlive/glu.patch11
-rw-r--r--community-staging/kdenlive/kdenlive.install12
3 files changed, 63 insertions, 0 deletions
diff --git a/community-staging/kdenlive/PKGBUILD b/community-staging/kdenlive/PKGBUILD
new file mode 100644
index 000000000..4f45f1b4d
--- /dev/null
+++ b/community-staging/kdenlive/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 57758 2011-11-02 11:31:56Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Zuf <kontakt.zuf@gmail.com>
+# Contributor: Darwin Bautista <djclue917@gmail.com>
+
+pkgname=kdenlive
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="A non-linear video editor for Linux"
+arch=('i686' 'x86_64')
+url="http://www.kdenlive.org/"
+license=('GPL')
+depends=('kdebase-runtime' 'mlt' 'dvgrab' 'qjson' 'qimageblitz'
+ 'libqzeitgeist')
+makedepends=('automoc4' 'cmake' 'gettext' 'mesa')
+install=kdenlive.install
+options=('docs')
+source=("http://downloads.sourceforge.net/kdenlive/kdenlive-${pkgver}.tar.gz"
+ glu.patch)
+md5sums=('0836842f489f6142cee101842ac76c54'
+ 'fd6c5fe46419ee505c562363d41f6e9f')
+
+build() {
+ export LDFLAGS="$LDFLAGS -lX11"
+ cd "${srcdir}"
+ mkdir -p build
+ cd build
+ (cd ../kdenlive-${pkgver} && patch -p1 <$srcdir/glu.patch)
+ 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-staging/kdenlive/glu.patch b/community-staging/kdenlive/glu.patch
new file mode 100644
index 000000000..a4c2f21fb
--- /dev/null
+++ b/community-staging/kdenlive/glu.patch
@@ -0,0 +1,11 @@
+diff -wbBur kdenlive-0.8.2/src/videoglwidget.cpp kdenlive-0.8.2.my/src/videoglwidget.cpp
+--- kdenlive-0.8.2/src/videoglwidget.cpp 2011-10-31 22:46:21.000000000 +0400
++++ kdenlive-0.8.2.my/src/videoglwidget.cpp 2011-11-02 14:54:10.000000000 +0400
+@@ -2,6 +2,7 @@
+ #include <QtGui>
+ #include <QtOpenGL>
+ #include "videoglwidget.h"
++#include <GL/glu.h>
+
+ #ifndef GL_TEXTURE_RECTANGLE_EXT
+ #define GL_TEXTURE_RECTANGLE_EXT GL_TEXTURE_RECTANGLE_NV
diff --git a/community-staging/kdenlive/kdenlive.install b/community-staging/kdenlive/kdenlive.install
new file mode 100644
index 000000000..a3489ee9d
--- /dev/null
+++ b/community-staging/kdenlive/kdenlive.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}