[arch-commits] Commit in pantheon-videos/trunk (2 files)

Jan de Groot jgc at archlinux.org
Mon Nov 20 22:33:04 UTC 2017


    Date: Monday, November 20, 2017 @ 22:33:01
  Author: jgc
Revision: 267658

upgpkg: pantheon-videos 0.2.4-2

granite 0.5 rebuild

Added:
  pantheon-videos/trunk/remove-glib-application-set-default.patch
Modified:
  pantheon-videos/trunk/PKGBUILD

-------------------------------------------+
 PKGBUILD                                  |   10 +++++++---
 remove-glib-application-set-default.patch |   22 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-20 22:26:04 UTC (rev 267657)
+++ PKGBUILD	2017-11-20 22:33:01 UTC (rev 267658)
@@ -4,7 +4,7 @@
 
 pkgname=pantheon-videos
 pkgver=0.2.4
-pkgrel=1
+pkgrel=2
 pkgdesc='The Pantheon Video Player'
 arch=('x86_64')
 url='https://github.com/elementary/videos'
@@ -21,8 +21,10 @@
             'gst-plugins-good: "Good" plugin libraries'
             'gst-plugins-bad: "Bad" plugin libraries'
             'gst-plugins-ugly: "Ugly" plugin libraries')
-source=("pantheon-videos-${pkgver}.tar.gz::https://github.com/elementary/videos/archive/${pkgver}.tar.gz")
-sha256sums=('b79c995cd48b4c4a5064a66673449f981ca5d1085e690c939544939061513a1f')
+source=("pantheon-videos-${pkgver}.tar.gz::https://github.com/elementary/videos/archive/${pkgver}.tar.gz"
+        remove-glib-application-set-default.patch)
+sha256sums=('b79c995cd48b4c4a5064a66673449f981ca5d1085e690c939544939061513a1f'
+            'eb95236f813defcd9b2cb4dc58299188d0a8556d77e20c253127d09af1759df9')
 
 prepare() {
   if [[ -d build ]]; then
@@ -29,6 +31,8 @@
     rm -rf build
   fi
   mkdir build
+  cd videos-$pkgver
+  patch -Np1 -i ../remove-glib-application-set-default.patch
 }
 
 build() {

Added: remove-glib-application-set-default.patch
===================================================================
--- remove-glib-application-set-default.patch	                        (rev 0)
+++ remove-glib-application-set-default.patch	2017-11-20 22:33:01 UTC (rev 267658)
@@ -0,0 +1,22 @@
+From c09f272d9f27e4c0d6671a70a9bee2f77ac9687b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Corentin=20No=C3=ABl?= <corentin at elementary.io>
+Date: Sat, 4 Nov 2017 16:15:02 +0100
+Subject: [PATCH] GLib.Application.set_default is useless when there is only
+ one instance (#47)
+
+---
+ src/Audience.vala | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/Audience.vala b/src/Audience.vala
+index 15dcb3b..557fd76 100644
+--- a/src/Audience.vala
++++ b/src/Audience.vala
+@@ -59,7 +59,6 @@ namespace Audience {
+             Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = true;
+             this.flags |= GLib.ApplicationFlags.HANDLES_OPEN;
+             settings = new Settings ();
+-            set_default ();
+         }
+ 
+         private static App app; // global App instance


More information about the arch-commits mailing list