blob: 13ba40d3dac6841210446d20c5093d91ab57d800 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "A library on top of GStreamer for building an RTSP server"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003SECTION = "multimedia"
4LICENSE = "LGPLv2"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base"
7
8PNREAL = "gst-rtsp-server"
9
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
11 file://0001-Don-t-hardcode-libtool-name-when-using-introspection.patch \
12 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
14S = "${WORKDIR}/${PNREAL}-${PV}"
15
Patrick Williamsc0f7c042017-02-23 20:41:17 -060016inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc
17
18# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
19LIBV = "1.0"
20require gst-plugins-package.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050021
22delete_pkg_m4_file() {
23 # This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection
24 rm "${S}/common/m4/pkg.m4" || true
25}
26
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027# gstreamer is not using system-wide makefiles (which we patch in gtkdoc recipe,
28# but its own custom ones, which we have to patch here
29patch_gtk_doc_makefiles() {
30 # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries
31 # instead of libtool wrapper or running them directly
32 sed -i \
33 -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \
34 ${S}/common/gtk-doc*mak
35}
36
37do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050038