From 3605d12627072cd7c9bb0acbc21232b2064a7525 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 29 Dec 2015 16:50:19 +0100 Subject: [PATCH] gstreamer1.0-rtsp-server: create examples package The example applications are not packaged by default, so extend the recipe to create a package with the example applications. https://jira.digi.com/browse/DEL-1960 Signed-off-by: Javier Viguera --- .../gstreamer1.0-rtsp-server_1.4.5.bbappend | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bbappend diff --git a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bbappend b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bbappend new file mode 100644 index 000000000..a6086cd3c --- /dev/null +++ b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bbappend @@ -0,0 +1,28 @@ +# Copyright (C) 2015 Digi International. + +GST_RTSP_EXAMPLES ?= " \ + examples/.libs/test-appsrc \ + examples/.libs/test-auth \ + examples/.libs/test-launch \ + examples/.libs/test-mp4 \ + examples/.libs/test-multicast \ + examples/.libs/test-multicast2 \ + examples/.libs/test-ogg \ + examples/.libs/test-readme \ + examples/.libs/test-sdp \ + examples/.libs/test-uri \ + examples/.libs/test-video \ +" + +do_install_append() { + # Install examples + install -d ${D}${datadir}/${P} + for f in ${GST_RTSP_EXAMPLES}; do + install -m 0755 ${B}/${f} ${D}${datadir}/${P} + done +} + +PACKAGES =+ "${PN}-examples-dbg ${PN}-examples" + +FILES_${PN}-examples-dbg += "${datadir}/${P}/.debug" +FILES_${PN}-examples += "${datadir}"