[arch-commits] Commit in qnapi/repos/community-x86_64 (6 files)

Allan McRae allan at gemini.archlinux.org
Mon Apr 25 04:06:30 UTC 2022


    Date: Monday, April 25, 2022 @ 04:06:30
  Author: allan
Revision: 1189894

archrelease: copy trunk to community-x86_64

Added:
  qnapi/repos/community-x86_64/0001-Add-AppStream-metadata-file.patch
    (from rev 1189893, qnapi/trunk/0001-Add-AppStream-metadata-file.patch)
  qnapi/repos/community-x86_64/PKGBUILD
    (from rev 1189893, qnapi/trunk/PKGBUILD)
  qnapi/repos/community-x86_64/qt-5.11.patch
    (from rev 1189893, qnapi/trunk/qt-5.11.patch)
Deleted:
  qnapi/repos/community-x86_64/PKGBUILD
  qnapi/repos/community-x86_64/qnapi.appdata.xml
  qnapi/repos/community-x86_64/qt-5.11.patch

----------------------------------------+
 0001-Add-AppStream-metadata-file.patch |   71 ++++++++++++++++++++++++++++
 PKGBUILD                               |   76 +++++++++++++++----------------
 qnapi.appdata.xml                      |   35 --------------
 qt-5.11.patch                          |   42 ++++++++---------
 4 files changed, 130 insertions(+), 94 deletions(-)

Copied: qnapi/repos/community-x86_64/0001-Add-AppStream-metadata-file.patch (from rev 1189893, qnapi/trunk/0001-Add-AppStream-metadata-file.patch)
===================================================================
--- 0001-Add-AppStream-metadata-file.patch	                        (rev 0)
+++ 0001-Add-AppStream-metadata-file.patch	2022-04-25 04:06:30 UTC (rev 1189894)
@@ -0,0 +1,71 @@
+From 2e5be972cbdf909aef39c8156fc6f83a52a6cdeb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sat, 1 May 2021 22:33:04 +0200
+Subject: [PATCH] Add AppStream metadata file
+
+It's useful for software catalogs to display detailed information about this application.
+---
+ doc/qnapi.appdata.xml | 35 +++++++++++++++++++++++++++++++++++
+ qnapi.pro             |  4 +++-
+ 2 files changed, 38 insertions(+), 1 deletion(-)
+ create mode 100644 doc/qnapi.appdata.xml
+
+diff --git a/doc/qnapi.appdata.xml b/doc/qnapi.appdata.xml
+new file mode 100644
+index 0000000..ed88899
+--- /dev/null
++++ b/doc/qnapi.appdata.xml
+@@ -0,0 +1,35 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<component type="desktop">
++  <id>io.github.qnapi</id>
++  <metadata_license>CC0-1.0</metadata_license>
++  <project_license>GPL-2.0+</project_license>
++  <name>QNapi</name>
++  <summary>A software for downloading and automatic matching subtitles to movies</summary>
++  <description>
++    <p>QNapi is designed to automatically download and match subtitles to a specific movie file. Unlike similar programs, QNapi queries several different subtitle databases to find the best subtitles for your movie. Also, thanks to the QT library, the program runs on various operating systems (Windows, OSX, Linux).</p>
++    <ul>
++      <li>matching subtitles for specific movie file</li>
++      <li>automatic matching the best subtitles</li>
++      <li>select target subtitles format (SRT, mDVD, TMP, MPL2) as well as manual conversion</li>
++      <li>select subtitles, when multiple matching has been found</li>
++      <li>download subtitles in one of many supported languages</li>
++      <li>directory scanning and batch subtitles download</li>
++      <li>subtitles post-processing: change file encoding, set file permissions</li>
++      <li>provides nice command-line interface</li>
++    </ul>
++  </description>
++  <launchable type="desktop-id">qnapi.desktop</launchable>
++  <url type="homepage">https://qnapi.github.io/</url>
++  <screenshots>
++    <screenshot type="default">
++      <image>https://qnapi.github.io/images/screenshots/0.1.7/lin05.png</image>
++    </screenshot>
++  </screenshots>
++  <content_rating type="oars-1.1">
++    <content_attribute id="social-chat">intense</content_attribute>
++  </content_rating>
++  <url type="bugtracker">https://github.com/QNapi/qnapi/issues</url>
++  <url type="help">https://qnapi.github.io/#help</url>
++  <url type="donation">https://qnapi.github.io/#donate</url>
++  <developer_name>Piotr Krzemiński</developer_name>
++</component>
+diff --git a/qnapi.pro b/qnapi.pro
+index 1ba7529..db4e8ec 100644
+--- a/qnapi.pro
++++ b/qnapi.pro
+@@ -46,7 +46,9 @@ unix {
+ 
+     desktop.path = $${INSTALL_PREFIX}/share/applications
+     desktop.files = doc/qnapi.desktop
+-    INSTALLS += target doc man man_it man_pl desktop
++    metainfo.path = $${INSTALL_PREFIX}/share/metainfo
++    metainfo.files = doc/qnapi.appdata.xml
++    INSTALLS += target doc man man_it man_pl desktop metainfo
+ }
+ 
+ macx {
+-- 
+2.31.1
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-25 04:06:06 UTC (rev 1189893)
+++ PKGBUILD	2022-04-25 04:06:30 UTC (rev 1189894)
@@ -1,38 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: FadeMind <fademind at gmail.com>
-# Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
-# Contributor: Piotr Krzemiński <pio.krzeminski at gmail.com>
-
-pkgname=qnapi
-pkgver=0.2.3
-pkgrel=4
-pkgdesc="Qt client for downloading movie subtitles from NapiProjekt, OpenSubtitles, Napisy24"
-arch=(x86_64)
-url="https://qnapi.github.io/"
-license=(GPL)
-depends=(hicolor-icon-theme libmediainfo p7zip qt5-base)
-source=(https://github.com/QNapi/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
-        qt-5.11.patch
-        qnapi.appdata.xml)
-sha256sums=('8debb6862e96e52e4060131b314d9b887051a646a4a57c87c0287f2655357046'
-            'c10d4be453ea1ca313079abd5b7caeecb35d99dd711e4da288bf3d74138d0c01'
-            '6d90b97e4b9209d79cad4a28c4647dd78dc077bd04182bd0644464d888a3e41f')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../qt-5.11.patch
-  sed -i '/INSTALLS +=/ s/ doc//' qnapi.pro
-}
-
-build() {
-  cd $pkgname-$pkgver
-  qmake QMAKE_DEFAULT_INCDIRS="" qnapi.pro
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-  install -Dm644 -t "$pkgdir/usr/share/kservices5/ServiceMenus/" doc/qnapi-{download,scan}.desktop
-  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
-}

Copied: qnapi/repos/community-x86_64/PKGBUILD (from rev 1189893, qnapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-25 04:06:30 UTC (rev 1189894)
@@ -0,0 +1,38 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: FadeMind <fademind at gmail.com>
+# Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
+# Contributor: Piotr Krzemiński <pio.krzeminski at gmail.com>
+
+pkgname=qnapi
+pkgver=0.2.3
+pkgrel=5
+pkgdesc='Qt client for downloading movie subtitles from NapiProjekt, OpenSubtitles, Napisy24'
+arch=('x86_64')
+url='https://qnapi.github.io/'
+license=('GPL')
+depends=('hicolor-icon-theme' 'libmediainfo' 'p7zip' 'qt5-base')
+source=("https://github.com/QNapi/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+        'qt-5.11.patch'
+        '0001-Add-AppStream-metadata-file.patch')
+sha256sums=('8debb6862e96e52e4060131b314d9b887051a646a4a57c87c0287f2655357046'
+            'c10d4be453ea1ca313079abd5b7caeecb35d99dd711e4da288bf3d74138d0c01'
+            '463325b8af9840ce748f862dd6f3b25fd818d64ade98e5fbcd8950cacf7af530')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../qt-5.11.patch
+  patch -Np1 -i ../0001-Add-AppStream-metadata-file.patch
+  sed -i '/INSTALLS +=/ s/ doc//' qnapi.pro
+}
+
+build() {
+  cd $pkgname-$pkgver
+  qmake-qt5 QMAKE_DEFAULT_INCDIRS='' qnapi.pro
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 -t "$pkgdir/usr/share/kservices5/ServiceMenus/" doc/qnapi-{download,scan}.desktop
+}

Deleted: qnapi.appdata.xml
===================================================================
--- qnapi.appdata.xml	2022-04-25 04:06:06 UTC (rev 1189893)
+++ qnapi.appdata.xml	2022-04-25 04:06:30 UTC (rev 1189894)
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop">
-  <id>io.github.qnapi</id>
-  <metadata_license>CC0-1.0</metadata_license>
-  <project_license>GPL-2.0+</project_license>
-  <name>QNapi</name>
-  <summary>A software for downloading and automatic matching subtitles to movies</summary>
-  <description>
-    <p>QNapi is designed to automatically download and match subtitles to a specific movie file. Unlike similar programs, QNapi queries several different subtitle databases to find the best subtitles for your movie. Also, thanks to the QT library, the program runs on various operating systems (Windows, OSX, Linux).</p>
-    <ul>
-      <li>matching subtitles for specific movie file</li>
-      <li>automatic matching the best subtitles</li>
-      <li>select target subtitles format (SRT, mDVD, TMP, MPL2) as well as manual conversion</li>
-      <li>select subtitles, when multiple matching has been found</li>
-      <li>download subtitles in one of many supported languages</li>
-      <li>directory scanning and batch subtitles download</li>
-      <li>subtitles post-processing: change file encoding, set file permissions</li>
-      <li>provides nice command-line interface</li>
-    </ul>
-  </description>
-  <launchable type="desktop-id">qnapi.desktop</launchable>
-  <url type="homepage">https://qnapi.github.io/</url>
-  <screenshots>
-    <screenshot type="default">
-      <image>https://qnapi.github.io/images/screenshots/0.1.7/lin05.png</image>
-    </screenshot>
-  </screenshots>
-  <content_rating type="oars-1.1">
-    <content_attribute id="social-chat">intense</content_attribute>
-  </content_rating>
-  <url type="bugtracker">https://github.com/QNapi/qnapi/issues</url>
-  <url type="help">https://qnapi.github.io/#help</url>
-  <url type="donation">https://qnapi.github.io/#donate</url>
-  <developer_name>Piotr Krzemiński</developer_name>
-</component>

Deleted: qt-5.11.patch
===================================================================
--- qt-5.11.patch	2022-04-25 04:06:06 UTC (rev 1189893)
+++ qt-5.11.patch	2022-04-25 04:06:30 UTC (rev 1189894)
@@ -1,21 +0,0 @@
-From 27bbaa5a32e5c6d9e45a6ba221928be6ec555ddd Mon Sep 17 00:00:00 2001
-From: Luigi Baldoni <luigino at users.noreply.github.com>
-Date: Mon, 11 Jun 2018 14:55:54 +0200
-Subject: [PATCH] Add missing include statement for Qt 5.11 (#148)
-
----
- gui/src/forms/subdatawidget.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gui/src/forms/subdatawidget.h b/gui/src/forms/subdatawidget.h
-index f6f1129..ab0491b 100644
---- a/gui/src/forms/subdatawidget.h
-+++ b/gui/src/forms/subdatawidget.h
-@@ -16,6 +16,7 @@
- #define SUBDATAWIDGET_H
- 
- #include <QWidget>
-+#include <QIcon>
- #include "ui_subDataWidget.h"
- 
- class subDataWidget : public QWidget {

Copied: qnapi/repos/community-x86_64/qt-5.11.patch (from rev 1189893, qnapi/trunk/qt-5.11.patch)
===================================================================
--- qt-5.11.patch	                        (rev 0)
+++ qt-5.11.patch	2022-04-25 04:06:30 UTC (rev 1189894)
@@ -0,0 +1,21 @@
+From 27bbaa5a32e5c6d9e45a6ba221928be6ec555ddd Mon Sep 17 00:00:00 2001
+From: Luigi Baldoni <luigino at users.noreply.github.com>
+Date: Mon, 11 Jun 2018 14:55:54 +0200
+Subject: [PATCH] Add missing include statement for Qt 5.11 (#148)
+
+---
+ gui/src/forms/subdatawidget.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gui/src/forms/subdatawidget.h b/gui/src/forms/subdatawidget.h
+index f6f1129..ab0491b 100644
+--- a/gui/src/forms/subdatawidget.h
++++ b/gui/src/forms/subdatawidget.h
+@@ -16,6 +16,7 @@
+ #define SUBDATAWIDGET_H
+ 
+ #include <QWidget>
++#include <QIcon>
+ #include "ui_subDataWidget.h"
+ 
+ class subDataWidget : public QWidget {



More information about the arch-commits mailing list