1DESCRIPTION = "Gstreamer Daemon" 2SUMMARY = "GStreamer framework for controlling audio and video streaming using TCP connection messages" 3HOMEPAGE = "https://developer.ridgerun.com/wiki/index.php?title=Gstd-1.0" 4SECTION = "multimedia" 5LICENSE = "GPL-2.0-or-later" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 7 8DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon jansson" 9 10SRCBRANCH ?= "master" 11SRCREV = "a6621a5778b234651aa2adbbe304d906a3fa64d1" 12SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \ 13 file://0001-gstd-yocto-compatibility.patch \ 14 " 15S = "${WORKDIR}/git" 16 17# Remove the +really when upstream version is > 1.0 18PV = "1.0+really0.8.0" 19 20inherit autotools pkgconfig gettext gtk-doc 21 22do_install:append() { 23 rmdir ${D}${localstatedir}/run/${BPN} ${D}${localstatedir}/run \ 24 ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log 25 rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client 26 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 27 install -d ${D}${sysconfdir}/tmpfiles.d 28 echo "d /run/${BPN} - - - -" \ 29 > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf 30 echo "d /${localstatedir}/log/${BPN} 0755 root root -" \ 31 >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf 32 fi 33 ln -sf gst-client-1.0 ${D}${bindir}/gst-client 34 ln -sf gst-client-1.0 ${D}${bindir}/gstd-client 35} 36