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

archrelease: copy trunk to community-any

Added:
  gpodder/repos/community-any/PKGBUILD
    (from rev 920488, gpodder/trunk/PKGBUILD)
Deleted:
  gpodder/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-04-21 09:38:10 UTC (rev 920488)
+++ PKGBUILD    2021-04-21 09:38:17 UTC (rev 920489)
@@ -1,28 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Jan Magnus Brevik <janmbre...@gmail.com>
-
-pkgname=gpodder
-pkgver=3.10.19
-pkgrel=3
-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')
-makedepends=('intltool')
-optdepends=('libnotify: Gtk+ Desktop Notifications extension'
-            'python-mutagen: Tag downloaded files, Remove cover art from OGG 
files extensions'
-            'webkit2gtk: HTML show notes'
-            'youtube-dl: Youtube-dl extension')
-source=("http://github.com/gpodder/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha256sums=('4a2e6fcc7e674a2b5731ac3cda4a18ccec462c66e8d4a7f0b69a296b0f8775ac')
-
-build() {
-  cd $pkgname-$pkgver
-  make messages
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: gpodder/repos/community-any/PKGBUILD (from rev 920488, 
gpodder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-04-21 09:38:17 UTC (rev 920489)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan Magnus Brevik <janmbre...@gmail.com>
+
+pkgname=gpodder
+pkgver=3.10.19
+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')
+makedepends=('intltool')
+optdepends=('libnotify: Gtk+ Desktop Notifications extension'
+            'python-mutagen: Tag downloaded files, Remove cover art from OGG 
files extensions'
+            'webkit2gtk: HTML show notes'
+            'youtube-dl: Youtube-dl extension')
+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
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to