git » kdenlive.git » commit 409b38c

KDE Applications 15.04

author Antonio Rojas
2015-04-10 06:56:26 UTC
committer Antonio Rojas
2015-04-10 06:56:26 UTC
parent 20cbcc2635a5efd8754b20b4fbbf66be6283a1a2

KDE Applications 15.04

PKGBUILD +27 -27
kdenlive.install +2 -2

diff --git a/PKGBUILD b/PKGBUILD
index cb8665c..c627570 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,45 +1,45 @@
 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
 # Contributor: Zuf <kontakt.zuf@gmail.com>
 # Contributor: Darwin Bautista <djclue917@gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
 
 pkgname=kdenlive
-pkgver=0.9.10
-pkgrel=2
-pkgdesc="A non-linear video editor for Linux"
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="A non-linear video editor for Linux using the MLT video framework"
 arch=('i686' 'x86_64')
-# http://download.kde.org/stable/kdenlive/
 url="http://www.kdenlive.org/"
 license=('GPL')
-depends=('hicolor-icon-theme' 'kdelibs' 'mlt' \
-	 'qimageblitz' 'qjson' 'shared-mime-info')
-makedepends=('cmake' 'automoc4' 'gettext' 'glew')
-optdepends=('cdrkit: for creation of DVD ISO images'
-	    'dvdauthor: for creation of DVD'
-	    'dvgrab: for firewire capture'
-	    'ffmpeg: for webcam capture'
-	    'recordmydesktop: for screen capture'
-	    'xine-lib: for DVD preview'
-	    'oxygen-icons: if some icons does not appear')
-install=kdenlive.install
-options=('docs')
-source=(http://download.kde.org/stable/kdenlive/$pkgver/src/kdenlive-$pkgver.tar.bz2)
-md5sums=('40d7ee8e388cb084f5eb1ad1596a14b2')
+groups=('kde-applications' 'kdemultimedia')
+depends=('knewstuff' 'kplotting' 'knotifyconfig' 'mlt' 'glu' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'v4l-utils')
+optdepends=('ffmpeg: for FFmpeg plugin'
+            'cdrkit: for creation of DVD ISO images'
+            'dvdauthor: for creation of DVD'
+            'dvgrab: for firewire capture'
+            'libdv: for webcam capture (if FFmpeg is not installed)'
+            'recordmydesktop: for screen capture'
+            'xine-ui: for DVD preview')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/$pkgname-${pkgver}.tar.xz")
+md5sums=('a6b851cec89761334cf2b615c991e17f')
+install=$pkgname.install
 
-build() {
-  export LDFLAGS="$LDFLAGS -lX11"
-  cd "${srcdir}"
+prepare(){
   mkdir -p build
+}
+
+build() {
   cd build
-  cmake ../kdenlive-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DLIB_INSTALL_DIR=/usr/lib \
-    -DLINK_LIBRARIES=-lX11 \
-    -DWITH_Nepomuk=OFF
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
   make
 }
 
 package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  make -C build DESTDIR="${pkgdir}" install
 }
+
diff --git a/kdenlive.install b/kdenlive.install
index 53a1827..9aef867 100644
--- a/kdenlive.install
+++ b/kdenlive.install
@@ -1,6 +1,6 @@
 post_install() {
-  update-mime-database usr/share/mime &> /dev/null
-  update-desktop-database -q
+  update-mime-database usr/share/mime &>/dev/null
+  update-desktop-database -q &>/dev/null
   xdg-icon-resource forceupdate --theme hicolor &> /dev/null
 }