Skip to contentSkip to conversation

gstreamer1: add config option for building unit test libraries

PATCH Superseded Peter Seiderer 1 participant 2 messages Oct 27, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gstreamer1: add config option for building unit test libraries

---
 package/gstreamer1/gstreamer1/Config.in     | 6 ++++++
 package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
package/gstreamer1/gstreamer1/Config.in +6 -0
index 274171b639..c5839f546d 100644
@@ -16,6 +16,12 @@ config BR2_PACKAGE_GSTREAMER1
 
 if BR2_PACKAGE_GSTREAMER1
 
+config BR2_PACKAGE_GSTREAMER1_CHECK
+	bool "enable building unit test libraries"
+	default n
+	help
+	  Enable building unit test libraries for gstreamer.
+
 config BR2_PACKAGE_GSTREAMER1_PARSE
 	bool "enable command-line parser"
 	default y
package/gstreamer1/gstreamer1/gstreamer1.mk +1 -1
index 723e59b208..c2da60182a 100644
@@ -17,7 +17,7 @@ GSTREAMER1_CONF_OPTS = \
 	--disable-failing-tests \
 	--disable-valgrind \
 	--disable-benchmarks \
-	--disable-check \
+	$(if $(BR2_PACKAGE_GSTREAMER1_CHECK),,--disable-check) \
 	$(if $(BR2_PACKAGE_GSTREAMER1_TRACE),,--disable-trace) \
 	$(if $(BR2_PACKAGE_GSTREAMER1_PARSE),,--disable-parse) \
 	$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),,--disable-gst-debug) \
Signature · 1 line
2.14.2
#1 lore raw

PATCH 2/2 gst1-interpipe: new package

---
 package/gstreamer1/Config.in                       |  1 +
 package/gstreamer1/gst1-interpipe/Config.in        | 10 +++++++++
 .../gstreamer1/gst1-interpipe/gst1-interpipe.hash  |  2 ++
 .../gstreamer1/gst1-interpipe/gst1-interpipe.mk    | 24 ++++++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 100644 package/gstreamer1/gst1-interpipe/Config.in
 create mode 100644 package/gstreamer1/gst1-interpipe/gst1-interpipe.hash
 create mode 100644 package/gstreamer1/gst1-interpipe/gst1-interpipe.mk
package/gstreamer1/Config.in +1 -0
index aef75b55bf..ae7b982bf3 100644
@@ -7,6 +7,7 @@ source "package/gstreamer1/gst1-plugins-good/Config.in"
 source "package/gstreamer1/gst1-plugins-bad/Config.in"
 source "package/gstreamer1/gst1-plugins-ugly/Config.in"
 source "package/gstreamer1/gst1-imx/Config.in"
+source "package/gstreamer1/gst1-interpipe/Config.in"
 source "package/gstreamer1/gst1-libav/Config.in"
 source "package/gstreamer1/gst1-rtsp-server/Config.in"
 source "package/gstreamer1/gst1-validate/Config.in"
package/gstreamer1/gst1-interpipe/Config.in new file +10 -0
new file mode 100644
index 0000000000..0a169e8d4f
@@ -0,0 +1,10 @@
+menuconfig BR2_PACKAGE_GST1_INTERPIPE
+	bool "gst1-interpipe"
+	select BR2_PACKAGE_GSTREAMER1_CHECK
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
+	help
+	  GstInterpipe is a Gstreamer plug-in that allows communication
+	  between two independent pipelines.
+
+	  https://github.com/RidgeRun/gst-interpipe
package/gstreamer1/gst1-interpipe/gst1-interpipe.hash new file +2 -0
new file mode 100644
index 0000000000..3be665668e
@@ -0,0 +1,2 @@
+# locally computed hash
+sha256 3f8cc5cf4861e5836938c66415b47555550c93b06b1bc9faed83e89bacf705cf gst1-interpipe-10dba89eecc200e49f0b432e299f1c8a4312b657.tar.gz
package/gstreamer1/gst1-interpipe/gst1-interpipe.mk new file +24 -0
new file mode 100644
index 0000000000..0a06aac41e
@@ -0,0 +1,24 @@
+################################################################################
+#
+# gst1-interpipe
+#
+################################################################################
+
+GST1_INTERPIPE_VERSION = 10dba89eecc200e49f0b432e299f1c8a4312b657
+GST1_INTERPIPE_SITE = https://github.com/RidgeRun/gst-interpipe
+GST1_INTERPIPE_SITE_METHOD = git
+# fetch gst-interpipe/common sub module
+GST1_INTERPIPE_GIT_SUBMODULES = YES
+
+GST1_INTERPIPE_LICENSE = LGPL-2.1
+GST1_INTERPIPE_LICENSE_FILES = COPYING
+
+# from git source
+GST1_INTERPIPE_AUTORECONF = YES
+
+GST1_INTERPIPE_DEPENDENCIES += \
+	host-pkgconf \
+	gstreamer1 \
+	gst1-plugins-base
+
+$(eval $(autotools-package))
Signature · 1 line
2.14.2