From bc552b6863301fc4c1f2d672b6d35e1c0d2cdce0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 8 Jul 2016 18:27:47 -0300 Subject: kipi-plugins-5.0.0-1.parabola1{,.nonprism1}: updating version --- nonprism/kipi-plugins/PKGBUILD | 107 +++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 64 deletions(-) (limited to 'nonprism/kipi-plugins/PKGBUILD') diff --git a/nonprism/kipi-plugins/PKGBUILD b/nonprism/kipi-plugins/PKGBUILD index 0902ade31..6b45e6372 100644 --- a/nonprism/kipi-plugins/PKGBUILD +++ b/nonprism/kipi-plugins/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 266879 2016-05-04 19:52:28Z arojas $ +# $Id: PKGBUILD 271080 2016-07-06 10:08:49Z arojas $ # Maintainer (Arch): Ronald van Haren # Contributor (Arch): Andrea Scarpino # Contributor (Arch): Tobias Powalowski @@ -7,90 +7,69 @@ pkgbase=digikam pkgname=kipi-plugins -pkgver=4.14.0 -pkgrel=7.parabola1.nonprism1 -pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree jAlbum and SimpleViewer support and support for unsafe and dangerous for privacy protocols" +_pkgver=5.0.0 +pkgver=${_pkgver//-/_} +pkgrel=1.parabola1.nonprism1 +pkgdesc="Digital photo management application for KDE" arch=('i686' 'x86_64' 'armv7h') license=('GPL') url="http://www.digikam.org/" replaces=("${pkgname}-libre" "${pkgname}-libre-nonprism") conflicts=("${pkgname}-libre" "${pkgname}-libre-nonprism") -makedepends=('kdepimlibs4' 'libkexiv2_4' 'libkdcraw4' 'libkipi4' 'libksane4' 'liblqr' - 'opencv' 'boost' 'libgpod' 'hugin' 'libgphoto2' - 'cmake' 'automoc4' 'doxygen' 'lensfun' 'imagemagick' 'eigen' - 'libbaloo4' 'libpgf' 'libusb-compat' 'libkface4' 'libkgeomap4' 'libmediawiki') -depends=('kdebase-runtime' 'kdepimlibs4' 'libkdcraw4' 'libkipi4' 'libksane4' 'libkexiv2_4') -optdepends=('libkgeomap4: Geolocalize tool' - 'libmediawiki: MediaWiki Export plugin' - 'libgpod: iPodExport plugin' - 'opencv: Remove Red Eyes plugin' - 'imagemagick: Video SlideShow plugin' - 'hugin: panorama tools') -options=('staticlibs') -source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2" - lensfun-0.3.2.patch::"https://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=0f15998&o=plain") -sha1sums=('08bbded5433e442dce8ac00eb301606ef0924e8c' - 'b2e262ea5060ad5ffd7d92d41a9badcea6e6c299') +makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost' + 'opencv' 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 'kdesignerplugin' + 'kfilemetadata' 'akonadi-contact' 'qt5-multimedia' 'threadweaver' 'kcalcore' + 'knotifyconfig' 'libmediawiki' 'kqoauth') +source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${_pkgver}.tar.xz" + "libre.patch" + "nonprism.patch") +sha1sums=('e0dec2eba9ab3a51d632b69b3dd6daf8dca64a45' + 'ed2a01c4a837b50d3c1ad0d4758f2fa3bb44402f' + 'b6dfd32aa127a858d7df84ed5c821f9f0bb3bc72') prepare() { - cd ${srcdir}/${pkgbase}-${pkgver} + mkdir -p build - sed -i '\|flashexport|d - \|jalbumexport|d - \|imageshackexport|d - s| Facebook, and Imgur|| - \|QtKOAuth|d - \|Imgur|d - \|imgurexport|d - \|check the libkvkontakte version|,+18 d - \|vkontakte|,+1 d - \|LIBKVKONTAKTE|d - s| and YandexFotki|| - \|YandexFotki|d - \|yandexfotki|d - \|DlnaExport|d - \|dlnaexport|d - \|Facebook|d - \|facebook|d - \|flickrexport|d - \|picasawebexport|d - ' extra/kipi-plugins/CMakeLists.txt - sed -i '\|m_actionExport| s|true|false| - ' extra/kipi-plugins/smug/plugin_smug.cpp - sed -i '\|Remote Flickr Export plugin|,+2 d - \|flickrexport|d - ' doc/kipi-plugins/index.docbook +# Build fails + sed -e '/add_subdirectory(showfoto)/d' -i ${pkgbase}-${_pkgver}/doc-translated/digikam/CMakeLists.txt -# Fix build with lensfun 0.3.2 - cd core - patch -p1 -i "$srcdir"/lensfun-0.3.2.patch + cd ${pkgbase}-${_pkgver} + patch -p1 -i ../libre.patch + patch -p1 -i ../nonprism.patch } build() { - mkdir build cd build - cmake ../${pkgbase}-${pkgver} \ + + cmake ../${pkgbase}-${_pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ - -DBUILD_tests=OFF \ + -DBUILD_TESTING=OFF \ + -DENABLE_KFILEMETADATASUPPORT=ON \ + -DENABLE_MEDIAPLAYER=ON \ + -DENABLE_AKONADICONTACTSUPPORT=ON \ + -DENABLE_MYSQLSUPPORT=ON \ -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \ -DENABLE_OPENCV3=ON make } -package() { - cd build/extra/kipi-plugins - make DESTDIR="${pkgdir}" install +package_kipi-plugins() { + pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree suggestions and support for unsafe and dangerous for privacy protocols" + depends=('kio' 'libkipi') + optdepends=('libmediawiki: MediaWiki Export plugin') - cd ../../../build/po - make DESTDIR="${pkgdir}" install - # Put these in the relevant splitted packages - #rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkgeomap.mo - rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/digikam.mo - # Fix conflicts with kde-l10n-* (FS#33762) - rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkipi.mo + cd build/extra + 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/doc/kipi-plugins - make DESTDIR="${pkgdir}" install +# Provided by digikam + rm "$pkgdir"/usr/share/locale/*/LC_MESSAGES/digikam.mo } -- cgit v1.2.3