Date: Thursday, June 4, 2020 @ 17:29:52 Author: bgyorgy Revision: 639014
upgpkg: psi 1.4-5: Fix AppStream metadata Added: psi/trunk/appdata.patch Modified: psi/trunk/PKGBUILD ---------------+ PKGBUILD | 12 +++++++++--- appdata.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-04 17:27:25 UTC (rev 639013) +++ PKGBUILD 2020-06-04 17:29:52 UTC (rev 639014) @@ -2,7 +2,7 @@ pkgname=('psi' 'psi-nowebengine') pkgver=1.4 -pkgrel=4 +pkgrel=5 pkgdesc="Powerful XMPP (Jabber) client (Qt, C++) designed for power users" url="https://psi-im.org" license=('GPL2') @@ -12,11 +12,13 @@ source=("https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" "no-qca-qt4.patch" "qt-5.11.patch" - "qt-5.15.patch") + "qt-5.15.patch" + "appdata.patch") sha256sums=('761934c1c62daf69215f085ba24d7f9cd4db05ef0ad735383d68fb03d21571ad' 'a6ea9a62100b6990b8a6c8590a6d0e9df095b99b6527bb5490a7fd3f6929ac23' 'e56ec1a250488b2cf9d42887aac432ff2e0ef482eb7cc8500f3d52cb53949119' - '5786131a946f8d50a0ef35dac6f3ea4b3abfe40c6e281cf3f52b22922850e7bc') + '5786131a946f8d50a0ef35dac6f3ea4b3abfe40c6e281cf3f52b22922850e7bc' + '671bfebedbeebf3a159d3aa04caf62b8cb5f20bb31a95b0adb057619380cf6dd') prepare() { cd $pkgname-$pkgver @@ -23,6 +25,10 @@ patch -p1 <"$srcdir"/no-qca-qt4.patch patch -p1 <"$srcdir"/qt-5.11.patch patch -p1 <"$srcdir"/qt-5.15.patch + + # Upgrade appdata to meet with current spec + # https://github.com/psi-im/psi/pull/590 + patch -p1 <"$srcdir"/appdata.patch } build() { Added: appdata.patch =================================================================== --- appdata.patch (rev 0) +++ appdata.patch 2020-06-04 17:29:52 UTC (rev 639014) @@ -0,0 +1,44 @@ +From 52b16c046de34e2659766f06877a70c6611e4664 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballog...@gmail.com> +Date: Thu, 4 Jun 2020 19:14:54 +0200 +Subject: [PATCH] Upgrade appdata to meet with current spec + +--- + psi.appdata.xml | 13 +++++++------ + 1 file changed, 7 insertions(+), 6 deletions(-) + +diff --git a/psi.appdata.xml b/psi.appdata.xml +index d3816ba3..f33280d4 100644 +--- a/psi.appdata.xml ++++ b/psi.appdata.xml +@@ -1,7 +1,9 @@ + <?xml version="1.0" encoding="UTF-8"?> +-<application> +- <id type="desktop">psi.desktop</id> +- <licence>GPL-2.0</licence> ++<component type="desktop"> ++ <id>org.psi_im.Psi</id> ++ <launchable type="desktop-id">psi.desktop</launchable> ++ <metadata_license>CC0-1.0</metadata_license> ++ <project_license>GPL-2.0</project_license> + <name>Psi</name> + <name xml:lang="ru">Psi</name> + <summary>The cross-platform XMPP client aimed at experienced users.</summary> +@@ -13,7 +15,6 @@ + <p xml:lang="ru"> + Psi - это мессенджер для Windows, Linux и Mac OS X подключающийся к свободной и открытой XMPP сети. + </p> +- + <p>Features:</p> + <p xml:lang="ru">Features:</p> + <ul> +@@ -31,7 +32,7 @@ + <url type="bugtracker">https://github.com/psi-im/psi/issues</url> + <screenshots> + <screenshot type="default"> +- <image>http://psi-im.org/content/home/feature_default.png</image> ++ <image>https://psi-im.org/content/home/feature_default.png</image> + </screenshot> + </screenshots> +-</application> ++</component>