[arch-commits] Commit in digikam/kde-unstable (PKGBUILD digikam-qt-5.15.patch)

2020-06-15 Thread Antonio Rojas via arch-commits
Date: Monday, June 15, 2020 @ 09:23:57
  Author: arojas
Revision: 389281

Update to 7.0.0 rc

Modified:
  digikam/kde-unstable/PKGBUILD
Deleted:
  digikam/kde-unstable/digikam-qt-5.15.patch

---+
 PKGBUILD  |   17 
 digikam-qt-5.15.patch |   51 
 2 files changed, 5 insertions(+), 63 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-15 07:57:58 UTC (rev 389280)
+++ PKGBUILD2020-06-15 09:23:57 UTC (rev 389281)
@@ -5,7 +5,7 @@
 # Contributor: Tobias Powalowski 
 
 pkgname=digikam
-_pkgver=7.0.0-beta3
+_pkgver=7.0.0-rc
 pkgver=${_pkgver//-/_} # for beta versions
 pkgrel=1
 pkgdesc="An advanced digital photo management application"
@@ -14,24 +14,17 @@
 url="https://www.digikam.org/;
 depends=(lensfun opencv akonadi-contacts knotifyconfig libksane kfilemetadata 
qtav marble-common threadweaver kcalendarcore
  qt5-xmlpatterns imagemagick glu)
-makedepends=(extra-cmake-modules doxygen eigen boost kdoctools libkvkontakte 
jasper)
+makedepends=(extra-cmake-modules doxygen eigen boost kdoctools jasper)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)'
 'jasper: openJPEG support'
-'libkvkontakte: VKontakte plugin'
 'rawtherapee: RAW import' 'darktable: RAW import'
 "digikam-plugin-gmic: G'MIC plugin"
 'perl: for digitaglinktree')
-source=("https://download.kde.org/unstable/$pkgname/$pkgname-$_pkgver.tar.xz"{,.sig}
- digikam-qt-5.15.patch)
-sha256sums=('97b2f768674afaaca6feb6e661d5c8fc6b88b08f4d4bbab8a6bcc94c19914893'
-'SKIP'
-'3dd295fe3b49bf2140e44a86e65741522744034e0d204af12a642621feea81fc')
+source=("https://download.kde.org/unstable/$pkgname/$pkgname-$_pkgver.tar.xz"{,.sig})
+sha256sums=('3821000e9af31668b9b4f53a48b586b2f7d918bc8ebc52595fc9c7c9155ab573'
+'SKIP')
 validpgpkeys=(D1CF2444A7858C5F2FB095B74A77747BC2386E50) # digiKam.org (digiKam 
project) 
 
-prepare() {
-  patch -d $pkgname-$_pkgver -p1 -i ../digikam-qt-5.15.patch # Fix build with 
qt 5.15
-}
-
 build() {
   cmake -B build -S $pkgname-$_pkgver \
 -DBUILD_TESTING=OFF \

Deleted: digikam-qt-5.15.patch
===
--- digikam-qt-5.15.patch   2020-06-15 07:57:58 UTC (rev 389280)
+++ digikam-qt-5.15.patch   2020-06-15 09:23:57 UTC (rev 389281)
@@ -1,51 +0,0 @@
-From 10fd663f43148fc96ed3afeecf70de15cadd0f8a Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Sun, 19 Apr 2020 09:55:03 +0200
-Subject: [PATCH] Fix build with Qt 5.15.0
-
-Signed-off-by: Andreas Sturmlechner 

- .../dplugins/generic/view/presentation/opengl/presentationgl.cpp | 1 +
- core/libs/dimg/filters/curves/curveswidget.cpp   | 1 +
- core/libs/dimg/filters/levels/histogrampainter.cpp   | 1 +
- 3 files changed, 3 insertions(+)
-
-diff --git a/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp 
b/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp
-index b37699436e..6a4f173ab0 100644
 a/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp
-+++ b/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp
-@@ -44,6 +44,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-diff --git a/core/libs/dimg/filters/curves/curveswidget.cpp 
b/core/libs/dimg/filters/curves/curveswidget.cpp
-index cbd156..d0beef9bf2 100644
 a/core/libs/dimg/filters/curves/curveswidget.cpp
-+++ b/core/libs/dimg/filters/curves/curveswidget.cpp
-@@ -40,6 +40,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- 
-diff --git a/core/libs/dimg/filters/levels/histogrampainter.cpp 
b/core/libs/dimg/filters/levels/histogrampainter.cpp
-index 241d5fc4c8..f11ad4b560 100644
 a/core/libs/dimg/filters/levels/histogrampainter.cpp
-+++ b/core/libs/dimg/filters/levels/histogrampainter.cpp
-@@ -30,6 +30,7 @@
- // Qt includes
- 
- #include 
-+#include 
- 
- // KDE includes
- 
--- 
-2.26.1
-


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

2019-01-04 Thread Antonio Rojas via arch-commits
Date: Friday, January 4, 2019 @ 20:34:41
  Author: arojas
Revision: 342968

Update to 6.0.0 beta3

Modified:
  digikam/kde-unstable/PKGBUILD
Deleted:
  digikam/kde-unstable/digikam-opencv4.patch

---+
 PKGBUILD  |   15 
 digikam-opencv4.patch |   56 
 2 files changed, 5 insertions(+), 66 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-04 20:05:05 UTC (rev 342967)
+++ PKGBUILD2019-01-04 20:34:41 UTC (rev 342968)
@@ -5,9 +5,9 @@
 # Contributor: Tobias Powalowski 
 
 pkgname=digikam
-_pkgver=6.0.0-beta2
+_pkgver=6.0.0-beta3
 pkgver=${_pkgver//-/_} # for beta versions
-pkgrel=5
+pkgrel=1
 pkgdesc="An advanced digital photo management application"
 arch=(x86_64)
 license=(GPL)
@@ -16,18 +16,13 @@
  qt5-xmlpatterns libkvkontakte libmediawiki)
 makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
-source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"{,.sig}
-digikam-opencv4.patch)
-sha256sums=('73ae57e2a5af538f335da312b5e9039268c81f124864af047ac3ebe6a86e7330'
-'SKIP'
-'d86033a92eb4fbe337636b1fb943d9234181efef9848ff7544e8117645347542')
+source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"{,.sig})
+sha256sums=('5660a813eb88035d254ca5ffacbf1ffc6692dca9f42904367d5b330bc44d8012'
+'SKIP')
 validpgpkeys=(D1CF2444A7858C5F2FB095B74A77747BC2386E50) # digiKam.org (digiKam 
project) 
 
 prepare() {
   mkdir -p build
-
-  cd $pkgname-$_pkgver
-  patch -p1 -i ../digikam-opencv4.patch # Fix build with opencv 4
 }
 
 build() {

Deleted: digikam-opencv4.patch
===
--- digikam-opencv4.patch   2019-01-04 20:05:05 UTC (rev 342967)
+++ digikam-opencv4.patch   2019-01-04 20:34:41 UTC (rev 342968)
@@ -1,56 +0,0 @@
-diff --git a/core/app/utils/digikam_opencv.h.cmake.in 
b/core/app/utils/digikam_opencv.h.cmake.in
-index 9195aad6e7..b3d6de1f86 100644
 a/core/app/utils/digikam_opencv.h.cmake.in
-+++ b/core/app/utils/digikam_opencv.h.cmake.in
-@@ -54,24 +54,36 @@
- #   include 
- #   include 
- #   include 
--#else
-+#elif OPENCV_TEST_VERSION(4,0,0)
- #   include 
- #   include 
- #   include 
- #   include 
-+#else
-+#   include 
-+#   include 
-+#   include 
-+#   include 
- #endif
- 
- #if OPENCV_TEST_VERSION(3,0,0)
- #   include 
- #   include 
- #   include 
--#else
-+#elif OPENCV_TEST_VERSION(4,0,0)
- #   include 
- #   include 
- #   include 
- #   include 
- #   include 
- #   include 
-+#else
-+#   include 
-+#   include 
-+#   include 
-+#   include 
-+#   include 
-+#   include 
- #endif
- 
- // for old-style code
-diff --git a/core/libs/facesengine/detection/opencvfacedetector.cpp 
b/core/libs/facesengine/detection/opencvfacedetector.cpp
-index 2a28276d09..639540a964 100644
 a/core/libs/facesengine/detection/opencvfacedetector.cpp
-+++ b/core/libs/facesengine/detection/opencvfacedetector.cpp
-@@ -358,7 +358,7 @@ void OpenCVFaceDetector::updateParameters(const cv::Size& 
/*scaledSize*/, const
-  * unless in we want very high sensitivity at low speed
-  */
- if (d->sensitivityVsSpecificity > 0.1 || d->speedVsAccuracy < 0.9)
--d->primaryParams.flags = CV_HAAR_DO_CANNY_PRUNING;
-+d->primaryParams.flags = cv::CASCADE_DO_CANNY_PRUNING;
- else
- d->primaryParams.flags = 0;
- 


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

2018-12-24 Thread Antonio Rojas via arch-commits
Date: Monday, December 24, 2018 @ 14:12:57
  Author: arojas
Revision: 342718

opencv 4.0.1 rebuild

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-24 13:48:38 UTC (rev 342717)
+++ PKGBUILD2018-12-24 14:12:57 UTC (rev 342718)
@@ -7,7 +7,7 @@
 pkgname=digikam
 _pkgver=6.0.0-beta2
 pkgver=${_pkgver//-/_} # for beta versions
-pkgrel=4
+pkgrel=5
 pkgdesc="An advanced digital photo management application"
 arch=(x86_64)
 license=(GPL)


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

2018-11-22 Thread Antonio Rojas via arch-commits
Date: Thursday, November 22, 2018 @ 21:42:37
  Author: arojas
Revision: 340315

Add qt5-xmlpatterns dependency, no longer pulled by qt5-declarative

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-22 21:09:47 UTC (rev 340314)
+++ PKGBUILD2018-11-22 21:42:37 UTC (rev 340315)
@@ -7,13 +7,13 @@
 pkgname=digikam
 _pkgver=6.0.0-beta2
 pkgver=${_pkgver//-/_} # for beta versions
-pkgrel=3
+pkgrel=4
 pkgdesc="An advanced digital photo management application"
 arch=(x86_64)
 license=(GPL)
 url="http://www.digikam.org/;
 depends=(liblqr lensfun opencv akonadi-contacts knotifyconfig libksane 
kfilemetadata qtav marble-common threadweaver kcalcore
- qt5-webengine libkvkontakte libmediawiki)
+ qt5-xmlpatterns libkvkontakte libmediawiki)
 makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
 
source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"{,.sig}


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

2018-11-21 Thread Antonio Rojas via arch-commits
Date: Thursday, November 22, 2018 @ 07:08:42
  Author: arojas
Revision: 340216

opencv 4.0 rebuild

Added:
  digikam/kde-unstable/digikam-opencv4.patch
Modified:
  digikam/kde-unstable/PKGBUILD

---+
 PKGBUILD  |   11 ++---
 digikam-opencv4.patch |   56 
 2 files changed, 64 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-22 06:09:13 UTC (rev 340215)
+++ PKGBUILD2018-11-22 07:08:42 UTC (rev 340216)
@@ -7,7 +7,7 @@
 pkgname=digikam
 _pkgver=6.0.0-beta2
 pkgver=${_pkgver//-/_} # for beta versions
-pkgrel=2
+pkgrel=3
 pkgdesc="An advanced digital photo management application"
 arch=(x86_64)
 license=(GPL)
@@ -16,13 +16,18 @@
  qt5-webengine libkvkontakte libmediawiki)
 makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
-source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"{,.sig})
+source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"{,.sig}
+digikam-opencv4.patch)
 sha256sums=('73ae57e2a5af538f335da312b5e9039268c81f124864af047ac3ebe6a86e7330'
-'SKIP')
+'SKIP'
+'d86033a92eb4fbe337636b1fb943d9234181efef9848ff7544e8117645347542')
 validpgpkeys=(D1CF2444A7858C5F2FB095B74A77747BC2386E50) # digiKam.org (digiKam 
project) 
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$_pkgver
+  patch -p1 -i ../digikam-opencv4.patch # Fix build with opencv 4
 }
 
 build() {

Added: digikam-opencv4.patch
===
--- digikam-opencv4.patch   (rev 0)
+++ digikam-opencv4.patch   2018-11-22 07:08:42 UTC (rev 340216)
@@ -0,0 +1,56 @@
+diff --git a/core/app/utils/digikam_opencv.h.cmake.in 
b/core/app/utils/digikam_opencv.h.cmake.in
+index 9195aad6e7..b3d6de1f86 100644
+--- a/core/app/utils/digikam_opencv.h.cmake.in
 b/core/app/utils/digikam_opencv.h.cmake.in
+@@ -54,24 +54,36 @@
+ #   include 
+ #   include 
+ #   include 
+-#else
++#elif OPENCV_TEST_VERSION(4,0,0)
+ #   include 
+ #   include 
+ #   include 
+ #   include 
++#else
++#   include 
++#   include 
++#   include 
++#   include 
+ #endif
+ 
+ #if OPENCV_TEST_VERSION(3,0,0)
+ #   include 
+ #   include 
+ #   include 
+-#else
++#elif OPENCV_TEST_VERSION(4,0,0)
+ #   include 
+ #   include 
+ #   include 
+ #   include 
+ #   include 
+ #   include 
++#else
++#   include 
++#   include 
++#   include 
++#   include 
++#   include 
++#   include 
+ #endif
+ 
+ // for old-style code
+diff --git a/core/libs/facesengine/detection/opencvfacedetector.cpp 
b/core/libs/facesengine/detection/opencvfacedetector.cpp
+index 2a28276d09..639540a964 100644
+--- a/core/libs/facesengine/detection/opencvfacedetector.cpp
 b/core/libs/facesengine/detection/opencvfacedetector.cpp
+@@ -358,7 +358,7 @@ void OpenCVFaceDetector::updateParameters(const cv::Size& 
/*scaledSize*/, const
+  * unless in we want very high sensitivity at low speed
+  */
+ if (d->sensitivityVsSpecificity > 0.1 || d->speedVsAccuracy < 0.9)
+-d->primaryParams.flags = CV_HAAR_DO_CANNY_PRUNING;
++d->primaryParams.flags = cv::CASCADE_DO_CANNY_PRUNING;
+ else
+ d->primaryParams.flags = 0;
+ 


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

2018-11-17 Thread Antonio Rojas via arch-commits
Date: Sunday, November 18, 2018 @ 07:08:02
  Author: arojas
Revision: 340081

Rebuild against opencv 3.4.4

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-18 07:01:44 UTC (rev 340080)
+++ PKGBUILD2018-11-18 07:08:02 UTC (rev 340081)
@@ -7,7 +7,7 @@
 pkgname=digikam
 _pkgver=6.0.0-beta2
 pkgver=${_pkgver//-/_} # for beta versions
-pkgrel=1
+pkgrel=2
 pkgdesc="An advanced digital photo management application"
 arch=(x86_64)
 license=(GPL)


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

2018-10-15 Thread Antonio Rojas via arch-commits
Date: Monday, October 15, 2018 @ 10:01:42
  Author: arojas
Revision: 336574

Update to 6.0.0beta2

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-15 07:28:56 UTC (rev 336573)
+++ PKGBUILD2018-10-15 10:01:42 UTC (rev 336574)
@@ -5,7 +5,7 @@
 # Contributor: Tobias Powalowski 
 
 pkgname=digikam
-_pkgver=6.0.0-beta1
+_pkgver=6.0.0-beta2
 pkgver=${_pkgver//-/_} # for beta versions
 pkgrel=1
 pkgdesc="An advanced digital photo management application"
@@ -16,8 +16,10 @@
  qt5-webengine libkvkontakte libmediawiki)
 makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
-source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
-sha256sums=('43bde5b12b261e8aacb95948103c499389153af7d9e5527bd278781a4f3ea020')
+source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"{,.sig})
+sha256sums=('73ae57e2a5af538f335da312b5e9039268c81f124864af047ac3ebe6a86e7330'
+'SKIP')
+validpgpkeys=(D1CF2444A7858C5F2FB095B74A77747BC2386E50) # digiKam.org (digiKam 
project) 
 
 prepare() {
   mkdir -p build


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

2018-08-25 Thread Antonio Rojas via arch-commits
Date: Saturday, August 25, 2018 @ 17:44:19
  Author: arojas
Revision: 333010

Update source URL

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-25 16:00:14 UTC (rev 333009)
+++ PKGBUILD2018-08-25 17:44:19 UTC (rev 333010)
@@ -16,7 +16,7 @@
  qt5-webengine libkvkontakte libmediawiki)
 makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
-source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
+source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
 sha256sums=('43bde5b12b261e8aacb95948103c499389153af7d9e5527bd278781a4f3ea020')
 
 prepare() {


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

2018-08-19 Thread Antonio Rojas via arch-commits
Date: Sunday, August 19, 2018 @ 23:20:49
  Author: arojas
Revision: 332666

Cleanup makedepends

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-19 22:11:21 UTC (rev 332665)
+++ PKGBUILD2018-08-19 23:20:49 UTC (rev 332666)
@@ -14,7 +14,7 @@
 url="http://www.digikam.org/;
 depends=(liblqr lensfun opencv akonadi-contacts knotifyconfig libksane 
kfilemetadata qtav marble-common threadweaver kcalcore
  qt5-webengine libkvkontakte libmediawiki)
-makedepends=(extra-cmake-modules libkipi libksane liblqr opencv doxygen 
lensfun eigen boost kdoctools)
+makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
 
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
 sha256sums=('43bde5b12b261e8aacb95948103c499389153af7d9e5527bd278781a4f3ea020')


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

2018-08-19 Thread Antonio Rojas via arch-commits
Date: Sunday, August 19, 2018 @ 19:50:12
  Author: arojas
Revision: 332662

Update to 6.0.0-beta1

Added:
  digikam/kde-unstable/
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Added: kde-unstable/PKGBUILD
===
--- kde-unstable/PKGBUILD   (rev 0)
+++ kde-unstable/PKGBUILD   2018-08-19 19:50:12 UTC (rev 332662)
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 320127 2018-03-24 09:48:28Z arojas $
+# Maintainer: Ronald van Haren 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+# Contributor: Tobias Powalowski 
+
+pkgname=digikam
+_pkgver=6.0.0-beta1
+pkgver=${_pkgver//-/_} # for beta versions
+pkgrel=1
+pkgdesc="An advanced digital photo management application"
+arch=(x86_64)
+license=(GPL)
+url="http://www.digikam.org/;
+depends=(liblqr lensfun opencv akonadi-contacts knotifyconfig libksane 
kfilemetadata qtav marble-common threadweaver kcalcore
+ qt5-webengine libkvkontakte libmediawiki)
+makedepends=(extra-cmake-modules libkipi libksane liblqr opencv doxygen 
lensfun eigen boost kdoctools)
+optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional 
image formats (WEBP, TIFF)')
+source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
+sha256sums=('43bde5b12b261e8aacb95948103c499389153af7d9e5527bd278781a4f3ea020')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../$pkgname-${_pkgver} \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF \
+-DENABLE_KFILEMETADATASUPPORT=ON \
+-DENABLE_MEDIAPLAYER=ON \
+-DENABLE_AKONADICONTACTSUPPORT=ON \
+-DENABLE_MYSQLSUPPORT=ON \
+-DENABLE_APPSTYLES=ON \
+-DENABLE_QWEBENGINE=ON \
+-DOpenGL_GL_PREFERENCE=GLVND
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


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

2016-09-23 Thread Antonio Rojas
Date: Friday, September 23, 2016 @ 11:21:36
  Author: arojas
Revision: 276866

Cleanup

Deleted:
  digikam/kde-unstable/


[arch-commits] Commit in digikam/kde-unstable (PKGBUILD digikam-5.1-fix-build.patch)

2016-08-09 Thread Antonio Rojas
Date: Tuesday, August 9, 2016 @ 17:43:27
  Author: arojas
Revision: 273539

Update to 5.1.0

Added:
  digikam/kde-unstable/digikam-5.1-fix-build.patch
Modified:
  digikam/kde-unstable/PKGBUILD

-+
 PKGBUILD|   21 +++--
 digikam-5.1-fix-build.patch |   15 +++
 2 files changed, 26 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-09 16:39:07 UTC (rev 273538)
+++ PKGBUILD2016-08-09 17:43:27 UTC (rev 273539)
@@ -5,25 +5,27 @@
 
 pkgbase=digikam
 pkgname=('digikam' 'kipi-plugins')
-_pkgver=5.0.0
+_pkgver=5.1.0
 pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=3
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.digikam.org/;
 makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 
'boost'
- 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 'kdesignerplugin'
+ 'opencv' 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 
'kdesignerplugin'
  'kfilemetadata' 'akonadi-contacts' 'qt5-multimedia' 
'threadweaver' 'kcalcore'
- 'knotifyconfig' 'libmediawiki' 'libkvkontakte' 'kqoauth')
-source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
-sha1sums=('e0dec2eba9ab3a51d632b69b3dd6daf8dca64a45')
+ 'knotifyconfig' 'libmediawiki' 'libkvkontakte')
+source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;
 digikam-5.1-fix-build.patch)
+sha1sums=('87a843c39f45b8704ead6e6029e52fb03ee44680'
+  '5b6644c8b5534a1712f46fc84948de9a0039a601')
 
 prepare() {
   mkdir -p build
 
-# Build fails
-  sed -e '/add_subdirectory(showfoto)/d' -i 
$pkgname-${_pkgver}/doc-translated/digikam/CMakeLists.txt
+  cd $pkgname-$pkgver
+  # Fix build on i686
+  patch -p1 -i ../digikam-5.1-fix-build.patch
 }
 
 build() {
@@ -67,8 +69,7 @@
   pkgdesc="A collection of plugins extending the KDE graphics and image 
applications as digiKam"
   depends=('kio' 'libkipi')
   optdepends=('libmediawiki: MediaWiki Export plugin'
-  'libkvkontakte: VKontakte.ru Exporter plugin'
-  'kqoauth: OAuth authentication for imgur')
+  'libkvkontakte: VKontakte.ru Exporter plugin')
 
   cd build/extra
   make DESTDIR="$pkgdir" install

Added: digikam-5.1-fix-build.patch
===
--- digikam-5.1-fix-build.patch (rev 0)
+++ digikam-5.1-fix-build.patch 2016-08-09 17:43:27 UTC (rev 273539)
@@ -0,0 +1,15 @@
+--- digikam-5.1.0/core/libs/rawengine/libraw/libraw/libraw_types.h.orig
2016-08-09 15:05:10.449224741 +
 digikam-5.1.0/core/libs/rawengine/libraw/libraw/libraw_types.h 
2016-08-09 15:05:50.725789944 +
+@@ -618,10 +618,10 @@
+ #elif defined(_M_X64) || defined(__amd64__)
+ #define LibRawBigEndian 0
+ 
+-#elif defined(__LITTLE_ENDIAN__)
++#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+ #define LibRawBigEndian 0
+ 
+-#elif defined(__BIG_ENDIAN__)
++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+ #define LibRawBigEndian 1
+ #elif defined(_ARM_)
+ #define LibRawBigEndian 0


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

2016-07-25 Thread Antonio Rojas
Date: Monday, July 25, 2016 @ 08:57:25
  Author: arojas
Revision: 272454

Remove duplicate optdepend

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-24 21:04:29 UTC (rev 272453)
+++ PKGBUILD2016-07-25 08:57:25 UTC (rev 272454)
@@ -13,7 +13,7 @@
 license=('GPL')
 url="http://www.digikam.org/;
 makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 
'boost'
- 'opencv' 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 
'kdesignerplugin'
+ 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 'kdesignerplugin'
  'kfilemetadata' 'akonadi-contacts' 'qt5-multimedia' 
'threadweaver' 'kcalcore'
  'knotifyconfig' 'libmediawiki' 'libkvkontakte' 'kqoauth')
 
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)


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

2016-06-12 Thread Antonio Rojas
Date: Sunday, June 12, 2016 @ 12:06:29
  Author: arojas
Revision: 269371

Update to 5.0.0 beta 7

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |   25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-12 09:29:26 UTC (rev 269370)
+++ PKGBUILD2016-06-12 10:06:29 UTC (rev 269371)
@@ -5,7 +5,7 @@
 
 pkgbase=digikam
 pkgname=('digikam' 'kipi-plugins')
-_pkgver=5.0.0-beta6
+_pkgver=5.0.0-beta7
 pkgver=${_pkgver//-/_}
 pkgrel=1
 pkgdesc="Digital photo management application for KDE"
@@ -13,11 +13,11 @@
 license=('GPL')
 url="http://www.digikam.org/;
 makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 
'boost' 'grantlee-qt5'
- 'libgpod' 'hugin' 'opencv' 'qt5-webkit' 'doxygen' 'lensfun' 
'imagemagick' 'eigen' 'libpgf'
- 'libusb' 'kio' 'kdoctools' 'marble' 'kfilemetadata' 
'akonadi-contact' 'qt5-multimedia'
+ 'libgpod' 'hugin' 'opencv' 'doxygen' 'lensfun' 'imagemagick' 
'eigen'
+ 'libusb' 'kio' 'kdoctools' 'marble' 'kfilemetadata' 
'akonadi-contact' 'qt5-multimedia' 'kdesignerplugin'
  'threadweaver' 'kcalcore' 'knotifyconfig' 'kdelibs4support' 
'qt5-xmlpatterns') # 'libmediawiki' 'libkvkontakte'
-source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.bz2;)
-sha1sums=('a98b2371e9749ed244c4aa0d0885514c5112')
+source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz;)
+sha1sums=('133ed06a3768c1f4d22967f9c28dc6d4488cd2c3')
 
 prepare() {
   mkdir -p build
@@ -32,7 +32,6 @@
 -DCMAKE_BUILD_TYPE=Release \
 -DCMAKE_SKIP_RPATH=ON \
 -DBUILD_TESTING=OFF \
--DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
 -DENABLE_KFILEMETADATASUPPORT=ON \
 -DENABLE_MEDIAPLAYER=ON \
 -DENABLE_AKONADICONTACTSUPPORT=ON \
@@ -43,16 +42,14 @@
 
 package_digikam() {
   pkgdesc="Digital photo management application for KDE"
-  depends=('liblqr' 'libkipi' 'lensfun' 'libpgf' 'opencv' 'akonadi-contact'
+  depends=('liblqr' 'libkipi' 'lensfun' 'opencv' 'akonadi-contact'
'knotifyconfig' 'libksane' 'kfilemetadata' 'qt5-multimedia' 'marble' 
'threadweaver' 'kcalcore')
   optdepends=('kipi-plugins: more tools and plugins')
 
   cd build/core
   make DESTDIR="${pkgdir}" install
-  cd ../../build/doc/digikam/digikam
-  make DESTDIR="${pkgdir}" install
-  cd ../showfoto
-  make DESTDIR="${pkgdir}" install
+#  cd ../../build/doc/digikam/digikam
+#  make DESTDIR="${pkgdir}" install
 #  cd ../../../../build/po
 #  make DESTDIR="${pkgdir}" install
 }
@@ -69,12 +66,12 @@
   'threadweaver: panorama plugin'
  'hugin: panorama plugin')
 
-  cd build/extra/kipi-plugins
+  cd build/extra
   make DESTDIR="${pkgdir}" install
 
 #  cd ../../../build/po
 #  make DESTDIR="${pkgdir}" install
 
-  cd ../../../build/doc/kipi-plugins
-  make DESTDIR="${pkgdir}" install
+#  cd ../../../build/doc/kipi-plugins
+#  make DESTDIR="${pkgdir}" install
 }


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

2016-04-10 Thread Antonio Rojas
Date: Sunday, April 10, 2016 @ 15:12:41
  Author: arojas
Revision: 264476

marble 15.03.90 rebuild

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-10 11:45:54 UTC (rev 264475)
+++ PKGBUILD2016-04-10 13:12:41 UTC (rev 264476)
@@ -7,7 +7,7 @@
 pkgname=('digikam' 'kipi-plugins')
 _pkgver=5.0.0-beta5
 pkgver=${_pkgver//-/_}
-pkgrel=1
+pkgrel=2
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')


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

2016-03-11 Thread Antonio Rojas
Date: Friday, March 11, 2016 @ 11:21:16
  Author: arojas
Revision: 261328

opencv 3.1 rebuild

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-11 09:35:11 UTC (rev 261327)
+++ PKGBUILD2016-03-11 10:21:16 UTC (rev 261328)
@@ -7,7 +7,7 @@
 pkgname=('digikam' 'kipi-plugins')
 _pkgver=5.0.0-beta3
 pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=3
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -15,7 +15,7 @@
 makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 
'boost'
  'libgpod' 'hugin' 'opencv' 'qt5-webkit' 'doxygen' 'lensfun' 
'imagemagick' 'eigen' 'libpgf'
  'libusb' 'kio' 'kdoctools' 'marble' 'kfilemetadata' 
'akonadi-contact' 'qt5-multimedia'
- 'threadweaver' 'kcalcore' 'knotifyconfig' 'kdelibs4support') # 
'libmediawiki' 'libkvkontakte'
+ 'threadweaver' 'kcalcore' 'knotifyconfig' 'kdelibs4support' 
'qt5-xmlpatterns') # 'libmediawiki' 'libkvkontakte'
 
source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.bz2;)
 sha1sums=('811ddc2936fc58ff970446d715046636c004bb2a')
 
@@ -36,7 +36,8 @@
 -DENABLE_KFILEMETADATASUPPORT=ON \
 -DENABLE_MEDIAPLAYER=ON \
 -DENABLE_AKONADICONTACTSUPPORT=ON \
--DENABLE_MYSQLSUPPORT=ON
+-DENABLE_MYSQLSUPPORT=ON \
+-DENABLE_OPENCV3=ON
   make
 }
 


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

2016-02-24 Thread Antonio Rojas
Date: Wednesday, February 24, 2016 @ 13:54:54
  Author: arojas
Revision: 260222

Build with gcc again, flex has been fixed

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-24 12:29:17 UTC (rev 260221)
+++ PKGBUILD2016-02-24 12:54:54 UTC (rev 260222)
@@ -15,7 +15,7 @@
 makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 
'boost'
  'libgpod' 'hugin' 'opencv' 'qt5-webkit' 'doxygen' 'lensfun' 
'imagemagick' 'eigen' 'libpgf'
  'libusb' 'kio' 'kdoctools' 'marble' 'kfilemetadata' 
'akonadi-contact' 'qt5-multimedia'
- 'threadweaver' 'kcalcore' 'knotifyconfig' 'kdelibs4support' 
'clang') # 'libmediawiki' 'libkvkontakte'
+ 'threadweaver' 'kcalcore' 'knotifyconfig' 'kdelibs4support') # 
'libmediawiki' 'libkvkontakte'
 
source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.bz2;)
 sha1sums=('811ddc2936fc58ff970446d715046636c004bb2a')
 
@@ -36,8 +36,7 @@
 -DENABLE_KFILEMETADATASUPPORT=ON \
 -DENABLE_MEDIAPLAYER=ON \
 -DENABLE_AKONADICONTACTSUPPORT=ON \
--DENABLE_MYSQLSUPPORT=ON \
--DCMAKE_C_COMPILER=clang # Fix error: C++ style comments are not allowed 
in ISO C90
+-DENABLE_MYSQLSUPPORT=ON
   make
 }
 
@@ -81,3 +80,4 @@
   cd ../../../build/doc/kipi-plugins
   make DESTDIR="${pkgdir}" install
 }
+


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

2016-02-04 Thread Antonio Rojas
Date: Thursday, February 4, 2016 @ 22:10:21
  Author: arojas
Revision: 258882

lensfun 0.3.2 rebuild

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-04 20:07:04 UTC (rev 258881)
+++ PKGBUILD2016-02-04 21:10:21 UTC (rev 258882)
@@ -7,7 +7,7 @@
 pkgname=('digikam' 'kipi-plugins')
 _pkgver=5.0.0-beta3
 pkgver=${_pkgver//-/_}
-pkgrel=1
+pkgrel=2
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')


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

2016-01-24 Thread Antonio Rojas
Date: Sunday, January 24, 2016 @ 12:35:03
  Author: arojas
Revision: 258559

Update to 5.0 beta 3

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-24 11:22:17 UTC (rev 258558)
+++ PKGBUILD2016-01-24 11:35:03 UTC (rev 258559)
@@ -5,9 +5,9 @@
 
 pkgbase=digikam
 pkgname=('digikam' 'kipi-plugins')
-_pkgver=5.0.0-beta2
+_pkgver=5.0.0-beta3
 pkgver=${_pkgver//-/_}
-pkgrel=4
+pkgrel=1
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -17,12 +17,10 @@
  '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')
+sha1sums=('811ddc2936fc58ff970446d715046636c004bb2a')
 
 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() {


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

2016-01-09 Thread Antonio Rojas
Date: Saturday, January 9, 2016 @ 14:05:02
  Author: arojas
Revision: 257688

Add plasma-desktop optdepend (FS#47680)

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-09 11:46:52 UTC (rev 257687)
+++ PKGBUILD2016-01-09 13:05:02 UTC (rev 257688)
@@ -47,7 +47,7 @@
   pkgdesc="Digital photo management application for KDE"
   depends=('liblqr' 'libkipi' 'lensfun' 'libpgf' 'opencv' 'akonadi-contact'
'knotifyconfig' 'libksane' 'kfilemetadata' 'qt5-multimedia' 'marble')
-  optdepends=('kipi-plugins: more tools and plugins')
+  optdepends=('kipi-plugins: more tools and plugins' 'plasma-desktop: theme 
configuration')
   install=digikam.install
 
   cd build/core


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

2016-01-08 Thread Antonio Rojas
Date: Friday, January 8, 2016 @ 23:31:47
  Author: arojas
Revision: 257655

Enable mysql support (FS#47672)

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-08 21:49:09 UTC (rev 257654)
+++ PKGBUILD2016-01-08 22:31:47 UTC (rev 257655)
@@ -7,7 +7,7 @@
 pkgname=('digikam' 'kipi-plugins')
 _pkgver=5.0.0-beta2
 pkgver=${_pkgver//-/_}
-pkgrel=3
+pkgrel=4
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -38,7 +38,7 @@
 -DENABLE_KFILEMETADATASUPPORT=ON \
 -DENABLE_MEDIAPLAYER=ON \
 -DENABLE_AKONADICONTACTSUPPORT=ON \
--DDIGIKAMSC_CHECKOUT_PO=ON \
+-DENABLE_MYSQLSUPPORT=ON \
 -DCMAKE_C_COMPILER=clang # Fix error: C++ style comments are not allowed 
in ISO C90
   make
 }


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

2015-12-09 Thread Antonio Rojas
Date: Wednesday, December 9, 2015 @ 12:04:00
  Author: arojas
Revision: 255001

C++11 ABI rebuild

Modified:
  digikam/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-09 10:38:23 UTC (rev 255000)
+++ PKGBUILD2015-12-09 11:04:00 UTC (rev 255001)
@@ -7,7 +7,7 @@
 pkgname=('digikam' 'kipi-plugins')
 _pkgver=5.0.0-beta2
 pkgver=${_pkgver//-/_}
-pkgrel=2
+pkgrel=3
 pkgdesc="Digital photo management application for KDE"
 arch=('i686' 'x86_64')
 license=('GPL')


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

2015-12-04 Thread Antonio Rojas
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
===
--- PKGBUILD2015-12-04 06:23:44 UTC (rev 252343)
+++ PKGBUILD2015-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'