[arch-commits] Commit in qtqr/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:51:14 UTC 2020
Date: Thursday, November 12, 2020 @ 17:51:13
Author: felixonmars
Revision: 752847
archrelease: copy trunk to community-staging-any
Added:
qtqr/repos/community-staging-any/
qtqr/repos/community-staging-any/PKGBUILD
(from rev 752846, qtqr/trunk/PKGBUILD)
qtqr/repos/community-staging-any/qtqr.appdata.xml
(from rev 752846, qtqr/trunk/qtqr.appdata.xml)
qtqr/repos/community-staging-any/qtqr.desktop
(from rev 752846, qtqr/trunk/qtqr.desktop)
------------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
qtqr.appdata.xml | 20 ++++++++++++++++++++
qtqr.desktop | 10 ++++++++++
3 files changed, 67 insertions(+)
Copied: qtqr/repos/community-staging-any/PKGBUILD (from rev 752846, qtqr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:51:13 UTC (rev 752847)
@@ -0,0 +1,37 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qtqr
+pkgver=2.0
+_bzrrev=39
+pkgrel=3
+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-staging-any/qtqr.appdata.xml (from rev 752846, qtqr/trunk/qtqr.appdata.xml)
===================================================================
--- community-staging-any/qtqr.appdata.xml (rev 0)
+++ community-staging-any/qtqr.appdata.xml 2020-11-12 17:51:13 UTC (rev 752847)
@@ -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-staging-any/qtqr.desktop (from rev 752846, qtqr/trunk/qtqr.desktop)
===================================================================
--- community-staging-any/qtqr.desktop (rev 0)
+++ community-staging-any/qtqr.desktop 2020-11-12 17:51:13 UTC (rev 752847)
@@ -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