[arch-commits] Commit in quiterss/repos/community-x86_64 (3 files)
Allan McRae
allan at gemini.archlinux.org
Mon Apr 25 04:08:01 UTC 2022
Date: Monday, April 25, 2022 @ 04:08:01
Author: allan
Revision: 1189896
archrelease: copy trunk to community-x86_64
Added:
quiterss/repos/community-x86_64/PKGBUILD
(from rev 1189895, quiterss/trunk/PKGBUILD)
quiterss/repos/community-x86_64/install-appdata.patch
(from rev 1189895, quiterss/trunk/install-appdata.patch)
Deleted:
quiterss/repos/community-x86_64/PKGBUILD
-----------------------+
PKGBUILD | 65 +++++++++++++++++++++++++-----------------------
install-appdata.patch | 32 +++++++++++++++++++++++
2 files changed, 67 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-25 04:07:39 UTC (rev 1189895)
+++ PKGBUILD 2022-04-25 04:08:01 UTC (rev 1189896)
@@ -1,30 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: willemw <willemw12 at gmail.com>
-# Contributor: ThecaTTony <thecattony at gmx dot com>
-# Contributor: <giacomogiorgianni at gmail dot com>
-
-pkgname=quiterss
-pkgver=0.19.4
-pkgrel=1
-pkgdesc='Fast and light RSS/Atom feed reader written in Qt/С++'
-arch=(x86_64)
-url='https://quiterss.org/'
-license=(GPL3)
-depends=(gst-plugins-good qt5-multimedia qt5-webkit)
-makedepends=(qt5-tools)
-source=($pkgname-$pkgver.tar.gz::https://github.com/QuiteRSS/$pkgname/archive/$pkgver.tar.gz)
-sha256sums=('d9dffa205a8ec4e7bf00d87183fd94d4a12f045fae04a6efd41d6557827233bc')
-
-build() {
- cd $pkgname-$pkgver
- qmake-qt5 CONFIG+=release PREFIX=/usr
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make INSTALL_ROOT="$pkgdir" install
- install -Dm644 quiterss.appdata.xml "$pkgdir/usr/share/metainfo/quiterss.appdata.xml"
- rm -r "$pkgdir/usr/share/pixmaps/"
-}
-
Copied: quiterss/repos/community-x86_64/PKGBUILD (from rev 1189895, quiterss/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-25 04:08:01 UTC (rev 1189896)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: willemw <willemw12 at gmail.com>
+# Contributor: ThecaTTony <thecattony at gmx dot com>
+# Contributor: <giacomogiorgianni at gmail dot com>
+
+pkgname=quiterss
+pkgver=0.19.4
+pkgrel=2
+pkgdesc='Fast and light RSS/Atom feed reader written in Qt/С++'
+arch=('x86_64')
+url='https://quiterss.org/'
+license=('GPL3')
+depends=('gst-plugins-good' 'qt5-multimedia' 'qt5-webkit')
+makedepends=('qt5-tools')
+source=("https://github.com/QuiteRSS/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ 'install-appdata.patch')
+sha256sums=('d9dffa205a8ec4e7bf00d87183fd94d4a12f045fae04a6efd41d6557827233bc'
+ '81cc287b8fbd53016a125f210c193c58bcac093cc86ee226c5f4fd23b26188c9')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../install-appdata.patch
+ sed -i '/INSTALLS +=/ s/ target1//' QuiteRSS.pro
+}
+
+build() {
+ cd $pkgname-$pkgver
+ qmake-qt5 CONFIG+=release PREFIX=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
Copied: quiterss/repos/community-x86_64/install-appdata.patch (from rev 1189895, quiterss/trunk/install-appdata.patch)
===================================================================
--- install-appdata.patch (rev 0)
+++ install-appdata.patch 2022-04-25 04:08:01 UTC (rev 1189896)
@@ -0,0 +1,32 @@
+From ea8b4dce33fd5a74012d14d92bef43e26c6dda66 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sat, 17 Apr 2021 21:00:32 +0200
+Subject: [PATCH] Install appdata file
+
+---
+ QuiteRSS.pro | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/QuiteRSS.pro b/QuiteRSS.pro
+index d5088fdf..22dceac5 100644
+--- a/QuiteRSS.pro
++++ b/QuiteRSS.pro
+@@ -287,6 +287,9 @@ unix:!mac {
+
+ desktop.files = quiterss.desktop
+ desktop.path = $$quote($$PREFIX/share/applications)
++
++ appdata.files = quiterss.appdata.xml
++ appdata.path = $$quote($$PREFIX/share/metainfo)
+
+ target1.files = images/48x48/quiterss.png
+ target1.path = $$quote($$PREFIX/share/pixmaps)
+@@ -314,7 +317,7 @@ unix:!mac {
+ style.files = style
+ style.path = $$quote($$DATA_DIR)
+
+- INSTALLS += target desktop target1
++ INSTALLS += target desktop appdata target1
+ INSTALLS += icon_16 icon_32 icon_48 icon_64 icon_128 icon_256
+ INSTALLS += translations sound style
+ }
More information about the arch-commits
mailing list