summaryrefslogtreecommitdiff
path: root/extra/digikam
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-03 13:36:36 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-03 13:36:36 -0300
commit8c1cd392b43a7018099ce64f9359b76c2de14640 (patch)
treeb3c0d54454025b6bc478768a07b9cf7bdcca2289 /extra/digikam
parent5a01c45ea1ee67df43e376e2e4aa1833edd2ff30 (diff)
parent991d38faccf4e1fb27f31f236ad58ee840103734 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/apvlv/PKGBUILD community/i3-wm/PKGBUILD community/jack2/PKGBUILD community/perl-list-moreutils/PKGBUILD community/qc-usb-messenger/PKGBUILD community/sword/PKGBUILD community/virtualbox/PKGBUILD community/vuze/PKGBUILD extra/archboot/PKGBUILD extra/ardour/PKGBUILD extra/boost/PKGBUILD extra/digikam/PKGBUILD extra/jack/PKGBUILD extra/kdebase-konsole/PKGBUILD extra/kdebase-runtime/PKGBUILD extra/kdebindings-kimono/PKGBUILD extra/kdebindings-korundum/PKGBUILD extra/kdebindings-kross/PKGBUILD extra/kdebindings-perlkde/PKGBUILD extra/kdebindings-perlqt/PKGBUILD extra/kdebindings-python/PKGBUILD extra/kdebindings-qtruby/PKGBUILD extra/kdebindings-qyoto/PKGBUILD extra/kdebindings-smokegen/PKGBUILD extra/kdebindings-smokekde/PKGBUILD extra/kdebindings-smokeqt/PKGBUILD extra/kdebindings/PKGBUILD extra/kdeedu-blinken/PKGBUILD extra/kdeedu-blinken/kdeedu-blinken.install extra/kdeedu-cantor/PKGBUILD extra/kdeedu-cantor/kdeedu-cantor.install extra/kdeedu-kalgebra/PKGBUILD extra/kdeedu-kalgebra/kdeedu-kalgebra.install extra/kdeedu-kalzium/PKGBUILD extra/kdeedu-kalzium/kdeedu-kalzium.install extra/kdeedu-kanagram/PKGBUILD extra/kdeedu-kanagram/kdeedu-kanagram.install extra/kdeedu-kbruch/PKGBUILD extra/kdeedu-kbruch/kdeedu-kbruch.install extra/kdeedu-kgeography/PKGBUILD extra/kdeedu-kgeography/kdeedu-kgeography.install extra/kdeedu-khangman/PKGBUILD extra/kdeedu-khangman/kdeedu-khangman.install extra/kdeedu-kig/PKGBUILD extra/kdeedu-kig/kdeedu-kig.install extra/kdeedu-kiten/PKGBUILD extra/kdeedu-kiten/kdeedu-kiten.install extra/kdeedu-klettres/PKGBUILD extra/kdeedu-klettres/kdeedu-klettres.install extra/kdeedu-kmplot/PKGBUILD extra/kdeedu-kmplot/kdeedu-kmplot.install extra/kdeedu-kstars/PKGBUILD extra/kdeedu-kstars/kdeedu-kstars.install extra/kdeedu-ktouch/PKGBUILD extra/kdeedu-ktouch/kdeedu-ktouch.install extra/kdeedu-kturtle/PKGBUILD extra/kdeedu-kturtle/kdeedu-kturtle.install extra/kdeedu-kwordquiz/PKGBUILD extra/kdeedu-kwordquiz/kdeedu-kwordquiz.install extra/kdeedu-marble/PKGBUILD extra/kdeedu-marble/gpsd-2.96.patch extra/kdeedu-marble/kdeedu-marble.install extra/kdeedu-parley/PKGBUILD extra/kdeedu-parley/kdeedu-parley.install extra/kdeedu-rocs/PKGBUILD extra/kdeedu-step/PKGBUILD extra/kdeedu-step/kdeedu-step.install extra/kdegraphics-gwenview/PKGBUILD extra/kdegraphics-gwenview/kdegraphics-gwenview.install extra/kdegraphics-kamera/PKGBUILD extra/kdegraphics-kcolorchooser/PKGBUILD extra/kdegraphics-kcolorchooser/kdegraphics-kcolorchooser.install extra/kdegraphics-kgamma/PKGBUILD extra/kdegraphics-kolourpaint/PKGBUILD extra/kdegraphics-kolourpaint/kdegraphics-kolourpaint.install extra/kdegraphics-kruler/PKGBUILD extra/kdegraphics-kruler/kdegraphics-kruler.install extra/kdegraphics-ksaneplugin/PKGBUILD extra/kdegraphics-ksnapshot/PKGBUILD extra/kdegraphics-ksnapshot/kdegraphics-ksnapshot.install extra/kdegraphics-okular/PKGBUILD extra/kdegraphics-okular/kdegraphics-okular.install extra/kdegraphics-strigi-analyzer/PKGBUILD extra/kdegraphics-svgpart/PKGBUILD extra/kdegraphics-thumbnailers/PKGBUILD extra/kdegraphics/PKGBUILD extra/kdelibs/PKGBUILD extra/kdemultimedia/PKGBUILD extra/kdepim-runtime/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/kdesdk-kate/PKGBUILD extra/kdesdk-kate/kdebase-kwrite.install extra/kdesdk-kate/kdesdk-kate.install extra/kdesdk-kate/pkgbuild-syntax-highlight.patch extra/kdeutils/PKGBUILD extra/kipi-plugins/PKGBUILD extra/koffice/PKGBUILD extra/konq-plugins/PKGBUILD extra/libkdcraw/PKGBUILD extra/libkdcraw/libkdcraw.install extra/libkdeedu/PKGBUILD extra/libkdeedu/libkdeedu.install extra/libkexiv2/PKGBUILD extra/libkipi/PKGBUILD extra/libkipi/libkipi.install extra/libksane/PKGBUILD extra/libksane/libksane.install extra/liblrdf/PKGBUILD extra/maxima/PKGBUILD extra/mysql/PKGBUILD extra/partitionmanager/PKGBUILD extra/pygobject/PKGBUILD extra/samba/PKGBUILD extra/sbcl/PKGBUILD extra/texlive-bin/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-freetype2/PKGBUILD multilib/lib32-jack/PKGBUILD multilib/lib32-libsndfile/PKGBUILD testing/mesa/PKGBUILD ~fauno/notmuch/PKGBUILD
Diffstat (limited to 'extra/digikam')
-rw-r--r--extra/digikam/PKGBUILD103
-rw-r--r--extra/digikam/digikam.install1
-rw-r--r--extra/digikam/kipi-plugins.install12
3 files changed, 88 insertions, 28 deletions
diff --git a/extra/digikam/PKGBUILD b/extra/digikam/PKGBUILD
index 0fc581317..e40f2c6c3 100644
--- a/extra/digikam/PKGBUILD
+++ b/extra/digikam/PKGBUILD
@@ -1,37 +1,84 @@
-# $Id: PKGBUILD 112844 2011-03-07 07:38:30Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# $Id: PKGBUILD 134112 2011-08-01 17:31:36Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=digikam
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="Digital photo management application for kde"
+pkgbase=digikam
+pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libmediawiki')
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Digital photo management application for KDE"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
-url="http://digikam.sourceforge.net"
-depends=('kdebase-runtime' 'kdegraphics-libs' 'kdepimlibs' 'kdeedu-marble' 'liblqr')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'doxygen')
-replaces=('digikamimageplugins')
-install=digikam.install
-optdepends=('kipi-plugins: for more extras and plugins')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+url="http://www.digikam.org/"
+makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr'
+ 'kdeedu-marble' 'opencv' 'boost' 'libgpod' 'qjson' 'hugin'
+ 'cmake' 'automoc4' 'doxygen')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('7b1ab69fc2fb36a45dc3ca38b01d42d8')
build() {
- cd ${srcdir}
- mkdir build
- cd build
- # use internel lensfun packages
- cmake ../${pkgname}-${pkgver} \
- -DLENSFUN_LIBRARY="" \
- -DLENSFUN_INCLUDE_DIR="" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_MARBLEWIDGET=yes \
- -DWITH_MarbleWidget=yes \
- -DCMAKE_SKIP_RPATH=ON
- make all
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ # Use internal lensfun (FS#21816)
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DLENSFUN_LIBRARY="" \
+ -DLENSFUN_INCLUDE_DIR=""
+ make
}
-package() {
- cd ${srcdir}/build
+package_digikam() {
+ pkgdesc="Digital photo management application for KDE"
+ depends=('kdebase-runtime' 'kdepimlibs' 'libgphoto2' 'opencv' 'liblqr'
+ 'libkipi' 'libkexiv2' 'libkdcraw' 'libkface' 'libkgeomap')
+ optdepends=('kipi-plugins: for more extras and plugins')
+ install=digikam.install
+
+ cd "${srcdir}"/build/core
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/doc
+ make DESTDIR="${pkgdir}" install
+ cd "${srcdir}"/build/po
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libkface() {
+ pkgdesc="A Qt/C++ wrapper around LibFace library to perform face recognition and detection over pictures"
+ depends=('kdelibs' 'opencv')
+
+ cd "${srcdir}"/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' 'libkexiv2')
+
+ cd "${srcdir}"/build/extra/libkgeomap
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmediawiki() {
+ pkgdesc="A KDE C++ interface for MediaWiki based web service as wikipedia.org"
+ depends=('kdelibs')
+
+ cd "${srcdir}"/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'
+ 'opencv' 'qjson')
+ optdepends=('libkgeomap'
+ 'libmediawiki'
+ 'libgpod'
+ 'hugin')
+ install=kipi-plugins.install
+
+ cd "${srcdir}"/build/extra/kipi-plugins
make DESTDIR="${pkgdir}" install
}
-md5sums=('08934e97b63e8b1981f4087ec1a3372e')
diff --git a/extra/digikam/digikam.install b/extra/digikam/digikam.install
index e70c054ec..81ce5c4b0 100644
--- a/extra/digikam/digikam.install
+++ b/extra/digikam/digikam.install
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
diff --git a/extra/digikam/kipi-plugins.install b/extra/digikam/kipi-plugins.install
new file mode 100644
index 000000000..81ce5c4b0
--- /dev/null
+++ b/extra/digikam/kipi-plugins.install
@@ -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
+}