[arch-commits] Commit in digikam/repos (10 files)
Jan de Groot
jgc at archlinux.org
Wed Dec 24 13:30:25 UTC 2014
Date: Wednesday, December 24, 2014 @ 14:30:25
Author: jgc
Revision: 228006
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
digikam/repos/staging-i686/
digikam/repos/staging-i686/PKGBUILD
(from rev 228005, digikam/trunk/PKGBUILD)
digikam/repos/staging-i686/digikam.install
(from rev 228005, digikam/trunk/digikam.install)
digikam/repos/staging-i686/kipi-plugins.install
(from rev 228005, digikam/trunk/kipi-plugins.install)
digikam/repos/staging-i686/libkexiv2.patch
(from rev 228005, digikam/trunk/libkexiv2.patch)
digikam/repos/staging-x86_64/
digikam/repos/staging-x86_64/PKGBUILD
(from rev 228005, digikam/trunk/PKGBUILD)
digikam/repos/staging-x86_64/digikam.install
(from rev 228005, digikam/trunk/digikam.install)
digikam/repos/staging-x86_64/kipi-plugins.install
(from rev 228005, digikam/trunk/kipi-plugins.install)
digikam/repos/staging-x86_64/libkexiv2.patch
(from rev 228005, digikam/trunk/libkexiv2.patch)
-------------------------------------+
staging-i686/PKGBUILD | 126 ++++++++++++++++++++++++++++++++++
staging-i686/digikam.install | 12 +++
staging-i686/kipi-plugins.install | 12 +++
staging-i686/libkexiv2.patch | 10 ++
staging-x86_64/PKGBUILD | 126 ++++++++++++++++++++++++++++++++++
staging-x86_64/digikam.install | 12 +++
staging-x86_64/kipi-plugins.install | 12 +++
staging-x86_64/libkexiv2.patch | 10 ++
8 files changed, 320 insertions(+)
Copied: digikam/repos/staging-i686/PKGBUILD (from rev 228005, digikam/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,126 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgbase=digikam
+pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libkvkontakte' 'libmediawiki')
+pkgver=4.5.0
+pkgrel=4
+pkgdesc="Digital photo management application for KDE"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.digikam.org/"
+makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr'
+ 'kdeedu-marble' 'opencv' 'boost' 'libgpod' 'qjson' 'hugin' 'libgphoto2'
+ 'cmake' 'automoc4' 'doxygen' 'lensfun' 'qt-gstreamer' 'imagemagick' 'eigen'
+ 'libbaloo4' 'libpgf' 'libusb-compat')
+source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ "libkexiv2.patch")
+sha1sums=('ba735f4b7bb0437c1676141ab78ea958e46f135e'
+ '1bcef459bd400a04526aac9adf39d4d0a1c3549c')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np0 -i "${srcdir}/libkexiv2.patch"
+}
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_tests=OFF \
+ -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=OFF \
+ -DDIGIKAMSC_USE_PRIVATE_SHAREDLIBS=ON
+ make
+}
+
+package_digikam() {
+ pkgdesc="Digital photo management application for KDE"
+ depends=('kdebase-runtime' 'kdepimlibs' 'libgphoto2' 'opencv' 'liblqr'
+ 'libkipi' 'libkexiv2' 'libkdcraw' 'libkface' 'libkgeomap' 'lensfun'
+ 'libpgf' 'libbaloo4')
+ optdepends=('kipi-plugins: more tools and plugins' 'kdebase-workspace: Theme configuration dialog')
+ install=digikam.install
+
+ cd build/core
+ make DESTDIR="${pkgdir}" install
+ cd ../../build/doc
+ make DESTDIR="${pkgdir}" install
+ cd ../../build/po
+ make DESTDIR="${pkgdir}" install
+
+ # Put these in the relevant splitted packages
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/kipiplugin*.mo
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkgeomap*.mo
+ # Fix conflicts with kde-l10n-* (FS#33762)
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkipi.mo
+}
+
+package_libkface() {
+ pkgdesc="A Qt/C++ wrapper around LibFace library to perform face recognition and detection over pictures"
+ depends=('kdelibs' 'opencv')
+
+ cd build/extra/libkface
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libkgeomap() {
+ pkgdesc="A wrapper around world map components for browsing and arranging photos on a map"
+ depends=('kdelibs' 'kdeedu-marble')
+
+ cd build/extra/libkgeomap
+ make DESTDIR="${pkgdir}" install
+
+ cd ../../../build/po
+ make DESTDIR="${pkgdir}" install
+ # Put these in the relevant splitted packages
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/kipiplugin*.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
+}
+
+package_libkvkontakte() {
+ pkgdesc="KDE C++ library for asynchronous interaction with vkontakte.rusocial network"
+ depends=('kdelibs' 'qjson')
+
+ cd build/extra/libkvkontakte
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmediawiki() {
+ pkgdesc="A KDE C++ interface for MediaWiki based web service as wikipedia.org"
+ depends=('kdelibs')
+
+ cd build/extra/libmediawiki
+ make DESTDIR="${pkgdir}" install
+}
+
+package_kipi-plugins() {
+ pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam"
+ depends=('kdebase-runtime' 'kdepimlibs' 'libkdcraw' 'libkipi' 'libksane' 'libkexiv2')
+ optdepends=('libkgeomap: Geolocalize tool'
+ 'libmediawiki: MediaWiki Export plugin'
+ 'libkvkontakte: VKontakte.ru Exporter plugin'
+ 'libgpod: iPodExport plugin'
+ 'opencv: Remove Red Eyes plugin'
+ 'imagemagick: Video SlideShow plugin'
+ 'qt-gstreamer: Video SlideShow plugin')
+ options=('staticlibs')
+ install=kipi-plugins.install
+
+ cd build/extra/kipi-plugins
+ make DESTDIR="${pkgdir}" install
+
+ 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
+}
Copied: digikam/repos/staging-i686/digikam.install (from rev 228005, digikam/trunk/digikam.install)
===================================================================
--- staging-i686/digikam.install (rev 0)
+++ staging-i686/digikam.install 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: digikam/repos/staging-i686/kipi-plugins.install (from rev 228005, digikam/trunk/kipi-plugins.install)
===================================================================
--- staging-i686/kipi-plugins.install (rev 0)
+++ staging-i686/kipi-plugins.install 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: digikam/repos/staging-i686/libkexiv2.patch (from rev 228005, digikam/trunk/libkexiv2.patch)
===================================================================
--- staging-i686/libkexiv2.patch (rev 0)
+++ staging-i686/libkexiv2.patch 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,10 @@
+--- extra/CMakeLists.txt.bak 2014-11-14 20:46:49.265601687 +0100
++++ extra/CMakeLists.txt 2014-11-14 20:46:55.555823691 +0100
+@@ -11,7 +11,6 @@
+
+ # from kdegraphics/libs
+ add_subdirectory(libkipi)
+- add_subdirectory(libkexiv2)
+ add_subdirectory(libkdcraw)
+ add_subdirectory(libkface)
+ MACRO_OPTIONAL_ADD_SUBDIRECTORY(libksane)
Copied: digikam/repos/staging-x86_64/PKGBUILD (from rev 228005, digikam/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,126 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgbase=digikam
+pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libkvkontakte' 'libmediawiki')
+pkgver=4.5.0
+pkgrel=4
+pkgdesc="Digital photo management application for KDE"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.digikam.org/"
+makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr'
+ 'kdeedu-marble' 'opencv' 'boost' 'libgpod' 'qjson' 'hugin' 'libgphoto2'
+ 'cmake' 'automoc4' 'doxygen' 'lensfun' 'qt-gstreamer' 'imagemagick' 'eigen'
+ 'libbaloo4' 'libpgf' 'libusb-compat')
+source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ "libkexiv2.patch")
+sha1sums=('ba735f4b7bb0437c1676141ab78ea958e46f135e'
+ '1bcef459bd400a04526aac9adf39d4d0a1c3549c')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np0 -i "${srcdir}/libkexiv2.patch"
+}
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_tests=OFF \
+ -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=OFF \
+ -DDIGIKAMSC_USE_PRIVATE_SHAREDLIBS=ON
+ make
+}
+
+package_digikam() {
+ pkgdesc="Digital photo management application for KDE"
+ depends=('kdebase-runtime' 'kdepimlibs' 'libgphoto2' 'opencv' 'liblqr'
+ 'libkipi' 'libkexiv2' 'libkdcraw' 'libkface' 'libkgeomap' 'lensfun'
+ 'libpgf' 'libbaloo4')
+ optdepends=('kipi-plugins: more tools and plugins' 'kdebase-workspace: Theme configuration dialog')
+ install=digikam.install
+
+ cd build/core
+ make DESTDIR="${pkgdir}" install
+ cd ../../build/doc
+ make DESTDIR="${pkgdir}" install
+ cd ../../build/po
+ make DESTDIR="${pkgdir}" install
+
+ # Put these in the relevant splitted packages
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/kipiplugin*.mo
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkgeomap*.mo
+ # Fix conflicts with kde-l10n-* (FS#33762)
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkipi.mo
+}
+
+package_libkface() {
+ pkgdesc="A Qt/C++ wrapper around LibFace library to perform face recognition and detection over pictures"
+ depends=('kdelibs' 'opencv')
+
+ cd build/extra/libkface
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libkgeomap() {
+ pkgdesc="A wrapper around world map components for browsing and arranging photos on a map"
+ depends=('kdelibs' 'kdeedu-marble')
+
+ cd build/extra/libkgeomap
+ make DESTDIR="${pkgdir}" install
+
+ cd ../../../build/po
+ make DESTDIR="${pkgdir}" install
+ # Put these in the relevant splitted packages
+ rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/kipiplugin*.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
+}
+
+package_libkvkontakte() {
+ pkgdesc="KDE C++ library for asynchronous interaction with vkontakte.rusocial network"
+ depends=('kdelibs' 'qjson')
+
+ cd build/extra/libkvkontakte
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmediawiki() {
+ pkgdesc="A KDE C++ interface for MediaWiki based web service as wikipedia.org"
+ depends=('kdelibs')
+
+ cd build/extra/libmediawiki
+ make DESTDIR="${pkgdir}" install
+}
+
+package_kipi-plugins() {
+ pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam"
+ depends=('kdebase-runtime' 'kdepimlibs' 'libkdcraw' 'libkipi' 'libksane' 'libkexiv2')
+ optdepends=('libkgeomap: Geolocalize tool'
+ 'libmediawiki: MediaWiki Export plugin'
+ 'libkvkontakte: VKontakte.ru Exporter plugin'
+ 'libgpod: iPodExport plugin'
+ 'opencv: Remove Red Eyes plugin'
+ 'imagemagick: Video SlideShow plugin'
+ 'qt-gstreamer: Video SlideShow plugin')
+ options=('staticlibs')
+ install=kipi-plugins.install
+
+ cd build/extra/kipi-plugins
+ make DESTDIR="${pkgdir}" install
+
+ 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
+}
Copied: digikam/repos/staging-x86_64/digikam.install (from rev 228005, digikam/trunk/digikam.install)
===================================================================
--- staging-x86_64/digikam.install (rev 0)
+++ staging-x86_64/digikam.install 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: digikam/repos/staging-x86_64/kipi-plugins.install (from rev 228005, digikam/trunk/kipi-plugins.install)
===================================================================
--- staging-x86_64/kipi-plugins.install (rev 0)
+++ staging-x86_64/kipi-plugins.install 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: digikam/repos/staging-x86_64/libkexiv2.patch (from rev 228005, digikam/trunk/libkexiv2.patch)
===================================================================
--- staging-x86_64/libkexiv2.patch (rev 0)
+++ staging-x86_64/libkexiv2.patch 2014-12-24 13:30:25 UTC (rev 228006)
@@ -0,0 +1,10 @@
+--- extra/CMakeLists.txt.bak 2014-11-14 20:46:49.265601687 +0100
++++ extra/CMakeLists.txt 2014-11-14 20:46:55.555823691 +0100
+@@ -11,7 +11,6 @@
+
+ # from kdegraphics/libs
+ add_subdirectory(libkipi)
+- add_subdirectory(libkexiv2)
+ add_subdirectory(libkdcraw)
+ add_subdirectory(libkface)
+ MACRO_OPTIONAL_ADD_SUBDIRECTORY(libksane)
More information about the arch-commits
mailing list