summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-Look-for-gtk-doc.make-in-builddir.patch32
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-gstd-yocto-compatibility.patch15
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb20
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 @@
1From a84e9a6e1dca685eda072d58b58556b5b35cb4c8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 Sep 2018 21:16:50 -0700
4Subject: [PATCH] Look for gtk-doc.make in builddir
5
6this is evident when S != B because gtkdocize
7generates this file and its actually built into
8build area
9
10Upstream-Status: Submitted [https://github.com/RidgeRun/gstd-1.x/pull/39]
11
12Signed-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
17diff --git a/docs/reference/gstd/Makefile.am b/docs/reference/gstd/Makefile.am
18index 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--
312.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
10diff --git a/gstd/Makefile.am b/gstd/Makefile.am
11index 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--
241.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"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7 7
8DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon" 8DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon jansson"
9 9
10SRCBRANCH ?= "master" 10SRCBRANCH ?= "master"
11SRCREV = "3526d0ffdbccc375db7d5fe33a72c68b134657c2" 11SRCREV = "a6621a5778b234651aa2adbbe304d906a3fa64d1"
12SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \ 12SRC_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 "
16S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
17 16
18# Remove the +really when upstream version is > 1.0 17# Remove the +really when upstream version is > 1.0
19PV = "1.0+really0.6.3" 18PV = "1.0+really0.8.0"
20 19
21inherit autotools pkgconfig gettext gtk-doc 20inherit autotools pkgconfig gettext gtk-doc
22 21
23do_configure_prepend() { 22do_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}