[arch-commits] Commit in digikam (kde-unstable trunk trunk trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jul 5 11:51:57 UTC 2016
Date: Tuesday, July 5, 2016 @ 11:51:57
Author: arojas
Revision: 270957
Update to 5.0.0
Added:
digikam/trunk/
Modified:
digikam/trunk/PKGBUILD
Deleted:
digikam/kde-unstable/
digikam/trunk/
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++--------------------
1 file changed, 32 insertions(+), 20 deletions(-)
Modified: trunk/PKGBUILD
===================================================================
--- kde-unstable/PKGBUILD 2016-07-05 10:46:26 UTC (rev 270956)
+++ trunk/PKGBUILD 2016-07-05 11:51:57 UTC (rev 270957)
@@ -5,7 +5,7 @@
pkgbase=digikam
pkgname=('digikam' 'kipi-plugins')
-_pkgver=5.0.0-beta7
+_pkgver=5.0.0
pkgver=${_pkgver//-/_}
pkgrel=1
pkgdesc="Digital photo management application for KDE"
@@ -13,14 +13,17 @@
license=('GPL')
url="http://www.digikam.org/"
makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost' 'grantlee-qt5'
- '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.xz")
-sha1sums=('133ed06a3768c1f4d22967f9c28dc6d4488cd2c3')
+ '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' 'kqoauth')
+source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz")
+sha1sums=('e0dec2eba9ab3a51d632b69b3dd6daf8dca64a45')
prepare() {
mkdir -p build
+
+# Build fails
+ sed -e '/add_subdirectory(showfoto)/d' -i $pkgname-${_pkgver}/doc-translated/digikam/CMakeLists.txt
}
build() {
@@ -47,31 +50,40 @@
optdepends=('kipi-plugins: more tools and plugins')
cd build/core
- make DESTDIR="${pkgdir}" install
-# cd ../../build/doc/digikam/digikam
-# make DESTDIR="${pkgdir}" install
-# cd ../../../../build/po
-# make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
+ cd $srcdir/build/doc/digikam
+ make DESTDIR="$pkgdir" install
+ cd $srcdir/build/doc-translated/digikam
+ make DESTDIR="$pkgdir" install
+ cd $srcdir/build/po
+ make DESTDIR="$pkgdir" install
+
+# Provided by kipi-plugins
+ rm "$pkgdir"/usr/share/locale/*/LC_MESSAGES/{kipiplugin*,libkvkontakte}.mo
}
package_kipi-plugins() {
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'
+ optdepends=('libmediawiki: MediaWiki Export plugin'
+ 'libkvkontakte: VKontakte.ru Exporter plugin'
'libgpod: iPodExport plugin'
'opencv: Remove Red Eyes plugin'
'imagemagick: Video SlideShow plugin'
'qt5-gstreamer: Video SlideShow plugin'
'threadweaver: panorama plugin'
- 'hugin: panorama plugin')
+ 'hugin: panorama plugin'
+ 'kqoauth: OAuth authentication for imgur')
cd build/extra
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
+ cd $srcdir/build/doc/kipi-plugins
+ make DESTDIR="$pkgdir" install
+ cd $srcdir/build/doc-translated/kipi-plugins
+ make DESTDIR="pkgdir" install
+ cd $srcdir/build/po
+ make DESTDIR="$pkgdir" install
-# cd ../../../build/po
-# make DESTDIR="${pkgdir}" install
-
-# cd ../../../build/doc/kipi-plugins
-# make DESTDIR="${pkgdir}" install
+# Provided by digikam
+ rm "$pkgdir"/usr/share/locale/*/LC_MESSAGES/digikam.mo
}
More information about the arch-commits
mailing list