mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
96c8c6ef11
See change notes [1] Removed exec_prefix from paths passed to rmdir because prefix is no longer used for runstatedir and logstatedir (See meson chagnes in commit b2ca22b). Upgraded libsoup-2.4 dependency to libsoup 3. [1] https://github.com/RidgeRun/gstd-1.x/releases/tag/v0.16.0 Signed-off-by: Colin Pinnell McAllister <colinmca242@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
45 lines
1.9 KiB
BlitzBasic
45 lines
1.9 KiB
BlitzBasic
DESCRIPTION = "Gstreamer Daemon"
|
|
SUMMARY = "GStreamer framework for controlling audio and video streaming using TCP connection messages"
|
|
HOMEPAGE = "https://developer.ridgerun.com/wiki/index.php?title=Gstd-1.0"
|
|
SECTION = "multimedia"
|
|
LICENSE = "LGPL-2.1-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c71b653a0f608a58cdc5693ae57126bc"
|
|
|
|
DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon libsoup jansson"
|
|
|
|
SRCBRANCH ?= "master"
|
|
SRCREV = "d3e1daefb999c3ba0f4fcc4744b53aab2aaa5f2d"
|
|
SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \
|
|
file://0001-gstd-Remove-redundant-rpaths.patch"
|
|
|
|
# Remove the +really when upstream version is > 1.0
|
|
PV = "1.0+really0.16.0"
|
|
|
|
GTKDOC_MESON_OPTION = "enable-gtk-doc"
|
|
|
|
# Documentation doesn't currently build:
|
|
# gtkdoc-mkhtml: error: unrecognized arguments: ../gstd-docs.xml
|
|
GTKDOC_ENABLED = "False"
|
|
|
|
inherit meson pkgconfig gettext gtk-doc python3native python3-dir python3targetconfig
|
|
|
|
do_install:append() {
|
|
rmdir ${D}${localstatedir}/run/${BPN} ${D}${localstatedir}/run \
|
|
${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/log \
|
|
${D}${localstatedir}
|
|
rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client
|
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
|
echo "d /run/${BPN} - - - -" \
|
|
> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
|
|
echo "d ${localstatedir}/log/${BPN} 0755 root root -" \
|
|
>> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
|
|
fi
|
|
ln -sf gst-client-1.0 ${D}${bindir}/gst-client
|
|
ln -sf gst-client-1.0 ${D}${bindir}/gstd-client
|
|
}
|
|
PACKAGES =+ "${PN}-python"
|
|
|
|
FILES:${PN} += "${systemd_user_unitdir}"
|
|
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
|