diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb index 38fafe82e4..88acdb190e 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | |||
| @@ -2,26 +2,27 @@ DESCRIPTION = "Gstreamer Daemon" | |||
| 2 | SUMMARY = "GStreamer framework for controlling audio and video streaming using TCP connection messages" | 2 | SUMMARY = "GStreamer framework for controlling audio and video streaming using TCP connection messages" |
| 3 | HOMEPAGE = "https://developer.ridgerun.com/wiki/index.php?title=Gstd-1.0" | 3 | HOMEPAGE = "https://developer.ridgerun.com/wiki/index.php?title=Gstd-1.0" |
| 4 | SECTION = "multimedia" | 4 | SECTION = "multimedia" |
| 5 | LICENSE = "GPL-2.0-or-later" | 5 | LICENSE = "LGPL-2.1-or-later" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c71b653a0f608a58cdc5693ae57126bc" |
| 7 | 7 | ||
| 8 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon jansson" | 8 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon libsoup-2.4 jansson" |
| 9 | 9 | ||
| 10 | SRCBRANCH ?= "master" | 10 | SRCBRANCH ?= "master" |
| 11 | SRCREV = "a6621a5778b234651aa2adbbe304d906a3fa64d1" | 11 | SRCREV = "a011affa67f240cbc7aaff5b00fdfd6124bdaece" |
| 12 | SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \ | 12 | SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH}" |
| 13 | file://0001-gstd-yocto-compatibility.patch \ | ||
| 14 | " | ||
| 15 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| 16 | 14 | ||
| 17 | # Remove the +really when upstream version is > 1.0 | 15 | # Remove the +really when upstream version is > 1.0 |
| 18 | PV = "1.0+really0.8.0" | 16 | PV = "1.0+really0.15.0" |
| 19 | 17 | ||
| 20 | inherit autotools pkgconfig gettext gtk-doc | 18 | GTKDOC_MESON_OPTION = "enable-gtk-doc" |
| 19 | |||
| 20 | inherit meson pkgconfig gettext gtk-doc systemd python3native python3-dir python3targetconfig | ||
| 21 | 21 | ||
| 22 | do_install:append() { | 22 | do_install:append() { |
| 23 | rmdir ${D}${localstatedir}/run/${BPN} ${D}${localstatedir}/run \ | 23 | rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} ${D}${root_prefix}${localstatedir}/run \ |
| 24 | ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log | 24 | ${D}${root_prefix}${localstatedir}/log/${BPN} ${D}${root_prefix}${localstatedir}/log \ |
| 25 | ${D}${root_prefix}${localstatedir} | ||
| 25 | rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client | 26 | rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client |
| 26 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 27 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 27 | install -d ${D}${sysconfdir}/tmpfiles.d | 28 | install -d ${D}${sysconfdir}/tmpfiles.d |
| @@ -33,3 +34,9 @@ do_install:append() { | |||
| 33 | ln -sf gst-client-1.0 ${D}${bindir}/gst-client | 34 | ln -sf gst-client-1.0 ${D}${bindir}/gst-client |
| 34 | ln -sf gst-client-1.0 ${D}${bindir}/gstd-client | 35 | ln -sf gst-client-1.0 ${D}${bindir}/gstd-client |
| 35 | } | 36 | } |
| 37 | PACKAGES =+ "${PN}-python" | ||
| 38 | |||
| 39 | FILES:${PN} += "${systemd_user_unitdir}" | ||
| 40 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*" | ||
| 41 | |||
| 42 | SYSTEMD_SERVICE:${PN} = "gstd.service" | ||
