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 <javier.viguera@digi.com>
This commit is contained in:
parent
ee27c907d1
commit
3605d12627
|
|
@ -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}"
|
||||
Loading…
Reference in New Issue