From 9c2d826e629221ed2cc653d5b9fc79e21596c634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 18 Apr 2014 22:00:22 -0300 Subject: kipi-plugins-libre: add new package to [libre] --- libre/kipi-plugins-libre/PKGBUILD | 59 +++++++++++++++++++++++++++ libre/kipi-plugins-libre/kipi-plugins.install | 12 ++++++ 2 files changed, 71 insertions(+) create mode 100644 libre/kipi-plugins-libre/PKGBUILD create mode 100644 libre/kipi-plugins-libre/kipi-plugins.install (limited to 'libre/kipi-plugins-libre') diff --git a/libre/kipi-plugins-libre/PKGBUILD b/libre/kipi-plugins-libre/PKGBUILD new file mode 100644 index 000000000..dcbbdc492 --- /dev/null +++ b/libre/kipi-plugins-libre/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 211141 2014-04-17 06:54:31Z andrea $ +# Maintainer: Ronald van Haren +# Contributor: Andrea Scarpino +# Contributor: Tobias Powalowski +# Maintainer (Parabola): André Silva +# Contributor (Parabola): Márcio Silva + +pkgbase=digikam +_pkgname=kipi-plugins +pkgname=kipi-plugins-libre +pkgver=3.5.0 +pkgrel=4 +pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree jAlbum and SimpleViewer support" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +url="http://www.digikam.org/" +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr' + 'kdeedu-marble' 'opencv' 'boost' 'libgpod' 'qjson' 'hugin' 'libgphoto2' + 'cmake' 'automoc4' 'doxygen' 'lensfun' 'qt-gstreamer' 'imagemagick' 'eigen') +depends=('kdebase-runtime' 'kdepimlibs' 'libkdcraw' 'libkipi' 'libksane' 'libkexiv2') +optdepends=('libkgeomap: Geolocalize tool' + 'libmediawiki: MediaWiki Export plugin' + 'libkvkontakte: VKontakte.ru Exporter plugin' + 'libgpod: iPodExport plugin' + 'opencv: Remove Red Eyes plugin' + 'imagemagick: Video SlideShow plugin' + 'qt-gstreamer: Video SlideShow plugin') +options=('staticlibs') +install=kipi-plugins.install +source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2") +sha1sums=('9e44fcf219312cbcbbaee0cc9a7f460a01769224') + +prepare() { + cd ${srcdir}/${pkgbase}-${pkgver} + sed -i '\|flashexport|d + \|jalbumexport|d + ' extra/kipi-plugins/CMakeLists.txt + cd .. + mkdir build +} + +build() { + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DBUILD_tests=OFF \ + -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=OFF + make +} + +package() { + cd build/extra/kipi-plugins + make DESTDIR="${pkgdir}" install +} diff --git a/libre/kipi-plugins-libre/kipi-plugins.install b/libre/kipi-plugins-libre/kipi-plugins.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/libre/kipi-plugins-libre/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 +} -- cgit v1.2.3-2-g168b