From 3d4df7571d627e5f16d1acd1b1cca5ee3e8ec13c Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 16 May 2017 16:51:27 +0200 Subject: [PATCH] FeedReader: fix build with vala>=0.36 (#6408) --- ...c5a27e9d5883b726fb767daba994bae6662c.patch | 21 +++++++++++++++++++ srcpkgs/FeedReader/template | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/FeedReader/patches/eb2dc5a27e9d5883b726fb767daba994bae6662c.patch diff --git a/srcpkgs/FeedReader/patches/eb2dc5a27e9d5883b726fb767daba994bae6662c.patch b/srcpkgs/FeedReader/patches/eb2dc5a27e9d5883b726fb767daba994bae6662c.patch new file mode 100644 index 00000000000..4683e5a19e0 --- /dev/null +++ b/srcpkgs/FeedReader/patches/eb2dc5a27e9d5883b726fb767daba994bae6662c.patch @@ -0,0 +1,21 @@ +https://github.com/jangernert/FeedReader/issues/410 + +--- Constants.vala.in.orig ++++ Constants.vala.in +@@ -43,11 +43,11 @@ namespace FeedReader { + } + + public class MediaButton : GLib.Object { +- public const string PLAY = N_("Play"); +- public const string PAUSE = N_("Pause"); +- public const string MUTE = N_("Mute"); +- public const string UNMUTE = N_("Unmute"); +- public const string CLOSE = N_("Close"); ++ public const string PLAY = "Play"; ++ public const string PAUSE = "Pause"; ++ public const string MUTE = "Mute"; ++ public const string UNMUTE = "Unmute"; ++ public const string CLOSE = "Close"; + } + + public class Constants : GLib.Object { diff --git a/srcpkgs/FeedReader/template b/srcpkgs/FeedReader/template index 4e380c886ec..f7cd946b15c 100644 --- a/srcpkgs/FeedReader/template +++ b/srcpkgs/FeedReader/template @@ -1,7 +1,7 @@ # Template file for 'FeedReader' pkgname=FeedReader version=2.0.2 -revision=1 +revision=2 build_style=cmake hostmakedepends="pkg-config intltool itstool glib-devel vala $(vopt_if gir gobject-introspection)"