lcdgrilo: Fix compilation with newer Vala

It seems semantics changed slightly.

Cleaned up Makefile for consistency between packages.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-09-15 20:06:09 -07:00
parent 6bcfacca5e
commit 16fb706641
2 changed files with 20 additions and 9 deletions
@@ -0,0 +1,11 @@
--- a/src/lcdgrilo.vala
+++ b/src/lcdgrilo.vala
@@ -47,7 +47,7 @@ private class LCDPlayer {
private int current = 0;
private Transitions transitions;
private MainLoop loop;
- private Gee.ArrayList<Grl.Source> sources = new Gee.ArrayList<unowned Grl.Source> ();
+ private Gee.ArrayList<weak Grl.Source> sources = new Gee.ArrayList<unowned Grl.Source> ();
private uint watch_id = 0;
public LCDPlayer () {