diff options
3 files changed, 19 insertions, 48 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-Look-for-gtk-doc.make-in-builddir.patch b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-Look-for-gtk-doc.make-in-builddir.patch deleted file mode 100644 index 5a2861642d..0000000000 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-Look-for-gtk-doc.make-in-builddir.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From a84e9a6e1dca685eda072d58b58556b5b35cb4c8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 10 Sep 2018 21:16:50 -0700 | ||
| 4 | Subject: [PATCH] Look for gtk-doc.make in builddir | ||
| 5 | |||
| 6 | this is evident when S != B because gtkdocize | ||
| 7 | generates this file and its actually built into | ||
| 8 | build area | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://github.com/RidgeRun/gstd-1.x/pull/39] | ||
| 11 | |||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | docs/reference/gstd/Makefile.am | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/docs/reference/gstd/Makefile.am b/docs/reference/gstd/Makefile.am | ||
| 18 | index f860fa1..62870da 100644 | ||
| 19 | --- a/docs/reference/gstd/Makefile.am | ||
| 20 | +++ b/docs/reference/gstd/Makefile.am | ||
| 21 | @@ -66,7 +66,7 @@ GTKDOC_LIBS=$(top_builddir)/gstd/libgstd-core.la | ||
| 22 | |||
| 23 | |||
| 24 | # This includes the standard gtk-doc make rules, copied by gtkdocize. | ||
| 25 | -include $(top_srcdir)/docs/gtk-doc.make | ||
| 26 | +include $(top_builddir)/docs/gtk-doc.make | ||
| 27 | |||
| 28 | # Comment this out if you want 'make check' to test you doc status | ||
| 29 | # and run some sanity checks | ||
| 30 | -- | ||
| 31 | 2.18.0 | ||
| 32 | |||
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-yocto-compatibility.patch b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-yocto-compatibility.patch index ffcc6ea94c..c1c88999a5 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-yocto-compatibility.patch +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-yocto-compatibility.patch | |||
| @@ -7,19 +7,14 @@ Subject: [PATCH] gstd:yocto compatibility | |||
| 7 | gstd/Makefile.am | 2 +- | 7 | gstd/Makefile.am | 2 +- |
| 8 | 3 files changed, 9 insertions(+), 3 deletions(-) | 8 | 3 files changed, 9 insertions(+), 3 deletions(-) |
| 9 | 9 | ||
| 10 | diff --git a/gstd/Makefile.am b/gstd/Makefile.am | ||
| 11 | index 13c551d..11fe202 100644 | ||
| 12 | --- a/gstd/Makefile.am | 10 | --- a/gstd/Makefile.am |
| 13 | +++ b/gstd/Makefile.am | 11 | +++ b/gstd/Makefile.am |
| 14 | @@ -49,7 +49,7 @@ bin_PROGRAMS = gstd | 12 | @@ -74,7 +74,7 @@ gstd_CFLAGS = $(GST_CFLAGS) \ |
| 13 | -DGSTD_LOG_STATE_DIR=\"$(gstdlogstatedir)\" \ | ||
| 14 | -DGSTD_RUN_STATE_DIR=\"$(gstdrunstatedir)\" | ||
| 15 | 15 | ||
| 16 | gstd_SOURCES = gstd.c | 16 | -gstd_LDFLAGS = $(GST_LIBS) $(GIO_LIBS) $(GIO_UNIX_LIBS) $(GJSON_LIBS) $(LIBD_LIBS) -Wl,-rpath -Wl,$(libdir) |
| 17 | gstd_CFLAGS = $(GST_CFLAGS) $(GIO_CFLAGS) $(GJSON_CFLAGS) | 17 | +gstd_LDFLAGS = $(GST_LIBS) $(GIO_LIBS) $(GIO_UNIX_LIBS) $(GJSON_LIBS) $(LIBD_LIBS) |
| 18 | -gstd_LDFLAGS = $(GST_LIBS) $(GIO_LIBS) $(GJSON_LIBS) -Wl,-rpath -Wl,$(libdir) | ||
| 19 | +gstd_LDFLAGS = $(GST_LIBS) $(GIO_LIBS) $(GJSON_LIBS) | ||
| 20 | gstd_LDADD = libgstd-core.la | 18 | gstd_LDADD = libgstd-core.la |
| 21 | 19 | ||
| 22 | gstdincludedir = $(includedir)/gstd | 20 | gstdincludedir = $(includedir)/gstd |
| 23 | -- | ||
| 24 | 1.9.1 | ||
| 25 | |||
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 828caa8833..1834a83661 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb | |||
| @@ -5,21 +5,29 @@ SECTION = "multimedia" | |||
| 5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 7 | 7 | ||
| 8 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon" | 8 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon jansson" |
| 9 | 9 | ||
| 10 | SRCBRANCH ?= "master" | 10 | SRCBRANCH ?= "master" |
| 11 | SRCREV = "3526d0ffdbccc375db7d5fe33a72c68b134657c2" | 11 | SRCREV = "a6621a5778b234651aa2adbbe304d906a3fa64d1" |
| 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 \ | 13 | file://0001-gstd-yocto-compatibility.patch \ |
| 14 | file://0001-Look-for-gtk-doc.make-in-builddir.patch \ | ||
| 15 | " | 14 | " |
| 16 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 17 | 16 | ||
| 18 | # Remove the +really when upstream version is > 1.0 | 17 | # Remove the +really when upstream version is > 1.0 |
| 19 | PV = "1.0+really0.6.3" | 18 | PV = "1.0+really0.8.0" |
| 20 | 19 | ||
| 21 | inherit autotools pkgconfig gettext gtk-doc | 20 | inherit autotools pkgconfig gettext gtk-doc |
| 22 | 21 | ||
| 23 | do_configure_prepend() { | 22 | do_install_append() { |
| 24 | sed -i -e "s|include \$(top_builddir)/docs/gtk-doc.make||g" ${S}/docs/reference/gstd/Makefile.am | 23 | rm -fr ${D}${localstatedir}/run ${D}/run ${D}${bindir}/gst-client ${D}${bindir}/gstd-client |
| 24 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
| 25 | install -d ${D}${sysconfdir}/tmpfiles.d | ||
| 26 | echo "d /run/${BPN} - - - -" \ | ||
| 27 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | ||
| 28 | echo "d /${localstatedir}/log/${BPN} 0755 root root -" \ | ||
| 29 | >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | ||
| 30 | fi | ||
| 31 | ln -sf gst-client-1.0 ${D}${bindir}/gst-client | ||
| 32 | ln -sf gst-client-1.0 ${D}${bindir}/gstd-client | ||
| 25 | } | 33 | } |
