[arch-commits] Commit in zint/trunk (PKGBUILD zint-qt.appdata.xml)

Balló György bgyorgy at archlinux.org
Fri Dec 28 23:38:34 UTC 2018


    Date: Friday, December 28, 2018 @ 23:38:34
  Author: bgyorgy
Revision: 418789

upgpkg: zint 2.6.3-2

Add AppStream metadata

Added:
  zint/trunk/zint-qt.appdata.xml
Modified:
  zint/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   15 +++++++++------
 zint-qt.appdata.xml |   29 +++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-28 22:59:04 UTC (rev 418788)
+++ PKGBUILD	2018-12-28 23:38:34 UTC (rev 418789)
@@ -3,15 +3,17 @@
 pkgbase=zint
 pkgname=(zint zint-qt)
 pkgver=2.6.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Barcode encoding library supporting over 50 symbologies"
 arch=('x86_64')
 url="http://zint.org.uk/"
 license=('GPL')
-depends=('qt5-base')
+depends=('hicolor-icon-theme' 'qt5-base')
 makedepends=('cmake' 'qt5-tools')
-source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz")
-sha256sums=('adcaebeb2931163a567073644c8e7952430ea31e08060363432d77cc599318d8')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz"
+        zint-qt.appdata.xml)
+sha256sums=('adcaebeb2931163a567073644c8e7952430ea31e08060363432d77cc599318d8'
+            '6c99514fb9079b6e6322b3b11fed5ff2c43cdcdd24c15e3cbf2663b884fc2f0c')
 
 build() {
 	cd $pkgbase-$pkgver.src
@@ -32,11 +34,12 @@
 
 package_zint-qt() {
 	pkgdesc="Zint Barcode Studio GUI"
-	depends=('qt5-base' 'zint')
+	depends=('hicolor-icon-theme' 'qt5-base' 'zint')
 
 	cd $pkgbase-$pkgver.src
 	make -C backend_qt DESTDIR="$pkgdir" install
 	make -C frontend_qt DESTDIR="$pkgdir" install
-	install -Dm644 zint.png "$pkgdir/usr/share/pixmaps/zint.png"
+	install -Dm644 zint.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/zint.png"
 	install -Dm644 zint-qt.desktop "$pkgdir/usr/share/applications/zint-qt.desktop"
+	install -Dm644 ../zint-qt.appdata.xml "$pkgdir/usr/share/metainfo/zint-qt.appdata.xml"
 }

Added: zint-qt.appdata.xml
===================================================================
--- zint-qt.appdata.xml	                        (rev 0)
+++ zint-qt.appdata.xml	2018-12-28 23:38:34 UTC (rev 418789)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>org.zint.zint-qt</id>
+  <launchable type="desktop-id">zint-qt.desktop</launchable>
+  <name>Zint Barcode Studio</name>
+  <summary>Barcode generator</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <description>
+    <p>The Zint project aims to provide a complete barcode generating solution. It is hoped that Zint provides a solution which is flexible enough for professional users while at the same time takes care of as much of the processing as possible to allow easy translation from input data to barcode image.</p>
+    <p>Zint is currently able to encode data in over 50 barcode symbologies (types of barcode), for each of which it is possible to translate that data from either Unicode (UTF-8) or a raw 8-bit data stream. The image can be rendered as either a Portable Network Graphic (PNG) image, Windows Bitmap (BMP), Graphics Interchange Format (GIF), ZSoft Paintbrush image (PCX), as Encapsulated Post Script (EPS) or as a Scalable Vector Graphic (SVG). Many options are available for setting the characteristics of the output image including the size and colour of the image, the amount of error correction used in the symbol and, in the case of raster images, the orientation of the image.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>http://zint.org.uk/_images/manualImages/gui1.png</image>
+    </screenshot>
+    <screenshot>
+      <image>http://zint.org.uk/_images/manualImages/gui2.png</image>
+    </screenshot>
+    <screenshot>
+​      <image>http://zint.org.uk/_images/manualImages/gui3.png</image>
+    </screenshot>
+    <screenshot>
+​      <image>http://zint.org.uk/_images/manualImages/gui4.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://sourceforge.net/p/zint/tickets/</url>
+  <url type="homepage">http://zint.org.uk/</url>
+</component>



More information about the arch-commits mailing list