[arch-commits] Commit in digikam/kde-unstable (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Dec 4 15:56:46 UTC 2015


    Date: Friday, December 4, 2015 @ 16:56:46
  Author: arojas
Revision: 252344

Fix dependencies, enable calendar plugin

Modified:
  digikam/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-04 06:23:44 UTC (rev 252343)
+++ PKGBUILD	2015-12-04 15:56:46 UTC (rev 252344)
@@ -7,20 +7,25 @@
 pkgname=('digikam' 'kipi-plugins')
 _pkgver=5.0.0-beta2
 pkgver=${_pkgver//-/_}
-pkgrel=1
+pkgrel=2
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.digikam.org/"
-makedepends=('extra-cmake-modules' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost'
+makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost'
              'libgpod' 'hugin' 'opencv' 'qt5-webkit' 'doxygen' 'lensfun' 'imagemagick' 'eigen' 'libpgf'
-             'libusb' 'libkface' 'kio' 'kdoctools' 'marble' 'kfilemetadata' 'akonadi-contact' 'qt5-multimedia'
+             'libusb' 'kio' 'kdoctools' 'marble' 'kfilemetadata' 'akonadi-contact' 'qt5-multimedia'
              'threadweaver' 'kcalcore' 'knotifyconfig' 'kdelibs4support' 'clang') # 'libmediawiki' 'libkvkontakte'
 source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.bz2")
 sha1sums=('db2f6d7e84e67a338bee9373bdba2dc116f5e1f0')
 
+prepare() {
+  mkdir -p build
+
+  sed -e 's|${KF5_MIN_VERSION}||' -i $pkgname-$_pkgver/core/CMakeLists.txt -i $pkgname-$_pkgver/extra/kipi-plugins/CMakeLists.txt
+}
+
 build() {
-  mkdir build
   cd build
 
   cmake ../${pkgname}-${_pkgver} \
@@ -33,6 +38,7 @@
     -DENABLE_KFILEMETADATASUPPORT=ON \
     -DENABLE_MEDIAPLAYER=ON \
     -DENABLE_AKONADICONTACTSUPPORT=ON \
+    -DDIGIKAMSC_CHECKOUT_PO=ON \
     -DCMAKE_C_COMPILER=clang # Fix error: C++ style comments are not allowed in ISO C90
   make
 }
@@ -39,8 +45,8 @@
 
 package_digikam() {
   pkgdesc="Digital photo management application for KDE"
-  depends=('libgphoto2' 'liblqr' 'libkipi' 'lensfun' 'libpgf'
-	'knotifyconfig' 'libksane' 'kfilemetadata' 'kitemmodels' 'qt5-multimedia' 'marble')
+  depends=('liblqr' 'libkipi' 'lensfun' 'libpgf' 'opencv' 'akonadi-contact'
+	'knotifyconfig' 'libksane' 'kfilemetadata' 'qt5-multimedia' 'marble')
   optdepends=('kipi-plugins: more tools and plugins')
   install=digikam.install
 
@@ -57,7 +63,7 @@
 package_kipi-plugins() {
   pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam"
   depends=('kio' 'libkipi')
-  optdepends=('libkgeomap4: Geolocalize tool'
+  optdepends=('kcalcore: Calendar plugin'
       #       'libmediawiki: MediaWiki Export plugin'
       #       'libkvkontakte: VKontakte.ru Exporter plugin'
               'libgpod: iPodExport plugin'



More information about the arch-commits mailing list