[arch-commits] Commit in (5 files)

Balló György bgyorgy at archlinux.org
Thu Jul 9 16:17:57 UTC 2020


    Date: Thursday, July 9, 2020 @ 16:17:56
  Author: bgyorgy
Revision: 661841

Move qnapi from AUR with 103 votes

Added:
  qnapi/
  qnapi/trunk/
  qnapi/trunk/PKGBUILD
  qnapi/trunk/qnapi.appdata.xml
  qnapi/trunk/qt-5.11.patch

-------------------+
 PKGBUILD          |   38 ++++++++++++++++++++++++++++++++++++++
 qnapi.appdata.xml |   35 +++++++++++++++++++++++++++++++++++
 qt-5.11.patch     |   21 +++++++++++++++++++++
 3 files changed, 94 insertions(+)

Added: qnapi/trunk/PKGBUILD
===================================================================
--- qnapi/trunk/PKGBUILD	                        (rev 0)
+++ qnapi/trunk/PKGBUILD	2020-07-09 16:17:56 UTC (rev 661841)
@@ -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=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"
+}

Added: qnapi/trunk/qnapi.appdata.xml
===================================================================
--- qnapi/trunk/qnapi.appdata.xml	                        (rev 0)
+++ qnapi/trunk/qnapi.appdata.xml	2020-07-09 16:17:56 UTC (rev 661841)
@@ -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>

Added: qnapi/trunk/qt-5.11.patch
===================================================================
--- qnapi/trunk/qt-5.11.patch	                        (rev 0)
+++ qnapi/trunk/qt-5.11.patch	2020-07-09 16:17:56 UTC (rev 661841)
@@ -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