From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/kdenlive/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ community/kdenlive/kdenlive.install | 12 ++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 community/kdenlive/PKGBUILD create mode 100644 community/kdenlive/kdenlive.install (limited to 'community/kdenlive') diff --git a/community/kdenlive/PKGBUILD b/community/kdenlive/PKGBUILD new file mode 100644 index 000000000..70e1ab84c --- /dev/null +++ b/community/kdenlive/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 43713 2011-03-29 10:19:44Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Zuf +# Contributor: Darwin Bautista + +pkgname=kdenlive +pkgver=0.7.8 +pkgrel=3 +pkgdesc="A non-linear video editor for Linux" +arch=('i686' 'x86_64') +url="http://www.kdenlive.org/" +license=('GPL') +depends=('kdebase-runtime' 'mlt' 'dvgrab') +makedepends=('automoc4' 'cmake' 'gettext') +install=kdenlive.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('7011d0c6b26f7f2350065defef3d9a76') + +build() { + export LDFLAGS="$LDFLAGS -lX11" + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${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/kdenlive/kdenlive.install b/community/kdenlive/kdenlive.install new file mode 100644 index 000000000..a3489ee9d --- /dev/null +++ b/community/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