FeedReader: fix build with vala>=0.36 (#6408)

This commit is contained in:
Alessio Sergi 2017-05-16 16:51:27 +02:00
parent 38124af610
commit 3d4df7571d
2 changed files with 22 additions and 1 deletions

View File

@ -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 {

View File

@ -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)"