mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH v2] gst-plugins-good1: select SYSTEMD_UDEV_PERSISTENT_V4L for systemd/v4l2 use case
Date: Thu, 24 Mar 2022 16:51:37 +0100	[thread overview]
Message-ID: <20220324155137.4161708-1-bst@pengutronix.de> (raw)

Without SYSTEMD_UDEV_PERSISTENT_V4L v4l2deviceprovider (and
gst-device-monitor-1.0) will not find any v4l2 devices.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- select SYSTEMD only if GST_PLUGINS_GOOD1_V4L2 is enabled
- add RUNTIME condition since these are runtime dependencies
---
 rules/gst-plugins-good1.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/rules/gst-plugins-good1.in b/rules/gst-plugins-good1.in
index aeac2cbc8..ab1d382ac 100644
--- a/rules/gst-plugins-good1.in
+++ b/rules/gst-plugins-good1.in
@@ -27,6 +27,8 @@ menuconfig GST_PLUGINS_GOOD1
 	select QT5_MODULE_QTDECLARATIVE	if GST_PLUGINS_GOOD1_QT5
 	select LIBSHOUT			if GST_PLUGINS_GOOD1_SHOUT2
 	select LIBSOUP			if GST_PLUGINS_GOOD1_SOUP
+	select SYSTEMD			if GST_PLUGINS_GOOD1_V4L2 && GST_PLUGINS_GOOD1_SYSTEMD && RUNTIME
+	select SYSTEMD_UDEV_PERSISTENT_V4L	if GST_PLUGINS_GOOD1_V4L2 && GST_PLUGINS_GOOD1_SYSTEMD && RUNTIME
 	select SPEEX			if GST_PLUGINS_GOOD1_SPEEX
 	select TWOLAME			if GST_PLUGINS_GOOD1_TWOLAME
 	select LIBGUDEV			if GST_PLUGINS_GOOD1_V4L2
@@ -356,6 +358,10 @@ config GST_PLUGINS_GOOD1_SPEEX
 	help
 	  Speex audio codec plugin
 
+config GST_PLUGINS_GOOD1_SYSTEMD
+	bool
+	default INITMETHOD_SYSTEMD
+
 config GST_PLUGINS_GOOD1_TAGLIB
 	bool
 	# needs libtag
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2022-03-24 15:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 15:51 Bastian Krause [this message]
2022-03-30  7:25 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220324155137.4161708-1-bst@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox