[arch-commits] Commit in (5 files)

Balló György bgyorgy at archlinux.org
Tue Jul 21 11:21:27 UTC 2020


    Date: Tuesday, July 21, 2020 @ 11:21:27
  Author: bgyorgy
Revision: 664713

Move qtqr from AUR with 54 votes

Added:
  qtqr/
  qtqr/trunk/
  qtqr/trunk/PKGBUILD
  qtqr/trunk/qtqr.appdata.xml
  qtqr/trunk/qtqr.desktop

------------------+
 PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 qtqr.appdata.xml |   20 ++++++++++++++++++++
 qtqr.desktop     |   10 ++++++++++
 3 files changed, 68 insertions(+)

Added: qtqr/trunk/PKGBUILD
===================================================================
--- qtqr/trunk/PKGBUILD	                        (rev 0)
+++ qtqr/trunk/PKGBUILD	2020-07-21 11:21:27 UTC (rev 664713)
@@ -0,0 +1,38 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qtqr
+_pkgname=qr-tools
+pkgver=2.0
+_bzrrev=39
+pkgrel=2
+pkgdesc="Qt GUI that makes easy creating and decoding QR codes"
+arch=(any)
+url="https://launchpad.net/qr-tools"
+license=(GPL3)
+depends=(python-pillow python-pyqt5 qrencode qt5-translations zbar)
+makedepends=(bzr)
+provides=(python-qrtools)
+conflicts=(python-qrtools)
+replaces=(python-qrtools)
+source=(bzr+lp:qr-tools#revision=$_bzrrev
+        qtqr.desktop
+        qtqr.appdata.xml)
+sha256sums=('SKIP'
+            '67ea09222b0ad8875e4253f74c02cd88bdd796ac2609a7e594148aefd0f8f565'
+            '3812f5ebd5ffd0074fdf18d12dc5d73b19f597bbdce04772fecf45a9ee45ad2b')
+
+build() {
+  cd $_pkgname
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname
+  python3 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm755 qtqr.py "$pkgdir/usr/bin/qtqr"
+  install -Dm644 -t "$pkgdir/usr/share/qt/translations" *.qm
+  install -Dm644 icon.png "$pkgdir/usr/share/icons/hicolor/96x96/apps/qtqr.png"
+  install -Dm644 ../qtqr.desktop "$pkgdir/usr/share/applications/qtqr.desktop"
+  install -Dm644 ../qtqr.appdata.xml "$pkgdir/usr/share/metainfo/qtqr.appdata.xml"
+}

Added: qtqr/trunk/qtqr.appdata.xml
===================================================================
--- qtqr/trunk/qtqr.appdata.xml	                        (rev 0)
+++ qtqr/trunk/qtqr.appdata.xml	2020-07-21 11:21:27 UTC (rev 664713)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>net.launchpad.qr-tools</id>
+  <launchable type="desktop-id">qtqr.desktop</launchable>
+  <name>QtQR</name>
+  <summary>Create and decode QR codes.</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <description>
+    <p>QtQR is a Qt based software that let's you generate QR codes easily, scan an image file for QR codes and decode them or use your webcam to scan a printed one.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+​      <image>https://screenshots.debian.net/screenshots/000/009/046/large.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://bugs.launchpad.net/qr-tools</url>
+  <url type="homepage">https://launchpad.net/qr-tools</url>
+  <translation type="qt">qtqr</translation>
+</component>

Added: qtqr/trunk/qtqr.desktop
===================================================================
--- qtqr/trunk/qtqr.desktop	                        (rev 0)
+++ qtqr/trunk/qtqr.desktop	2020-07-21 11:21:27 UTC (rev 664713)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=QtQR
+Comment=Create and decode QR Codes
+Exec=qtqr %F
+Icon=qtqr
+Terminal=false
+Type=Application
+Categories=Graphics
+MimeType=image/gif;image/png;image/jpg;
+Keywords=qr;



More information about the arch-commits mailing list