Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "A library on top of GStreamer for building an RTSP server" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 2 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 3 | SECTION = "multimedia" |
| 4 | LICENSE = "LGPLv2" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | DEPENDS = "gstreamer1.0 libcgroup gstreamer1.0-plugins-base" |
| 7 | |
| 8 | PNREAL = "gst-rtsp-server" |
| 9 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 10 | SRC_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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/${PNREAL}-${PV}" |
| 15 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 16 | inherit 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 |
| 19 | LIBV = "1.0" |
| 20 | require gst-plugins-package.inc |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 21 | |
| 22 | delete_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 Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 27 | # 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 |
| 29 | patch_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 | |
| 37 | do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 38 | |