summaryrefslogtreecommitdiff
path: root/extra/kipi-plugins
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/kipi-plugins
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/kipi-plugins')
-rw-r--r--extra/kipi-plugins/PKGBUILD37
-rw-r--r--extra/kipi-plugins/kipi-plugins.install11
2 files changed, 48 insertions, 0 deletions
diff --git a/extra/kipi-plugins/PKGBUILD b/extra/kipi-plugins/PKGBUILD
new file mode 100644
index 000000000..1a707bb6a
--- /dev/null
+++ b/extra/kipi-plugins/PKGBUILD
@@ -0,0 +1,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')
+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')
diff --git a/extra/kipi-plugins/kipi-plugins.install b/extra/kipi-plugins/kipi-plugins.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/extra/kipi-plugins/kipi-plugins.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}