[arch-commits] Commit in gpodder/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Wed Apr 21 09:38:10 UTC 2021


    Date: Wednesday, April 21, 2021 @ 09:38:09
  Author: bgyorgy
Revision: 920487

upgpkg: gpodder 3.10.19-4: Use gio open directly instead of xdg-open

Modified:
  gpodder/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-21 09:33:10 UTC (rev 920486)
+++ PKGBUILD	2021-04-21 09:38:09 UTC (rev 920487)
@@ -3,12 +3,13 @@
 
 pkgname=gpodder
 pkgver=3.10.19
-pkgrel=3
+pkgrel=4
 pkgdesc='Podcast client written in Python using GTK'
 arch=('any')
 url='https://gpodder.github.io/'
 license=('GPL3')
-depends=('gtk3' 'python-cairo' 'dbus-python' 'python-gobject' 'python-mygpoclient' 'python-podcastparser' 'python-requests')
+depends=('gtk3' 'python-cairo' 'dbus-python' 'python-gobject' 'python-mygpoclient'
+         'python-podcastparser' 'python-requests')
 makedepends=('intltool')
 optdepends=('libnotify: Gtk+ Desktop Notifications extension'
             'python-mutagen: Tag downloaded files, Remove cover art from OGG files extensions'
@@ -17,6 +18,12 @@
 source=("http://github.com/gpodder/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
 sha256sums=('4a2e6fcc7e674a2b5731ac3cda4a18ccec462c66e8d4a7f0b69a296b0f8775ac')
 
+prepare() {
+  cd $pkgname-$pkgver
+  # Use gio open directly instead of xdg-open
+  sed -i "s/\['xdg-open', filename\]/['gio', 'open', filename]/" src/gpodder/util.py
+}
+
 build() {
   cd $pkgname-$pkgver
   make messages



More information about the arch-commits mailing list