[arch-commits] Commit in vocal/repos (3 files)
Morten Linderud
foxboron at archlinux.org
Thu Apr 1 15:19:07 UTC 2021
Date: Thursday, April 1, 2021 @ 15:19:06
Author: foxboron
Revision: 910851
archrelease: copy trunk to community-staging-x86_64
Added:
vocal/repos/community-staging-x86_64/
vocal/repos/community-staging-x86_64/PKGBUILD
(from rev 910850, vocal/trunk/PKGBUILD)
vocal/repos/community-staging-x86_64/remove-about.patch
(from rev 910850, vocal/trunk/remove-about.patch)
--------------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
remove-about.patch | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: vocal/repos/community-staging-x86_64/PKGBUILD (from rev 910850, vocal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-04-01 15:19:06 UTC (rev 910851)
@@ -0,0 +1,33 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Marcin Tydelski <marcin.tydelski at gmail.com>
+# Contributor: Nathan Dyer <https://github.com/nathandyer>
+
+pkgname=vocal
+pkgver=2.4.2
+pkgrel=3
+pkgdesc='Powerful, beautiful and simple podcast client for the modern free desktop'
+arch=(x86_64)
+url='https://vocalproject.net/'
+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"
+ "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
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: vocal/repos/community-staging-x86_64/remove-about.patch (from rev 910850, vocal/trunk/remove-about.patch)
===================================================================
--- community-staging-x86_64/remove-about.patch (rev 0)
+++ community-staging-x86_64/remove-about.patch 2021-04-01 15:19:06 UTC (rev 910851)
@@ -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