summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta-multimedia/recipes-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd.inc18
-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.patch38
3 files changed, 39 insertions, 49 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd.inc b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd.inc
index 10ee5bcb2..455d89684 100644
--- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd.inc
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd.inc
@@ -7,19 +7,15 @@ LICENSE = "GPLv2+"
7DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon" 7DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp-server json-glib libdaemon"
8 8
9SRCBRANCH ?= "master" 9SRCBRANCH ?= "master"
10SRCREV = "097a086a8606dcb368c7d38c7ec4fefc2497401b" 10SRCREV = "3526d0ffdbccc375db7d5fe33a72c68b134657c2"
11SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \ 11SRC_URI = "git://git@github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \
12 file://0001-gstd-yocto-compatibility.patch" 12 file://0001-gstd-yocto-compatibility.patch \
13 13 file://0001-Look-for-gtk-doc.make-in-builddir.patch \
14 "
14S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
15 16
16PACKAGECONFIG_CONFARGS = " \ 17inherit autotools pkgconfig gettext gtk-doc
17 --disable-gtk-doc \
18"
19
20inherit autotools pkgconfig gettext
21 18
22do_configure() { 19do_configure_prepend() {
23${S}/autogen.sh 20 sed -i -e "s|include \$(top_builddir)/docs/gtk-doc.make||g" ${S}/docs/reference/gstd/Makefile.am
24oe_runconf
25} 21}
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
new file mode 100644
index 000000000..5a2861642
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd/0001-Look-for-gtk-doc.make-in-builddir.patch
@@ -0,0 +1,32 @@
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 ddc183193..ffcc6ea94 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
@@ -4,47 +4,9 @@ Date: Fri, 15 Dec 2017 10:14:05 -0600
4Subject: [PATCH] gstd:yocto compatibility 4Subject: [PATCH] gstd:yocto compatibility
5 5
6--- 6---
7 autogen.sh | 8 +++++++-
8 docs/reference/gstd/Makefile.am | 2 +-
9 gstd/Makefile.am | 2 +- 7 gstd/Makefile.am | 2 +-
10 3 files changed, 9 insertions(+), 3 deletions(-) 8 3 files changed, 9 insertions(+), 3 deletions(-)
11 9
12diff --git a/autogen.sh b/autogen.sh
13index 66dbd42..793ee2f 100755
14--- a/autogen.sh
15+++ b/autogen.sh
16@@ -21,7 +21,11 @@
17 # ACLOCAL, AUTOPOINT and/or LIBTOOLIZE to the right versions, or leave them
18 # unset and get the defaults
19
20-gtkdocize || exit 1
21+test -n "$srcdir" || srcdir=`dirname "$0"`
22+test -n "$srcdir" || srcdir=.
23+
24+olddir=`pwd`
25+cd "$srcdir"
26
27 autoreconf --verbose --force --install || {
28 echo 'autogen.sh failed';
29@@ -31,3 +35,5 @@ autoreconf --verbose --force --install || {
30 echo
31 echo "Now run './configure' with your system settings followed by 'make' to compile this module."
32 echo
33+
34+cd "$olddir"
35diff --git a/docs/reference/gstd/Makefile.am b/docs/reference/gstd/Makefile.am
36index f860fa1..153a13b 100644
37--- a/docs/reference/gstd/Makefile.am
38+++ b/docs/reference/gstd/Makefile.am
39@@ -66,7 +66,7 @@ GTKDOC_LIBS=$(top_builddir)/gstd/libgstd-core.la
40
41
42 # This includes the standard gtk-doc make rules, copied by gtkdocize.
43-include $(top_srcdir)/docs/gtk-doc.make
44+# include $(top_srcdir)/docs/gtk-doc.make
45
46 # Comment this out if you want 'make check' to test you doc status
47 # and run some sanity checks
48diff --git a/gstd/Makefile.am b/gstd/Makefile.am 10diff --git a/gstd/Makefile.am b/gstd/Makefile.am
49index 13c551d..11fe202 100644 11index 13c551d..11fe202 100644
50--- a/gstd/Makefile.am 12--- a/gstd/Makefile.am