From 8974596836945eada8e162844fb87f88adec9100 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Tue, 13 Apr 2021 10:23:54 +0200 Subject: [PATCH] package/gerbera: bump to version 1.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Also recreate config.xml by building and running Gerbera using: ``` ~/buildroot/output/target/usr/bin/gerbera --create-config > package/gerbera/config.xml ``` Note, that Gerbera sets the `` parameter now to the runtime user's home by default when generating the script. This is not appropriate when running Gerbera on an embedded Linux system as we usually do not have multiple users or even users at all. Therefore, we set the home directory to /var/lib/gerbera`. As this directory is not created when installing Gerbera to the target, it is created by the start script. Signed-off-by: Jörg Krause Signed-off-by: Thomas Petazzoni --- package/gerbera/S99gerbera | 3 + package/gerbera/config.xml | 144 +++++++++++++++++------------------ package/gerbera/gerbera.hash | 2 +- package/gerbera/gerbera.mk | 2 +- 4 files changed, 73 insertions(+), 78 deletions(-) diff --git a/package/gerbera/S99gerbera b/package/gerbera/S99gerbera index d1c74c887c..e5a70e78a8 100644 --- a/package/gerbera/S99gerbera +++ b/package/gerbera/S99gerbera @@ -8,6 +8,9 @@ GERBERA_ARGS="-c /etc/gerbera/config.xml -l /var/log/gerbera.log" # shellcheck source=/dev/null [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" +# (Re)create home directory +mkdir -p /var/lib/$DAEMON + start() { printf 'Starting %s: ' "$DAEMON" # shellcheck disable=SC2086 # we need the word splitting diff --git a/package/gerbera/config.xml b/package/gerbera/config.xml index ddaaa7f18f..30d70e21f7 100644 --- a/package/gerbera/config.xml +++ b/package/gerbera/config.xml @@ -1,12 +1,13 @@ + - + Gerbera @@ -28,23 +29,6 @@ gerbera.db - - - - - * @@ -55,88 +39,96 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - + + + - - audio/L16 + + audio/mpeg no yes no - - + + video/mpeg yes yes yes - - + + diff --git a/package/gerbera/gerbera.hash b/package/gerbera/gerbera.hash index e584db1354..cdd1fbff60 100644 --- a/package/gerbera/gerbera.hash +++ b/package/gerbera/gerbera.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 cbe7ea78977db8c02fcca1759ed149f199a590afaf4a6d21ffcca8623d1a0cc5 gerbera-1.6.4.tar.gz +sha256 02044abd1363c5f5604c5830e560b102ac456179afbf3be60e65847f47f4c599 gerbera-1.8.0.tar.gz sha256 cae4138373be41fd2be75faf41ce7efbcf49fb17d0e05ad1c51cc01ac335b9b6 LICENSE.md diff --git a/package/gerbera/gerbera.mk b/package/gerbera/gerbera.mk index ccb3b2eeb5..69d52e2677 100644 --- a/package/gerbera/gerbera.mk +++ b/package/gerbera/gerbera.mk @@ -4,7 +4,7 @@ # ################################################################################ -GERBERA_VERSION = 1.6.4 +GERBERA_VERSION = 1.8.0 GERBERA_SITE = $(call github,gerbera,gerbera,v$(GERBERA_VERSION)) GERBERA_LICENSE = GPL-2.0 GERBERA_LICENSE_FILES = LICENSE.md -- 2.30.2