Date: Thursday, July 9, 2020 @ 18:58:03 Author: bgyorgy Revision: 663014
Move phototonic from AUR Added: phototonic/ phototonic/trunk/ phototonic/trunk/PKGBUILD phototonic/trunk/phototonic.appdata.xml ------------------------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ phototonic.appdata.xml | 27 +++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) Added: phototonic/trunk/PKGBUILD =================================================================== --- phototonic/trunk/PKGBUILD (rev 0) +++ phototonic/trunk/PKGBUILD 2020-07-09 18:58:03 UTC (rev 663014) @@ -0,0 +1,34 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Peter Mattern <pmattern at arcor dot de> +# Contributor: Michael Straube <straubem at gmx dot de> +# Contributor: Ofer Kashayov <oferkv at gmail dot com> + +pkgname=phototonic +pkgver=2.1 +pkgrel=2 +pkgdesc='Image viewer and organizer built with Qt and Exiv2' +arch=(x86_64) +url='https://github.com/oferkv/phototonic/' +license=(GPL3) +depends=(exiv2 hicolor-icon-theme qt5-imageformats qt5-svg) +source=(https://github.com/oferkv/phototonic/archive/v$pkgver/$pkgname-$pkgver.tar.gz + phototonic.appdata.xml) +sha256sums=('a8b2dbc81750efabb65a4732b1704641afd4a4f772ef9c90817871ca2a52f5ef' + '42a79f018c2909651c8d65a0008fc94350e72f95ec6c76bd4f6c821d37c17e1b') + +prepare() { + cd $pkgname-$pkgver + sed -i '/INSTALLS +=/ s/ iconPixmaps//' phototonic.pro +} + +build() { + cd $pkgname-$pkgver + qmake PREFIX=/usr phototonic.pro + make +} + +package() { + cd $pkgname-$pkgver + make INSTALL_ROOT="$pkgdir" install + install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml" +} Added: phototonic/trunk/phototonic.appdata.xml =================================================================== --- phototonic/trunk/phototonic.appdata.xml (rev 0) +++ phototonic/trunk/phototonic.appdata.xml 2020-07-09 18:58:03 UTC (rev 663014) @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="desktop"> + <id>phototonic.desktop</id> + <metadata_license>CC0-1.0</metadata_license> + <project_license>GPL-3.0+</project_license> + <name>Phototonic</name> + <summary>View photos on your computer</summary> + <description> + <p>Phototonic is an image viewer and organizer built with Qt and Exiv2. Features:</p> + <ul> + <li>Support for common image formats and GIF animation</li> + <li>Supports tagging images, and filtering images by tags (IPTC)</li> + <li>Browse thumbnails recursively down a folder tree</li> + <li>Dynamic thumbnails loading</li> + <li>Image transformation and color manipulation</li> + <li>Display image information and metadata</li> + <li>Does not depend on any desktop environment</li> + </ul> + </description> + <screenshots> + <screenshot type="default"> + <image>https://raw.githubusercontent.com/oferkv/phototonic/master/images/screenshot.jpg</image> + </screenshot> + </screenshots> + <url type="homepage">https://github.com/oferkv/phototonic</url> + <url type="bugtracker">https://github.com/oferkv/phototonic/issues</url> +</component>
