From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 23/25] gstreamer1.0-plugins-bad: update git recipe to 1.7.1
Date: Wed, 20 Jan 2016 18:43:21 -0800 [thread overview]
Message-ID: <1453344203-7118-24-git-send-email-armccurdy@gmail.com> (raw)
In-Reply-To: <1453344203-7118-1-git-send-email-armccurdy@gmail.com>
Handle renaming of the HLS plugin:
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08
Switch AES decryption for the HLS plugin from nettle to openssl.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
.../gstreamer/gstreamer1.0-plugins-bad_git.bb | 40 ++++++++++++++++------
1 file changed, 29 insertions(+), 11 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
index 654eab0..ebf579f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
@@ -7,21 +7,39 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
-SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-plugins-bad"
+SRC_URI = " \
+ git://anongit.freedesktop.org/gstreamer/gst-plugins-bad;name=base \
+ git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \
+ file://configure-allow-to-disable-libssh2.patch \
+"
-SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce"
+PV = "1.7.1+git${SRCPV}"
-S = "${WORKDIR}/git"
+SRCREV_base = "3a088ecc9330d5cb8888ff43de0fe4f61c23a607"
+SRCREV_common = "86e46630ed8af8d94796859db550a9c3d89c9f65"
+SRCREV_FORMAT = "base"
-PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
-PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
+S = "${WORKDIR}/git"
-EXTRA_OECONF += " \
- -disable-openjpeg \
-"
+# over-ride the default hls PACKAGECONFIG in gstreamer1.0-plugins-bad.inc to
+# pass an additional --with-hls-crypto=XXX option (new in 1.7.x) and switch HLS
+# AES decryption from nettle to openssl (ie a shared dependency with dtls).
+# This should move back to the common .inc once the main recipe updates to 1.8.x
+PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl"
do_configure_prepend() {
- cd ${S}
- ./autogen.sh --noconfigure
- cd ${B}
+ ${S}/autogen.sh --noconfigure
+}
+
+# In 1.6.2, the "--enable-hls" configure option generated an installable package
+# called "gstreamer1.0-plugins-bad-fragmented". In 1.7.1 that HLS plugin package
+# has become "gstreamer1.0-plugins-bad-hls". See:
+# http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08
+
+PACKAGESPLITFUNCS_append = " handle_hls_rename "
+
+python handle_hls_rename () {
+ d.setVar('RPROVIDES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
+ d.setVar('RREPLACES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
+ d.setVar('RCONFLICTS_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
}
--
1.9.1
next prev parent reply other threads:[~2016-01-21 2:44 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 2:42 [PATCH 00/25] gstreamer1.0 cleanups + update git recipes to 1.7.1 Andre McCurdy
2016-01-21 2:42 ` [PATCH 01/25] gst-player: minor formatting improvements Andre McCurdy
2016-01-21 2:43 ` [PATCH 02/25] gst-plugins-package.inc: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 03/25] gstreamer1.0: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 04/25] gstreamer1.0-plugins.inc: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 05/25] gstreamer1.0-plugins-base: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 06/25] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 07/25] gstreamer1.0-plugins-bad: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 08/25] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 09/25] gstreamer1.0-libav: minor formatting improvements + update HOMEPAGE Andre McCurdy
2016-01-21 2:43 ` [PATCH 10/25] gstreamer1.0-omx: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 11/25] gstreamer1.0-rtsp-server.inc: minor formatting improvements Andre McCurdy
2016-01-21 2:43 ` [PATCH 12/25] gstreamer1.0.inc: add missing glib-2.0-native dependency Andre McCurdy
2016-01-21 2:43 ` [PATCH 13/25] gstreamer1.0-plugins.inc: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 14/25] gstreamer1.0-plugins.inc: convert GSTREAMER_1_0_DEBUG to a PACKAGECONFIG Andre McCurdy
2016-01-21 2:43 ` [PATCH 15/25] gstreamer1.0-plugins-good.inc: remove duplicate --disable-examples Andre McCurdy
2016-01-21 2:43 ` [PATCH 16/25] gstreamer1.0-plugins-bad.inc: don't set ${S} or apply version specific patch Andre McCurdy
2016-01-21 2:43 ` [PATCH 17/25] gstreamer1.0-plugins-bad.inc: update hls dependency gnutls -> nettle Andre McCurdy
2016-01-21 2:43 ` [PATCH 18/25] gstreamer1.0-plugins.inc: drop obsolete lib-link.m4 workaround Andre McCurdy
2016-01-21 2:43 ` [PATCH 19/25] gstreamer1.0-plugins.inc: don't set base SRC_URI via python Andre McCurdy
2016-01-21 2:43 ` [PATCH 20/25] gstreamer1.0: update git recipe to 1.7.1 Andre McCurdy
2016-01-21 4:18 ` Khem Raj
2016-01-21 4:39 ` Andre McCurdy
2016-01-21 4:40 ` Khem Raj
2016-01-21 5:03 ` Andre McCurdy
2016-01-21 2:43 ` [PATCH 21/25] gstreamer1.0-plugins-base: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 22/25] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21 2:43 ` Andre McCurdy [this message]
2016-01-21 2:43 ` [PATCH 24/25] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21 2:43 ` [PATCH 25/25] gstreamer1.0-libav: " Andre McCurdy
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=1453344203-7118-24-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