summaryrefslogtreecommitdiffstats
path: root/rules/gst-plugins-base1.make
diff options
context:
space:
mode:
authorEnrico Jorns <ejo@pengutronix.de>2015-01-28 15:57:21 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-02-19 14:51:46 +0100
commit1ab1dfb30aa3f7d7b13da2fe24f9805c2399c92e (patch)
tree6cb5d21a5e22566f24d205af771e3b1c95596012 /rules/gst-plugins-base1.make
parentad67823445769ce7a14f9a6a83447a4843baf285 (diff)
downloadptxdist-1ab1dfb30aa3f7d7b13da2fe24f9805c2399c92e.tar.gz
ptxdist-1ab1dfb30aa3f7d7b13da2fe24f9805c2399c92e.tar.xz
gst-plugins-base1: Added option for installing tools
config GST_PLUGINS_BASE1_INSTALL_TOOLS allows to install gst-device-monitor, gst-discover, and gst-play Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gst-plugins-base1.make')
-rw-r--r--rules/gst-plugins-base1.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/gst-plugins-base1.make b/rules/gst-plugins-base1.make
index d442b58a6..e59d607f0 100644
--- a/rules/gst-plugins-base1.make
+++ b/rules/gst-plugins-base1.make
@@ -115,9 +115,17 @@ $(STATEDIR)/gst-plugins-base1.targetinstall:
@$(call install_fixup, gst-plugins-base1,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, gst-plugins-base1,DESCRIPTION,missing)
+ifdef PTXCONF_GST_PLUGINS_BASE1_INSTALL_TOOLS
+ @$(call install_copy, gst-plugins-base1, 0, 0, 0755, -, \
+ /usr/bin/gst-device-monitor-1.0)
+
@$(call install_copy, gst-plugins-base1, 0, 0, 0755, -, \
/usr/bin/gst-discoverer-1.0)
+ @$(call install_copy, gst-plugins-base1, 0, 0, 0755, -, \
+ /usr/bin/gst-play-1.0)
+endif
+
# install all activated libs
@cd $(GST_PLUGINS_BASE1_PKGDIR)/usr/lib/ && \
for libs in `find -name "*-1.0.so" -printf '%f\n'`; do \