From 5156402fd563b6078c36e081860bccadc77a72a0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 3 Sep 2014 01:26:55 -0300 Subject: kipi-plugins: remove libre and nonprism suffixes, add complex pkgrel --- nonprism/kipi-plugins-libre-nonprism/PKGBUILD | 87 ---------------------- .../kipi-plugins.install | 12 --- nonprism/kipi-plugins/PKGBUILD | 85 +++++++++++++++++++++ nonprism/kipi-plugins/kipi-plugins.install | 12 +++ 4 files changed, 97 insertions(+), 99 deletions(-) delete mode 100644 nonprism/kipi-plugins-libre-nonprism/PKGBUILD delete mode 100644 nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install create mode 100644 nonprism/kipi-plugins/PKGBUILD create mode 100644 nonprism/kipi-plugins/kipi-plugins.install (limited to 'nonprism') diff --git a/nonprism/kipi-plugins-libre-nonprism/PKGBUILD b/nonprism/kipi-plugins-libre-nonprism/PKGBUILD deleted file mode 100644 index 8b4599f9e..000000000 --- a/nonprism/kipi-plugins-libre-nonprism/PKGBUILD +++ /dev/null @@ -1,87 +0,0 @@ -# $Id: PKGBUILD 220487 2014-08-20 22:40:51Z svenstaro $ -# Maintainer (Arch): Ronald van Haren -# Contributor (Arch): Andrea Scarpino -# Contributor (Arch): Tobias Powalowski -# Maintainer: André Silva -# Contributor: Márcio Silva - -pkgbase=digikam -_pkgname=kipi-plugins -pkgname=kipi-plugins-libre-nonprism -pkgver=4.2.0 -pkgrel=2 -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=('4a54136629bed3b30cf4e9355e8d5b498b0d4e54') - -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 - - cd ../../../build/po - make DESTDIR="${pkgdir}" install - # Put these in the relevant splitted packages - rm "${pkgdir}"/usr/share/locale/*/LC_MESSAGES/libkgeomap.mo - rm "${pkgdir}"/usr/share/locale/*/LC_MESSAGES/digikam.mo - # Fix conflicts with kde-l10n-* (FS#33762) - rm "${pkgdir}"/usr/share/locale/*/LC_MESSAGES/libkipi.mo -} diff --git a/nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install b/nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install deleted file mode 100644 index 81ce5c4b0..000000000 --- a/nonprism/kipi-plugins-libre-nonprism/kipi-plugins.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/nonprism/kipi-plugins/PKGBUILD b/nonprism/kipi-plugins/PKGBUILD new file mode 100644 index 000000000..235271ed0 --- /dev/null +++ b/nonprism/kipi-plugins/PKGBUILD @@ -0,0 +1,85 @@ +# $Id: PKGBUILD 220487 2014-08-20 22:40:51Z svenstaro $ +# Maintainer (Arch): Ronald van Haren +# Contributor (Arch): Andrea Scarpino +# Contributor (Arch): Tobias Powalowski +# Maintainer: André Silva +# Contributor: Márcio Silva + +pkgbase=digikam +pkgname=kipi-plugins +pkgver=4.2.0 +pkgrel=2.parabola1.nonprism1 +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}-libre" "${pkgname}-libre-nonprism") +conflicts=("${pkgname}-libre" "${pkgname}-libre-nonprism") +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=('4a54136629bed3b30cf4e9355e8d5b498b0d4e54') + +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 + + cd ../../../build/po + make DESTDIR="${pkgdir}" install + # Put these in the relevant splitted packages + rm "${pkgdir}"/usr/share/locale/*/LC_MESSAGES/libkgeomap.mo + rm "${pkgdir}"/usr/share/locale/*/LC_MESSAGES/digikam.mo + # Fix conflicts with kde-l10n-* (FS#33762) + rm "${pkgdir}"/usr/share/locale/*/LC_MESSAGES/libkipi.mo +} diff --git a/nonprism/kipi-plugins/kipi-plugins.install b/nonprism/kipi-plugins/kipi-plugins.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/nonprism/kipi-plugins/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