[arch-commits] Commit in vocal/trunk (PKGBUILD remove-about.patch)

Morten Linderud foxboron at archlinux.org
Thu Apr 1 15:18:07 UTC 2021


    Date: Thursday, April 1, 2021 @ 15:18:07
  Author: foxboron
Revision: 910849

upgpkg: vocal 2.4.2-3 - granite 6.0.0 rebuild

Removed about section with patch.
https://github.com/elementary/granite/pull/450

Added:
  vocal/trunk/remove-about.patch
Modified:
  vocal/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   13 ++++++++++---
 remove-about.patch |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-01 15:15:57 UTC (rev 910848)
+++ PKGBUILD	2021-04-01 15:18:07 UTC (rev 910849)
@@ -4,7 +4,7 @@
 
 pkgname=vocal
 pkgver=2.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Powerful, beautiful and simple podcast client for the modern free desktop'
 arch=(x86_64)
 url='https://vocalproject.net/'
@@ -11,9 +11,16 @@
 license=(GPL3)
 depends=(clutter-gst clutter-gtk granite gst-plugins-good gst-libav gvfs libnotify)
 makedepends=(cmake vala webkit2gtk)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/needle-and-thread/$pkgname/archive/$pkgver.tar.gz")
-sha512sums=('2f5b09c1ca1c3a513c161d1973033d6ce3e2c6805f4390d2bc70764e95a5b1a1ed9e681d602d2a5be44cb145cbdb6885a7c8aff0a2005a24792171a200ae52de')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/needle-and-thread/$pkgname/archive/$pkgver.tar.gz"
+        "remove-about.patch")
+sha512sums=('2f5b09c1ca1c3a513c161d1973033d6ce3e2c6805f4390d2bc70764e95a5b1a1ed9e681d602d2a5be44cb145cbdb6885a7c8aff0a2005a24792171a200ae52de'
+            'f21019b38e91d56bab885b9975cb63dfc773a01463fa4d526264e4411670b4201b294f40c6211341febc9a28a3178b6547b231c6ddfa48589da1056c99718c3c')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 < "$srcdir/remove-about.patch" 
+}
+
 build() {
   cd $pkgname-$pkgver
   cmake . -DCMAKE_INSTALL_PREFIX=/usr

Added: remove-about.patch
===================================================================
--- remove-about.patch	                        (rev 0)
+++ remove-about.patch	2021-04-01 15:18:07 UTC (rev 910849)
@@ -0,0 +1,39 @@
+diff --git a/src/MainWindow.vala b/src/MainWindow.vala
+index 957b1f9..3bf5016 100644
+--- a/src/MainWindow.vala
++++ b/src/MainWindow.vala
+@@ -414,10 +414,6 @@ namespace Vocal {
+             toolbar.import_podcasts_selected.connect (() => {
+                 import_podcasts();
+             });
+-
+-            toolbar.about_selected.connect (() => {
+-                controller.app.show_about (this);
+-            });
+             
+             toolbar.theme_toggled.connect (() => {
+                 if (controller.settings.dark_mode_enabled) {
+diff --git a/src/Widgets/Toolbar.vala b/src/Widgets/Toolbar.vala
+index 1da6a48..403998e 100644
+--- a/src/Widgets/Toolbar.vala
++++ b/src/Widgets/Toolbar.vala
+@@ -38,7 +38,6 @@ namespace Vocal {
+ 		public signal void seek_backward_selected();
+ 		public signal void downloads_selected();
+         public signal void check_for_updates_selected();
+-        public signal void about_selected ();
+         public signal void theme_toggled ();
+ 
+         public Gtk.Menu             menu;
+@@ -193,11 +192,6 @@ namespace Vocal {
+             });
+             //menu.add(donate);
+ 
+-            var about = new Gtk.MenuItem.with_label (_("About"));
+-            about.activate.connect (() => {
+-                about_selected ();
+-            });
+-            menu.add (about);
+             menu.show_all();
+ 
+             // Create the AppMenu



More information about the arch-commits mailing list