desktop/kdenlive/PKGBUILD

38 lines
993 B
Bash

#
# Apps Packages for Chakra, part of chakraos.org
#
# maintainer almack[at]chakraos[dot]org>
pkgname=kdenlive
pkgver=0.9.10
pkgrel=2
pkgdesc="A non-linear video editor for Linux"
arch=('x86_64')
url="http://www.kdenlive.org/"
license=('GPL')
depends=('kdelibs' 'mlt' 'dvgrab' 'kde-runtime' 'frei0r-plugins' 'qjson' 'qimageblitz')
optdepends=("dvdauthor: for creating dvds"
"recordmydesktop: for desktop-recordings")
makedepends=('automoc4' 'cmake' 'gettext' 'docbook-xsl')
categories=('multimedia')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
md5sums=('40d7ee8e388cb084f5eb1ad1596a14b2')
screenshot=('http://kdenlive.org/sites/default/files/kdenlive-090a_0.png')
build() {
export LDFLAGS="$LDFLAGS -lX11"
cd "$srcdir/$pkgname-$pkgver"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}