Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 05ae5237b1bc23399898f9c06463cfe2b5bba499 Mon Sep 17 00:00:00 2001
|
||||
From: James Hilliard <james.hilliard1@gmail.com>
|
||||
Date: Tue, 14 Sep 2021 17:48:03 -0600
|
||||
Subject: [PATCH] Don't require gstd-check-user-xenv.sh for systemd service
|
||||
|
||||
The gstd-check-user-xenv.sh script does not appear to be required
|
||||
for running the gstd service so we shouldn't require it for the
|
||||
service to start.
|
||||
|
||||
Note that the non-systemd init script already does not require this.
|
||||
|
||||
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
|
||||
[Upstream status:
|
||||
https://github.com/RidgeRun/gstd-1.x/pull/251]
|
||||
---
|
||||
init/gstd.service.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/init/gstd.service.in b/init/gstd.service.in
|
||||
index 3d20ecd..9125983 100644
|
||||
--- a/init/gstd.service.in
|
||||
+++ b/init/gstd.service.in
|
||||
@@ -6,7 +6,7 @@ StartLimitIntervalSec=30
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
-ExecStartPre=@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh
|
||||
+ExecStartPre=-@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh
|
||||
ExecStart=@prefix@/bin/gstd
|
||||
|
||||
[Install]
|
||||
--
|
||||
2.25.1
|
||||
|
||||
18
package/gstreamer1/gstd/Config.in
Normal file
18
package/gstreamer1/gstd/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_GSTD
|
||||
bool "gstd"
|
||||
depends on BR2_USE_WCHAR # libglib2 -> gettext, libedit, libsoup
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libsoup
|
||||
depends on BR2_USE_MMU # libdaemon, libedit, libglib2
|
||||
select BR2_PACKAGE_GSTREAMER1_GST_DEBUG # gst_debug_bin_to_dot_data
|
||||
select BR2_PACKAGE_JANSSON
|
||||
select BR2_PACKAGE_JSON_GLIB
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
select BR2_PACKAGE_LIBEDIT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBSOUP
|
||||
help
|
||||
GStreamer Daemon, also called gstd, is a GStreamer framework
|
||||
for controlling audio and video streaming using an
|
||||
InterProcess Communication protocol.
|
||||
|
||||
https://developer.ridgerun.com/wiki/index.php?title=GStreamer_Daemon
|
||||
3
package/gstreamer1/gstd/gstd.hash
Normal file
3
package/gstreamer1/gstd/gstd.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 d9d3205551482acd6b7ec2a865407b60efce252e8f747553628401c84f88c556 gstd-0.15.2.tar.gz
|
||||
sha256 10162be9f7ddb9e98c22c3edd0f78d62ab88f0ca8b1cc968bd85d5d665489d90 COPYING
|
||||
40
package/gstreamer1/gstd/gstd.mk
Normal file
40
package/gstreamer1/gstd/gstd.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# gstd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSTD_VERSION = 0.15.2
|
||||
GSTD_SITE = $(call github,RidgeRun,gstd-1.x,v$(GSTD_VERSION))
|
||||
GSTD_LICENSE_FILES = COPYING
|
||||
GSTD_LICENSE = LGPL-2.1+
|
||||
|
||||
GSTD_DEPENDENCIES = \
|
||||
$(BR2_COREUTILS_HOST_DEPENDENCY) \
|
||||
gstreamer1 \
|
||||
jansson \
|
||||
json-glib \
|
||||
libdaemon \
|
||||
libedit \
|
||||
libglib2 \
|
||||
libsoup
|
||||
|
||||
GSTD_CONF_OPTS = \
|
||||
-Denable-tests=disabled \
|
||||
-Denable-examples=disabled \
|
||||
-Denable-gtk-doc=false \
|
||||
-Denable-python=disabled \
|
||||
-Dwith-gstd-runstatedir=/var/run/gstd \
|
||||
-Dwith-gstd-logstatedir=/var/log/gstd \
|
||||
-Dwith-gstd-systemddir=/usr/lib/systemd/system
|
||||
|
||||
GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled
|
||||
GSTD_DEPENDENCIES += systemd
|
||||
else
|
||||
GSTD_CONF_OPTS += -Denable-systemd=disabled -Denable-initd=enabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user