summaryrefslogtreecommitdiff
path: root/extra/kipi-plugins/PKGBUILD
blob: 890acb1a7aa98261b46a53b44e4678de2001d3b2 (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 112839 2011-03-07 07:34:56Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=kipi-plugins
pkgver=1.9.0
pkgrel=1
pkgdesc="libkipi plugins for digikam and kde apps"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.kipi-plugins.org"
makedepends=('pkgconfig' 'cmake' 'automoc4' 'libgpod' 'opencv' 'qjson')
depends=('kdegraphics-libs' 'kdepimlibs')
source=("http://downloads.sourceforge.net/kipi/$pkgname-$pkgver.tar.bz2")
optdepends=('imagemagick: for picture manipulation'
            'qca: for shwup webservice support'
            'libgpod: send images to ipod'
            'opencv: red eye removal plugin'
            'hugin: for expoblending plugin'
            'qjson: for debianscreenshots plugin')
install=${pkgname}.install

build() {
  cd $srcdir
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_SKIP_RPATH=ON
  make
}

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