io.elementary.videos: update to 2.6.2.

This commit is contained in:
Cameron Nemo 2018-10-11 16:07:06 -07:00 committed by maxice8
parent 83e29efaee
commit b53a590f56
2 changed files with 4 additions and 26 deletions

View File

@ -1,22 +0,0 @@
commit 59dc6d61b0ad4a7e91cdda076169cd328f58a0c8
Author: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Sat Aug 25 17:20:23 2018 +0200
Adapt to type change of Gdk.Key constants to fix build with valac 0.42
diff --git src/Window.vala src/Window.vala
index 6213661..cffb559 100644
--- src/Window.vala
+++ src/Window.vala
@@ -225,7 +225,11 @@ public class Audience.Window : Gtk.Window {
/** Returns true if the code parameter matches the keycode of the keyval parameter for
* any keyboard group or level (in order to allow for non-QWERTY keyboards) **/
+#if VALA_0_42
+ public bool match_keycode (uint keyval, uint code) {
+#else
public bool match_keycode (int keyval, uint code) {
+#endif
Gdk.KeymapKey [] keys;
Gdk.Keymap keymap = Gdk.Keymap.get_for_display (Gdk.Display.get_default ());
if (keymap.get_entries_for_keyval (keyval, out keys)) {

View File

@ -1,7 +1,7 @@
# Template file for 'io.elementary.videos'
pkgname=io.elementary.videos
version=2.6.1
revision=3
version=2.6.2
revision=1
wrksrc="videos-${version}"
build_style=meson
hostmakedepends="intltool pkg-config vala AppStream"
@ -11,5 +11,5 @@ short_desc="Video player and library app designed for elementary OS"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/videos"
distfiles="https://github.com/elementary/videos/archive/${version}.tar.gz"
checksum=60cdb28499341a0e78c104b17752d7cf0c4b20d048d1f2f61722ee8d5095c19c
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=7ac4e4c5b1b985e79f7a191e3bf086a6375656f9c3d5190076f3015baca0e3e1