Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 32/32] gstreamer1.0-libav: update git recipe to 1.7.1
Date: Wed, 20 Jan 2016 21:36:50 -0800	[thread overview]
Message-ID: <1453354610-19218-33-git-send-email-armccurdy@gmail.com> (raw)
In-Reply-To: <1453354610-19218-1-git-send-email-armccurdy@gmail.com>

Move the ARM_INSTRUCTION_SET over-rides for armv4/armv5 out of the
1.6.3 recipe and into the common include, so that they also apply to
the git recipe.

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gst-libav/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 .../gstreamer/gstreamer1.0-libav.inc               |  4 ++++
 .../gstreamer/gstreamer1.0-libav_1.6.3.bb          |  4 ----
 .../gstreamer/gstreamer1.0-libav_git.bb            | 24 ++++++++++++++++------
 3 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
index c3c7d5b..c90af66 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -30,3 +30,7 @@ EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}"
 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
 FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
 FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
+
+# http://errors.yoctoproject.org/Errors/Details/20493/
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb
index 3439981..ba7ac7f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb
@@ -24,7 +24,3 @@ LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
   --ranlib='${RANLIB}' \
   ${GSTREAMER_1_0_DEBUG} \
   --cross-prefix='${HOST_PREFIX}'"
-
-# http://errors.yoctoproject.org/Errors/Details/20493/
-ARM_INSTRUCTION_SET_armv4 = "arm"
-ARM_INSTRUCTION_SET_armv5 = "arm"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
index 32f4814..0937be2 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
@@ -5,15 +5,29 @@ include gstreamer1.0-libav.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
                     file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
-                    file://gst-libs/ext/libav/LICENSE;md5=23a54f59b82572c203a559346e89ed57 \
+                    file://gst-libs/ext/libav/LICENSE.md;md5=5c6d1ed56d15ca87ddec48d0c3a2051d \
                     file://gst-libs/ext/libav/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://gst-libs/ext/libav/COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
                     file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
                     file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-libav;branch=master"
+# To build using the system libav/ffmpeg, append "libav" to PACKAGECONFIG
+# and remove the ffmpeg sources from SRC_URI below. However, first note the
+# warnings in gstreamer1.0-libav.inc
+SRC_URI = " \
+    git://anongit.freedesktop.org/gstreamer/gst-libav;name=base \
+    git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \
+    git://source.ffmpeg.org/ffmpeg;destsuffix=git/gst-libs/ext/libav;name=ffmpeg;branch=release/2.8 \
+    file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \
+    file://workaround-to-build-gst-libav-for-i586-with-gcc.patch \
+"
 
-SRCREV = "127202d6f65584891dabf92be031f0d170b0e7f1"
+PV = "1.7.1+git${SRCPV}"
+
+SRCREV_base = "0993ec8fa5cf6b09e33741f268c938719a1534d5"
+SRCREV_common = "86e46630ed8af8d94796859db550a9c3d89c9f65"
+SRCREV_ffmpeg = "644179e0d4155ae8f5ddd5c3f6bd003e2e13cf94"
+SRCREV_FORMAT = "base"
 
 S = "${WORKDIR}/git"
 
@@ -23,7 +37,5 @@ LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
   --cross-prefix='${HOST_PREFIX}'"
 
 do_configure_prepend() {
-	cd ${S}
-	./autogen.sh --noconfigure
-	cd ${B}
+	${S}/autogen.sh --noconfigure
 }
-- 
1.9.1



      parent reply	other threads:[~2016-01-21  5:38 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21  5:36 [PATCH v2 00/32] gstreamer1.0 cleanups + update git recipes to 1.7.1 Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 01/32] gst-player: minor formatting improvements Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 02/32] gst-plugins-package.inc: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 03/32] gstreamer1.0: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 04/32] gstreamer1.0-plugins.inc: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 05/32] gstreamer1.0-plugins-base: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 06/32] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 07/32] gstreamer1.0-plugins-bad: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 08/32] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 09/32] gstreamer1.0-libav: minor formatting improvements + update HOMEPAGE Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 10/32] gstreamer1.0-omx: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 11/32] gstreamer1.0-rtsp-server.inc: minor formatting improvements Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 12/32] gstreamer1.0.inc: add missing glib-2.0-native dependency Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 13/32] gstreamer1.0-plugins.inc: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 14/32] gstreamer1.0-plugins.inc: convert GSTREAMER_1_0_DEBUG to a PACKAGECONFIG Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 15/32] gstreamer1.0-plugins-good.inc: remove duplicate --disable-examples Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 16/32] gstreamer1.0-plugins-bad.inc: don't set ${S} or apply version specific patch Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 17/32] gstreamer1.0-plugins-bad.inc: update hls dependency gnutls -> nettle Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 18/32] gstreamer1.0-plugins.inc: drop obsolete lib-link.m4 workaround Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 19/32] gstreamer1.0-plugins.inc: don't set base SRC_URI via python Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 20/32] gst-plugins-package.inc: drop perl RDEPEND for XXX-apps packages Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 21/32] gstreamer1.0: update 1.6.2 -> 1.6.3 Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 22/32] gstreamer1.0-plugins-base: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 23/32] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 24/32] gstreamer1.0-plugins-bad: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 25/32] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 26/32] gstreamer1.0-libav: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 27/32] gstreamer1.0: update git recipe to 1.7.1 Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 28/32] gstreamer1.0-plugins-base: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 29/32] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 30/32] gstreamer1.0-plugins-bad: " Andre McCurdy
2016-01-21  5:36 ` [PATCH v2 31/32] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21  5:36 ` Andre McCurdy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453354610-19218-33-git-send-email-armccurdy@gmail.com \
    --to=armccurdy@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox