Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/7] package/gstreamer1/gstreamer1: add optional support for libcap
@ 2016-02-21 14:48 Bernd Kuhls
  2016-02-21 14:48 ` [Buildroot] [PATCH 2/7] package/gstreamer1/gst1-plugins-good: add optional support for libv4l Bernd Kuhls
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Bernd Kuhls @ 2016-02-21 14:48 UTC (permalink / raw)
  To: buildroot

When libcap was compiled before, gstreamer1 will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/gstreamer-1.0/gst-ptp-helper | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/gstreamer1/gstreamer1/gstreamer1.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk
index b788160..6761e8c 100644
--- a/package/gstreamer1/gstreamer1/gstreamer1.mk
+++ b/package/gstreamer1/gstreamer1/gstreamer1.mk
@@ -36,6 +36,13 @@ GSTREAMER1_CONF_OPTS = \
 
 GSTREAMER1_DEPENDENCIES = libglib2 host-pkgconf host-bison host-flex
 
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+GSTREAMER1_CONF_OPTS += --with-ptp-helper-permissions=capabilities
+GSTREAMER1_DEPENDENCIES += libcap
+else
+GSTREAMER1_CONF_OPTS += --with-ptp-helper-permissions=auto
+endif
+
 # gstreamer-1.6 changed the location of its gstconfig.h file,
 # and unfortunately, not all (by far!) consumers have been
 # updated to look in the correct location.
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-02-21 17:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 14:48 [Buildroot] [PATCH 1/7] package/gstreamer1/gstreamer1: add optional support for libcap Bernd Kuhls
2016-02-21 14:48 ` [Buildroot] [PATCH 2/7] package/gstreamer1/gst1-plugins-good: add optional support for libv4l Bernd Kuhls
2016-02-21 17:23   ` Thomas Petazzoni
2016-02-21 14:48 ` [Buildroot] [PATCH 3/7] package/chrony: add optional support for libcap Bernd Kuhls
2016-02-21 17:23   ` Thomas Petazzoni
2016-02-21 14:48 ` [Buildroot] [PATCH 4/7] package/kismet: " Bernd Kuhls
2016-02-21 17:23   ` Thomas Petazzoni
2016-02-21 14:48 ` [Buildroot] [PATCH 5/7] package/nfs-utils: " Bernd Kuhls
2016-02-21 17:23   ` Thomas Petazzoni
2016-02-21 14:48 ` [Buildroot] [PATCH 6/7] package/avahi: " Bernd Kuhls
2016-02-21 17:25   ` Thomas Petazzoni
2016-02-21 14:48 ` [Buildroot] [PATCH 7/7] package/quagga: " Bernd Kuhls
2016-02-21 17:26   ` Thomas Petazzoni
2016-02-21 17:23 ` [Buildroot] [PATCH 1/7] package/gstreamer1/gstreamer1: " Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox