[arch-commits] Commit in gwenview/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Sep 14 21:38:38 UTC 2015


    Date: Monday, September 14, 2015 @ 23:38:37
  Author: arojas
Revision: 246169

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gwenview/repos/testing-i686/
  gwenview/repos/testing-i686/PKGBUILD
    (from rev 246168, gwenview/trunk/PKGBUILD)
  gwenview/repos/testing-i686/gwenview.install
    (from rev 246168, gwenview/trunk/gwenview.install)
  gwenview/repos/testing-x86_64/
  gwenview/repos/testing-x86_64/PKGBUILD
    (from rev 246168, gwenview/trunk/PKGBUILD)
  gwenview/repos/testing-x86_64/gwenview.install
    (from rev 246168, gwenview/trunk/gwenview.install)

---------------------------------+
 testing-i686/PKGBUILD           |   46 ++++++++++++++++++++++++++++++++++++++
 testing-i686/gwenview.install   |   12 +++++++++
 testing-x86_64/PKGBUILD         |   46 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/gwenview.install |   12 +++++++++
 4 files changed, 116 insertions(+)

Copied: gwenview/repos/testing-i686/PKGBUILD (from rev 246168, gwenview/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 21:38:37 UTC (rev 246169)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=gwenview
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="A fast and easy to use image viewer for KDE"
+url='http://kde.org/applications/graphics/gwenview/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('kded' 'kactivities-frameworks' 'baloo' 'kdelibs4support' 'hicolor-icon-theme')
+optdepends=('qt5-imageformats: support for tiff, webp, and more image formats'
+            'kimageformats: support for dds, xcf, exr, psd, and more image formats')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdegraphics-gwenview')
+conflicts=('kdegraphics-gwenview')
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/gwenview-${pkgver}.tar.xz")
+sha1sums=('31efb06b4d328561d58929e64df8cf008f1194ae')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo" \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+# Fix missing menu items https://bugs.kde.org/show_bug.cgi?id=351431
+  mv "$pkgdir"/usr/share/kxmlgui5/gwenview/{gwenviewui.rc,org.kde.gwenviewui.rc}
+  mv "$pkgdir"/usr/share/kxmlgui5/{gwenview,org.kde.gwenview}
+}

Copied: gwenview/repos/testing-i686/gwenview.install (from rev 246168, gwenview/trunk/gwenview.install)
===================================================================
--- testing-i686/gwenview.install	                        (rev 0)
+++ testing-i686/gwenview.install	2015-09-14 21:38:37 UTC (rev 246169)
@@ -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
+}

Copied: gwenview/repos/testing-x86_64/PKGBUILD (from rev 246168, gwenview/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 21:38:37 UTC (rev 246169)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=gwenview
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="A fast and easy to use image viewer for KDE"
+url='http://kde.org/applications/graphics/gwenview/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegraphics')
+depends=('kded' 'kactivities-frameworks' 'baloo' 'kdelibs4support' 'hicolor-icon-theme')
+optdepends=('qt5-imageformats: support for tiff, webp, and more image formats'
+            'kimageformats: support for dds, xcf, exr, psd, and more image formats')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdegraphics-gwenview')
+conflicts=('kdegraphics-gwenview')
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/gwenview-${pkgver}.tar.xz")
+sha1sums=('31efb06b4d328561d58929e64df8cf008f1194ae')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo" \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+# Fix missing menu items https://bugs.kde.org/show_bug.cgi?id=351431
+  mv "$pkgdir"/usr/share/kxmlgui5/gwenview/{gwenviewui.rc,org.kde.gwenviewui.rc}
+  mv "$pkgdir"/usr/share/kxmlgui5/{gwenview,org.kde.gwenview}
+}

Copied: gwenview/repos/testing-x86_64/gwenview.install (from rev 246168, gwenview/trunk/gwenview.install)
===================================================================
--- testing-x86_64/gwenview.install	                        (rev 0)
+++ testing-x86_64/gwenview.install	2015-09-14 21:38:37 UTC (rev 246169)
@@ -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
+}



More information about the arch-commits mailing list