From b625511a28fd8401f524474b5339e75328595150 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Nov 2011 23:14:47 +0000 Subject: Thu Nov 3 23:14:47 UTC 2011 --- community-staging/kdenlive/PKGBUILD | 40 +++++++++++++++++++++++++++++ community-staging/kdenlive/glu.patch | 11 ++++++++ community-staging/kdenlive/kdenlive.install | 12 +++++++++ community-staging/mlt/PKGBUILD | 8 +++--- 4 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 community-staging/kdenlive/PKGBUILD create mode 100644 community-staging/kdenlive/glu.patch create mode 100644 community-staging/kdenlive/kdenlive.install (limited to 'community-staging') 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 +# Contributor: Zuf +# Contributor: Darwin Bautista + +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 + #include + #include "videoglwidget.h" ++#include + + #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 +} diff --git a/community-staging/mlt/PKGBUILD b/community-staging/mlt/PKGBUILD index 2d65cc13d..0590a0ea5 100644 --- a/community-staging/mlt/PKGBUILD +++ b/community-staging/mlt/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 57613 2011-10-31 14:33:45Z jelle $ +# $Id: PKGBUILD 57747 2011-11-02 08:19:13Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Fabian Schoelzel # Contributor: funkyou @@ -7,8 +7,8 @@ pkgbase=mlt pkgname=('mlt' 'mlt-python-bindings') -pkgver=0.7.4 -pkgrel=2 +pkgver=0.7.6 +pkgrel=1 pkgdesc="An open source multimedia framework" arch=('i686' 'x86_64') url="http://www.mltframework.org" @@ -16,7 +16,7 @@ license=('GPL') makedepends=('sdl_image' 'libsamplerate' 'libdv' 'qt' 'sox' 'libxml2' 'gtk2' 'ffmpeg' 'frei0r-plugins' 'swig' 'python2' "jack" "ladspa") source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('d5d1ff686f51131a02b0f6fca0f073da') +md5sums=('105969a63339da2f8ce4ddce1652c9e7') build() { # mlt -- cgit v1.2.3-54-g00ecf