# $Id: PKGBUILD 65323 2012-02-21 01:34:56Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Zuf # Contributor: Darwin Bautista pkgname=kdenlive pkgver=0.8.2.1 pkgrel=2 pkgdesc="A non-linear video editor for Linux" arch=('i686' 'x86_64' 'mips64el') 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=('96b39531eba98c77546e7eba45a744ce' '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 }