[arch-commits] Commit in pantheon-videos/repos (3 files)
Jan de Groot
jgc at archlinux.org
Mon Nov 20 22:33:17 UTC 2017
Date: Monday, November 20, 2017 @ 22:33:15
Author: jgc
Revision: 267659
archrelease: copy trunk to community-staging-x86_64
Added:
pantheon-videos/repos/community-staging-x86_64/
pantheon-videos/repos/community-staging-x86_64/PKGBUILD
(from rev 267658, pantheon-videos/trunk/PKGBUILD)
pantheon-videos/repos/community-staging-x86_64/remove-glib-application-set-default.patch
(from rev 267658, pantheon-videos/trunk/remove-glib-application-set-default.patch)
-------------------------------------------+
PKGBUILD | 52 ++++++++++++++++++++++++++++
remove-glib-application-set-default.patch | 22 +++++++++++
2 files changed, 74 insertions(+)
Copied: pantheon-videos/repos/community-staging-x86_64/PKGBUILD (from rev 267658, pantheon-videos/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-11-20 22:33:15 UTC (rev 267659)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
+
+pkgname=pantheon-videos
+pkgver=0.2.4
+pkgrel=2
+pkgdesc='The Pantheon Video Player'
+arch=('x86_64')
+url='https://github.com/elementary/videos'
+license=('GPL3')
+groups=('pantheon')
+depends=('clutter' 'clutter-gst' 'clutter-gtk' 'gdk-pixbuf2' 'glib2' 'glibc'
+ 'gst-plugins-base-libs' 'gstreamer' 'gtk3' 'libgee' 'libx11'
+ 'libgranite.so')
+makedepends=('cmake' 'intltool' 'vala')
+replaces=('audience')
+provides=('audience')
+conflicts=('audience')
+optdepends=('gst-plugins-base: "Base" plugin libraries'
+ '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"
+ remove-glib-application-set-default.patch)
+sha256sums=('b79c995cd48b4c4a5064a66673449f981ca5d1085e690c939544939061513a1f'
+ 'eb95236f813defcd9b2cb4dc58299188d0a8556d77e20c253127d09af1759df9')
+
+prepare() {
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+ cd videos-$pkgver
+ patch -Np1 -i ../remove-glib-application-set-default.patch
+}
+
+build() {
+ cd build
+
+ cmake ../videos-${pkgver} \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DGSETTINGS_COMPILE='OFF'
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C build install
+}
+
+# vim: ts=2 sw=2 et:
Copied: pantheon-videos/repos/community-staging-x86_64/remove-glib-application-set-default.patch (from rev 267658, pantheon-videos/trunk/remove-glib-application-set-default.patch)
===================================================================
--- community-staging-x86_64/remove-glib-application-set-default.patch (rev 0)
+++ community-staging-x86_64/remove-glib-application-set-default.patch 2017-11-20 22:33:15 UTC (rev 267659)
@@ -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