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