Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From f3a49ad1a4ba172e97bd860bc067f7e9ebe69509 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 8 Jan 2018 13:27:42 +0100
|
||||
Subject: [PATCH] Allow UI build without gstreamer-video
|
||||
|
||||
If EXAMPLE_UI dependencies are not met, only display a warning.
|
||||
Indeed, currently, we can't build rygel UI without gstreamer-video which
|
||||
is only a dependency of fullscreen-renderer application.
|
||||
|
||||
fullscreen-renderer won't be build without gstreamer as HAVE_GSTREAMER
|
||||
has to be true to check HAVE_UI in examples/Makefile.am
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
configure.ac | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 00b94da..d140a27 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -359,7 +359,11 @@ if test x$try_ui = xyes ; then
|
||||
[$RYGEL_COMMON_MODULES gio-2.0 >= $GIO_REQUIRED
|
||||
gssdp-1.0 >= $GSSDP_REQUIRED
|
||||
gstreamer-video-1.0 >= $GSTREAMER_REQUIRED
|
||||
- gtk+-3.0 >= $GTK_REQUIRED])
|
||||
+ gtk+-3.0 >= $GTK_REQUIRED],,
|
||||
+ [
|
||||
+ AC_MSG_WARN([Example UI dependencies not found.])
|
||||
+ AC_MSG_WARN([Example UI applications will not be built.])
|
||||
+ ])
|
||||
],
|
||||
[
|
||||
AC_MSG_WARN([UI dependencies not found.])
|
||||
--
|
||||
2.7.4
|
||||
|
||||
51
bsp/buildroot/package/rygel/Config.in
Normal file
51
bsp/buildroot/package/rygel/Config.in
Normal file
@@ -0,0 +1,51 @@
|
||||
config BR2_PACKAGE_RYGEL
|
||||
bool "rygel"
|
||||
depends on BR2_USE_WCHAR # gupnp-av
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gupnp-av
|
||||
depends on BR2_USE_MMU # gupnp-av
|
||||
select BR2_PACKAGE_GUPNP_AV
|
||||
select BR2_PACKAGE_LIBGEE
|
||||
select BR2_PACKAGE_LIBMEDIAART
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
Rygel is a home media solution (UPnP AV MediaServer) that
|
||||
allows you to easily share audio, video and pictures to other
|
||||
devices.
|
||||
|
||||
Additionally, media player software may use Rygel to become a
|
||||
MediaRenderer that may be controlled remotely by a UPnP or
|
||||
DLNA Controller.
|
||||
|
||||
Rygel achieves interoperability with other devices in the
|
||||
market by trying to conform to the very strict requirements of
|
||||
DLNA and by converting media on-the-fly to formats that client
|
||||
devices can handle.
|
||||
|
||||
Most Rygel functionality is implemented through a plug-in
|
||||
mechanism.
|
||||
|
||||
https://wiki.gnome.org/Projects/Rygel
|
||||
|
||||
if BR2_PACKAGE_RYGEL
|
||||
|
||||
choice
|
||||
prompt "media engine"
|
||||
default BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE
|
||||
|
||||
config BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE
|
||||
bool "simple"
|
||||
|
||||
config BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1
|
||||
bool "gstreamer1"
|
||||
select BR2_PACKAGE_GDK_PIXBUF
|
||||
select BR2_PACKAGE_GUPNP_DLNA
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
|
||||
endchoice
|
||||
|
||||
comment "rygel needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
endif # BR2_PACKAGE_RYGEL
|
||||
37
bsp/buildroot/package/rygel/S99rygel
Normal file
37
bsp/buildroot/package/rygel/S99rygel
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
|
||||
NAME=rygel
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
DAEMON=/usr/bin/$NAME
|
||||
|
||||
start() {
|
||||
printf "Starting $NAME: "
|
||||
start-stop-daemon -S -q -m -b -p $PIDFILE --exec $DAEMON
|
||||
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
||||
}
|
||||
stop() {
|
||||
printf "Stopping $NAME: "
|
||||
start-stop-daemon -K -q -p $PIDFILE
|
||||
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
||||
}
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
;;
|
||||
restart|reload)
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart|reload}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
||||
6
bsp/buildroot/package/rygel/rygel.hash
Normal file
6
bsp/buildroot/package/rygel/rygel.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Hash from: http://ftp.gnome.org/pub/gnome/sources/rygel/0.36/rygel-0.36.0.sha256sum:
|
||||
sha256 31e8ade78b4ea59978d1b59056fa5cd8aef6b9c1457d3dd06de4d2e75a01813f rygel-0.36.0.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
sha256 c7d881be8ae01162510e982a32001446c6d6d18a9cecc89cc41a28bd215a0262 COPYING.logo
|
||||
74
bsp/buildroot/package/rygel/rygel.mk
Normal file
74
bsp/buildroot/package/rygel/rygel.mk
Normal file
@@ -0,0 +1,74 @@
|
||||
################################################################################
|
||||
#
|
||||
# rygel
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RYGEL_VERSION_MAJOR = 0.36
|
||||
RYGEL_VERSION = $(RYGEL_VERSION_MAJOR).0
|
||||
RYGEL_SOURCE = rygel-$(RYGEL_VERSION).tar.xz
|
||||
RYGEL_SITE = http://ftp.gnome.org/pub/gnome/sources/rygel/$(RYGEL_VERSION_MAJOR)
|
||||
RYGEL_LICENSE = LGPL-2.1+, CC-BY-SA-3.0 (logo)
|
||||
RYGEL_LICENSE_FILES = COPYING COPYING.logo
|
||||
RYGEL_DEPENDENCIES = \
|
||||
gupnp-av \
|
||||
libgee \
|
||||
libmediaart \
|
||||
sqlite
|
||||
RYGEL_INSTALL_STAGING = YES
|
||||
# We're patching configure.ac
|
||||
RYGEL_AUTORECONF = YES
|
||||
|
||||
RYGEL_CONF_OPTS += \
|
||||
--disable-apidocs \
|
||||
--disable-coverage \
|
||||
--disable-example-plugins \
|
||||
--enable-external-plugin \
|
||||
--enable-lms-plugin \
|
||||
--enable-mpris-plugin \
|
||||
--enable-ruih-plugin \
|
||||
--disable-tracker-plugin
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y)
|
||||
RYGEL_DEPENDENCIES += gdk-pixbuf
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y)
|
||||
RYGEL_CONF_OPTS += \
|
||||
--with-media-engine=gstreamer \
|
||||
--enable-playbin-plugin \
|
||||
--enable-media_export-plugin \
|
||||
--enable-gst-launch-plugin
|
||||
RYGEL_DEPENDENCIES += \
|
||||
gupnp-dlna \
|
||||
gst1-plugins-base \
|
||||
gstreamer1
|
||||
else ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE),y)
|
||||
RYGEL_CONF_OPTS += \
|
||||
--with-media-engine=simple \
|
||||
--disable-playbin-plugin \
|
||||
--disable-media_export-plugin \
|
||||
--disable-gst-launch-plugin
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
||||
RYGEL_CONF_OPTS += --with-ui
|
||||
RYGEL_DEPENDENCIES += libgtk3
|
||||
else
|
||||
RYGEL_CONF_OPTS += --without-ui
|
||||
endif
|
||||
|
||||
define RYGEL_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/rygel/S99rygel \
|
||||
$(TARGET_DIR)/etc/init.d/S99rygel
|
||||
endef
|
||||
|
||||
define RYGEL_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/rygel/rygel.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rygel.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/rygel.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rygel.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
10
bsp/buildroot/package/rygel/rygel.service
Normal file
10
bsp/buildroot/package/rygel/rygel.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Rygel DLNA server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/rygel
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user