diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-18 22:02:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-18 22:02:57 -0300 |
commit | b5f00d0a0727d16705c67a3ae18ebc740750463a (patch) | |
tree | 52767b6acb49bd5fdf7cdd6979cbb6b4ddf59ba4 | |
parent | 9c2d826e629221ed2cc653d5b9fc79e21596c634 (diff) | |
download | abslibre-b5f00d0a0727d16705c67a3ae18ebc740750463a.tar.gz abslibre-b5f00d0a0727d16705c67a3ae18ebc740750463a.tar.bz2 abslibre-b5f00d0a0727d16705c67a3ae18ebc740750463a.zip |
kipi-plugins-libre-nonprism: add new package to [nonprism]
-rw-r--r-- | nonprism/kipi-plugins-libre-nonprism/PKGBUILD | 79 | ||||
-rw-r--r-- | nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install | 12 |
2 files changed, 91 insertions, 0 deletions
diff --git a/nonprism/kipi-plugins-libre-nonprism/PKGBUILD b/nonprism/kipi-plugins-libre-nonprism/PKGBUILD new file mode 100644 index 000000000..eb1c06b9c --- /dev/null +++ b/nonprism/kipi-plugins-libre-nonprism/PKGBUILD @@ -0,0 +1,79 @@ +# $Id: PKGBUILD 211141 2014-04-17 06:54:31Z andrea $ +# Maintainer: Ronald van Haren <ronald@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> +# Contributor (Parabola): Márcio Silva <coadde@parabola.nu> + +pkgbase=digikam +_pkgname=kipi-plugins +pkgname=kipi-plugins-libre-nonprism +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 and support for unsafe and dangerous for privacy protocols" +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' + '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 + \|imageshackexport|d + s| Facebook, and Imgur|| + \|QtKOAuth|d + \|Imgur|d + \|imgurexport|d + \|LIBKVKONTAKTE|d + \|vkontakte|d + s| and YandexFotki|| + \|YandexFotki|d + \|yandexfotki|d + \|DlnaExport|d + \|dlnaexport|d + \|Facebook|d + \|facebook|d + \|flickrexport|d + \|picasawebexport|d + ' extra/kipi-plugins/CMakeLists.txt + sed -i '\|m_actionExport| s|true|false| + ' extra/kipi-plugins/smug/plugin_smug.cpp + sed -i '\|Remote Flickr Export plugin|,+2 d + \|flickrexport|d + ' doc/kipi-plugins/index.docbook + 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/nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install b/nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/nonprism/kipi-plugins-libre-nonprism/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 +} |