[arch-commits] Commit in (3 files)

Balló György bgyorgy at archlinux.org
Tue May 25 11:24:14 UTC 2021


    Date: Tuesday, May 25, 2021 @ 11:24:14
  Author: bgyorgy
Revision: 945683

Remove fix for metainfo file

It must be fixed in appdtream-generator.

Modified:
  ciano/trunk/PKGBUILD
  torrential/trunk/PKGBUILD
  vocal/trunk/PKGBUILD

---------------------------+
 ciano/trunk/PKGBUILD      |    6 +-----
 torrential/trunk/PKGBUILD |    6 +-----
 vocal/trunk/PKGBUILD      |    6 +-----
 3 files changed, 3 insertions(+), 15 deletions(-)

Modified: ciano/trunk/PKGBUILD
===================================================================
--- ciano/trunk/PKGBUILD	2021-05-25 11:23:09 UTC (rev 945682)
+++ ciano/trunk/PKGBUILD	2021-05-25 11:24:14 UTC (rev 945683)
@@ -1,7 +1,6 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=ciano
-_id=com.github.robertsanseries.ciano
 pkgver=0.2.4
 pkgrel=3
 pkgdesc='Multimedia file converter focused on simplicity'
@@ -38,9 +37,6 @@
   # Add support for more formats
   patch -Np1 -i ../0001-Add-support-for-conversion-and-selection-of-OPUS-aud.patch
   patch -Np1 -i ../0001-Add-support-for-conversion-and-selection-of-WEBP-ima.patch
-
-  # Fix metainfo file
-  sed -i "/<id>/a <launchable type=\"desktop-id\">$_id.desktop</launchable>" data/$_id.appdata.xml.in
 }
 
 build() {
@@ -50,5 +46,5 @@
 
 package() {
   DESTDIR="$pkgdir" meson install -C build
-  ln -s $_id "$pkgdir/usr/bin/$pkgname"
+  ln -s com.github.robertsanseries.ciano "$pkgdir/usr/bin/$pkgname"
 }

Modified: torrential/trunk/PKGBUILD
===================================================================
--- torrential/trunk/PKGBUILD	2021-05-25 11:23:09 UTC (rev 945682)
+++ torrential/trunk/PKGBUILD	2021-05-25 11:24:14 UTC (rev 945683)
@@ -1,7 +1,6 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=torrential
-_id=com.github.davidmhewitt.torrential
 pkgver=1.1.0
 pkgrel=5
 pkgdesc='Simple BitTorrent client for Pantheon'
@@ -49,9 +48,6 @@
   # Don't treat warnings as fatal
   sed -i '/--fatal-warnings/d' CMakeLists.txt
 
-  # Fix metainfo file
-  sed -i "/<id>/a <launchable type=\"desktop-id\">$_id.desktop</launchable>" data/$_id.appdata.xml
-
   git submodule init
   git submodule set-url transmission "$srcdir/transmission-torrential"
   git submodule update
@@ -74,5 +70,5 @@
 
 package() {
   DESTDIR="$pkgdir" cmake --install build
-  ln -s $_id "$pkgdir/usr/bin/$pkgname"
+  ln -s com.github.davidmhewitt.torrential "$pkgdir/usr/bin/$pkgname"
 }

Modified: vocal/trunk/PKGBUILD
===================================================================
--- vocal/trunk/PKGBUILD	2021-05-25 11:23:09 UTC (rev 945682)
+++ vocal/trunk/PKGBUILD	2021-05-25 11:24:14 UTC (rev 945683)
@@ -3,7 +3,6 @@
 # Contributor: Nathan Dyer <https://github.com/nathandyer>
 
 pkgname=vocal
-_id=com.github.needleandthread.vocal
 pkgver=2.4.2
 pkgrel=4
 pkgdesc='Powerful, beautiful and simple podcast client for Pantheon'
@@ -25,9 +24,6 @@
 
   # Remove unused webkit2gtk dependency
   sed -i 's/webkit2gtk-4.0//' CMakeLists.txt
-
-  # Fix metainfo file
-  sed -i "/<id>/a <launchable type=\"desktop-id\">$_id.desktop</launchable>" data/$_id.appdata.xml
 }
 
 build() {
@@ -37,5 +33,5 @@
 
 package() {
   DESTDIR="$pkgdir" cmake --install build
-  ln -s $_id "$pkgdir/usr/bin/$pkgname"
+  ln -s com.github.needleandthread.vocal "$pkgdir/usr/bin/$pkgname"
 }



More information about the arch-commits mailing list