[arch-commits] Commit in gwenview/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 19:29:36 UTC 2015
Date: Friday, April 10, 2015 @ 21:29:36
Author: arojas
Revision: 236169
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gwenview/repos/staging-i686/
gwenview/repos/staging-i686/PKGBUILD
(from rev 236168, gwenview/trunk/PKGBUILD)
gwenview/repos/staging-i686/gwenview.install
(from rev 236168, gwenview/trunk/gwenview.install)
gwenview/repos/staging-x86_64/
gwenview/repos/staging-x86_64/PKGBUILD
(from rev 236168, gwenview/trunk/PKGBUILD)
gwenview/repos/staging-x86_64/gwenview.install
(from rev 236168, 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 236168, gwenview/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 19:29:36 UTC (rev 236169)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=gwenview
+pkgver=15.04.0
+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-frameworks')
+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' 'git' '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=('116128080427d8d17ae98744c73afa7aa674a363')
+
+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 236168, gwenview/trunk/gwenview.install)
===================================================================
--- staging-i686/gwenview.install (rev 0)
+++ staging-i686/gwenview.install 2015-04-10 19:29:36 UTC (rev 236169)
@@ -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 236168, gwenview/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 19:29:36 UTC (rev 236169)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=gwenview
+pkgver=15.04.0
+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-frameworks')
+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' 'git' '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=('116128080427d8d17ae98744c73afa7aa674a363')
+
+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 236168, gwenview/trunk/gwenview.install)
===================================================================
--- staging-x86_64/gwenview.install (rev 0)
+++ staging-x86_64/gwenview.install 2015-04-10 19:29:36 UTC (rev 236169)
@@ -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