[arch-commits] Commit in gwenview/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Jul 3 21:49:34 UTC 2015
Date: Friday, July 3, 2015 @ 23:49:34
Author: arojas
Revision: 241785
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gwenview/repos/staging-i686/
gwenview/repos/staging-i686/PKGBUILD
(from rev 241784, gwenview/trunk/PKGBUILD)
gwenview/repos/staging-i686/gwenview.install
(from rev 241784, gwenview/trunk/gwenview.install)
gwenview/repos/staging-x86_64/
gwenview/repos/staging-x86_64/PKGBUILD
(from rev 241784, gwenview/trunk/PKGBUILD)
gwenview/repos/staging-x86_64/gwenview.install
(from rev 241784, gwenview/trunk/gwenview.install)
---------------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++
staging-i686/gwenview.install | 12 ++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/gwenview.install | 12 ++++++++++
4 files changed, 108 insertions(+)
Copied: gwenview/repos/staging-i686/PKGBUILD (from rev 241784, gwenview/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-07-03 21:49:34 UTC (rev 241785)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=gwenview
+pkgver=15.04.3
+pkgrel=2
+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')
+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=('bf236d1b6f532e06cc554a8c779ff733ace5c29e')
+
+prepare() {
+ mkdir 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
+}
Copied: gwenview/repos/staging-i686/gwenview.install (from rev 241784, gwenview/trunk/gwenview.install)
===================================================================
--- staging-i686/gwenview.install (rev 0)
+++ staging-i686/gwenview.install 2015-07-03 21:49:34 UTC (rev 241785)
@@ -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/staging-x86_64/PKGBUILD (from rev 241784, gwenview/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-07-03 21:49:34 UTC (rev 241785)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=gwenview
+pkgver=15.04.3
+pkgrel=2
+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')
+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=('bf236d1b6f532e06cc554a8c779ff733ace5c29e')
+
+prepare() {
+ mkdir 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
+}
Copied: gwenview/repos/staging-x86_64/gwenview.install (from rev 241784, gwenview/trunk/gwenview.install)
===================================================================
--- staging-x86_64/gwenview.install (rev 0)
+++ staging-x86_64/gwenview.install 2015-07-03 21:49:34 UTC (rev 241785)
@@ -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