From 63a600a5f9102d817332db9fb746a4153ed62b51 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 Jun 2012 00:01:47 +0000 Subject: Fri Jun 15 00:01:47 UTC 2012 --- community-staging/kdenlive/PKGBUILD | 42 +++++++++++++++++++++++++++++ community-staging/kdenlive/kdenlive.install | 12 +++++++++ 2 files changed, 54 insertions(+) create mode 100644 community-staging/kdenlive/PKGBUILD create mode 100644 community-staging/kdenlive/kdenlive.install (limited to 'community-staging/kdenlive') diff --git a/community-staging/kdenlive/PKGBUILD b/community-staging/kdenlive/PKGBUILD new file mode 100644 index 000000000..1a905df42 --- /dev/null +++ b/community-staging/kdenlive/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 72367 2012-06-13 07:48:34Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Zuf +# Contributor: Darwin Bautista + +pkgname=kdenlive +pkgver=0.9.2 +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' 'dvgrab' 'qjson' 'qimageblitz' + 'libqzeitgeist') +makedepends=('automoc4' 'cmake' 'gettext' 'mesa') +optdepends=('recordmydesktop' + 'dvdauthor' + 'mkisolinux' + 'xine-ui') +install=kdenlive.install +options=('docs') +source=(http://download.kde.org/stable/kdenlive/$pkgver/src/kdenlive-$pkgver.tar.bz2) +md5sums=('40f108f26e2c2e08807a1c183d8764ec') + +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-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 +} -- cgit v1.2.3-54-g00ecf