[arch-commits] Commit in digikam/trunk (PKGBUILD digikam.install kipi-plugins.install)
Andrea Scarpino
andrea at archlinux.org
Sat Jul 30 19:36:36 UTC 2011
Date: Saturday, July 30, 2011 @ 15:36:36
Author: andrea
Revision: 133942
Prepare 2.0.0
Added:
digikam/trunk/kipi-plugins.install
Modified:
digikam/trunk/PKGBUILD
digikam/trunk/digikam.install
----------------------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++++++++-------------
digikam.install | 1
kipi-plugins.install | 12 ++++++++
3 files changed, 65 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-07-30 19:23:46 UTC (rev 133941)
+++ PKGBUILD 2011-07-30 19:36:36 UTC (rev 133942)
@@ -1,35 +1,70 @@
# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-pkgname=digikam
-pkgver=1.9.0
-pkgrel=2
+pkgbase=digikam
+pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libmediawiki')
+pkgver=2.0.0
+pkgrel=1
pkgdesc="Digital photo management application for KDE"
arch=('i686' 'x86_64')
license=('GPL')
-url="http://digikam.sourceforge.net"
-depends=('kdebase-runtime' 'kdepimlibs' 'liblqr' 'libkexiv2' 'libkipi' 'libkdcraw')
-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'
+ 'lensfun' 'kdeedu-marble' 'opencv' 'boost' '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 \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON
- make all
+ make
}
-package() {
+package_digikam() {
+ pkgdesc="Digital photo management application for KDE"
+ depends=('kdebase-runtime' 'kdepimlibs' 'libkface' 'libkgeomap' 'libmediawiki')
+ install=digikam.install
+
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
-md5sums=('08934e97b63e8b1981f4087ec1a3372e')
+
+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'
+ 'libkgeomap' 'opencv')
+ install=kipi-plugins.install
+
+ cd "${srcdir}"/build/extra/kipi-plugins
+ make DESTDIR="${pkgdir}" install
+}
Modified: digikam.install
===================================================================
--- digikam.install 2011-07-30 19:23:46 UTC (rev 133941)
+++ digikam.install 2011-07-30 19:36:36 UTC (rev 133942)
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
Added: kipi-plugins.install
===================================================================
--- kipi-plugins.install (rev 0)
+++ kipi-plugins.install 2011-07-30 19:36:36 UTC (rev 133942)
@@ -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
+}
More information about the arch-commits
mailing list