[arch-commits] Commit in qtqr (5 files)
Balló György
bgyorgy at archlinux.org
Tue Jul 21 11:23:07 UTC 2020
Date: Tuesday, July 21, 2020 @ 11:23:06
Author: bgyorgy
Revision: 664719
archrelease: copy trunk to community-any
Added:
qtqr/repos/
qtqr/repos/community-any/
qtqr/repos/community-any/PKGBUILD
(from rev 664718, qtqr/trunk/PKGBUILD)
qtqr/repos/community-any/qtqr.appdata.xml
(from rev 664718, qtqr/trunk/qtqr.appdata.xml)
qtqr/repos/community-any/qtqr.desktop
(from rev 664718, qtqr/trunk/qtqr.desktop)
------------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
qtqr.appdata.xml | 20 ++++++++++++++++++++
qtqr.desktop | 10 ++++++++++
3 files changed, 67 insertions(+)
Copied: qtqr/repos/community-any/PKGBUILD (from rev 664718, qtqr/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2020-07-21 11:23:06 UTC (rev 664719)
@@ -0,0 +1,37 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qtqr
+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 qr-tools
+ python3 setup.py build
+}
+
+package() {
+ cd qr-tools
+ 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"
+}
Copied: qtqr/repos/community-any/qtqr.appdata.xml (from rev 664718, qtqr/trunk/qtqr.appdata.xml)
===================================================================
--- repos/community-any/qtqr.appdata.xml (rev 0)
+++ repos/community-any/qtqr.appdata.xml 2020-07-21 11:23:06 UTC (rev 664719)
@@ -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>
Copied: qtqr/repos/community-any/qtqr.desktop (from rev 664718, qtqr/trunk/qtqr.desktop)
===================================================================
--- repos/community-any/qtqr.desktop (rev 0)
+++ repos/community-any/qtqr.desktop 2020-07-21 11:23:06 UTC (rev 664719)
@@ -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