summaryrefslogtreecommitdiff
path: root/extra/digikam/PKGBUILD
blob: 0fc581317bfd9772922e48552f667b30e9aa69c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 112844 2011-03-07 07:38:30Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=digikam
pkgver=1.9.0
pkgrel=1
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)

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
}

package() {
  cd ${srcdir}/build
  make DESTDIR="${pkgdir}" install
}
md5sums=('08934e97b63e8b1981f4087ec1a3372e')