summaryrefslogtreecommitdiff
path: root/libre/kipi-plugins/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-08 18:27:47 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-08 23:30:49 -0300
commitbc552b6863301fc4c1f2d672b6d35e1c0d2cdce0 (patch)
tree6c081072ea3a57e62c82cec5f7407e8b4ea454d6 /libre/kipi-plugins/PKGBUILD
parentfe29eaae18c9eb318b394f7259827bb2fdcb3824 (diff)
kipi-plugins-5.0.0-1.parabola1{,.nonprism1}: updating version
Diffstat (limited to 'libre/kipi-plugins/PKGBUILD')
-rw-r--r--libre/kipi-plugins/PKGBUILD85
1 files changed, 42 insertions, 43 deletions
diff --git a/libre/kipi-plugins/PKGBUILD b/libre/kipi-plugins/PKGBUILD
index e2c8e34cb..c78e37762 100644
--- a/libre/kipi-plugins/PKGBUILD
+++ b/libre/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 <ronald@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
@@ -7,68 +7,67 @@
pkgbase=digikam
pkgname=kipi-plugins
-pkgver=4.14.0
-pkgrel=7.parabola1
-pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree jAlbum and SimpleViewer support"
+_pkgver=5.0.0
+pkgver=${_pkgver//-/_}
+pkgrel=1.parabola1
+pkgdesc="Digital photo management application for KDE"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
url="http://www.digikam.org/"
replaces=("${pkgname}-libre")
conflicts=("${pkgname}-libre")
-makedepends=('kdepimlibs4' 'libkexiv2_4' 'libkdcraw4' 'libkipi4' 'libksane4' 'liblqr'
- 'opencv' 'boost' 'libgpod' 'libkvkontakte' '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'
- 'libkvkontakte: VKontakte.ru Exporter 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' 'libkvkontakte' 'kqoauth')
+source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${_pkgver}.tar.xz"
+ "libre.patch")
+sha1sums=('e0dec2eba9ab3a51d632b69b3dd6daf8dca64a45'
+ 'ed2a01c4a837b50d3c1ad0d4758f2fa3bb44402f')
prepare() {
- cd ${srcdir}/${pkgbase}-${pkgver}
+ mkdir -p build
- sed -i '\|flashexport|d
- \|jalbumexport|d
- ' extra/kipi-plugins/CMakeLists.txt
+# 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
}
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 \
-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"
+ depends=('kio' 'libkipi')
+ optdepends=('libmediawiki: MediaWiki Export plugin'
+ 'libkvkontakte: VKontakte.ru Exporter plugin'
+ 'kqoauth: OAuth authentication for imgur')
- 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
}