Browse Source

Merge pull request #10007 from neheb/lcdg

lcdgrilo: Fix compilation with newer Vala
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
3e33919d10
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 9 deletions
  1. +9
    -9
      multimedia/lcdgrilo/Makefile
  2. +11
    -0
      multimedia/lcdgrilo/patches/020-vala.patch

+ 9
- 9
multimedia/lcdgrilo/Makefile View File

@ -9,20 +9,20 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lcdgrilo PKG_NAME:=lcdgrilo
PKG_VERSION:=0.0.12 PKG_VERSION:=0.0.12
PKG_RELEASE:=2
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.flyn.org/projects/lcdgrilo PKG_SOURCE_URL:=https://www.flyn.org/projects/lcdgrilo
PKG_HASH:=2e5028fff7a90b1a3688c466f048e978a52d9a4da20a382546d5e5bd42e2fc6a PKG_HASH:=2e5028fff7a90b1a3688c466f048e978a52d9a4da20a382546d5e5bd42e2fc6a
PKG_BUILD_DEPENDS:=vala/host
PKG_INSTALL:=1
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=vala/host
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/nls.mk
@ -32,7 +32,7 @@ define Package/lcdgrilo
CATEGORY:=Multimedia CATEGORY:=Multimedia
DEPENDS:=+grilo +grilo-plugins +libgee +libgstreamer1 DEPENDS:=+grilo +grilo-plugins +libgee +libgstreamer1
TITLE:=lcdgrilo TITLE:=lcdgrilo
URL:=http://www.flyn.org/projects/lcdgrilo/
URL:=https://www.flyn.org/projects/lcdgrilo/
endef endef
define Package/lcdgrilo/decription define Package/lcdgrilo/decription


+ 11
- 0
multimedia/lcdgrilo/patches/020-vala.patch View File

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

Loading…
Cancel
Save