summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb40
1 files 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 654eab062e..ebf579fad5 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 \
7 file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \ 7 file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
8 file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a" 8 file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
9 9
10SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-plugins-bad" 10SRC_URI = " \
11 git://anongit.freedesktop.org/gstreamer/gst-plugins-bad;name=base \
12 git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \
13 file://configure-allow-to-disable-libssh2.patch \
14"
11 15
12SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce" 16PV = "1.7.1+git${SRCPV}"
13 17
14S = "${WORKDIR}/git" 18SRCREV_base = "3a088ecc9330d5cb8888ff43de0fe4f61c23a607"
19SRCREV_common = "86e46630ed8af8d94796859db550a9c3d89c9f65"
20SRCREV_FORMAT = "base"
15 21
16PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" 22S = "${WORKDIR}/git"
17PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
18 23
19EXTRA_OECONF += " \ 24# over-ride the default hls PACKAGECONFIG in gstreamer1.0-plugins-bad.inc to
20 -disable-openjpeg \ 25# pass an additional --with-hls-crypto=XXX option (new in 1.7.x) and switch HLS
21" 26# AES decryption from nettle to openssl (ie a shared dependency with dtls).
27# This should move back to the common .inc once the main recipe updates to 1.8.x
28PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl"
22 29
23do_configure_prepend() { 30do_configure_prepend() {
24 cd ${S} 31 ${S}/autogen.sh --noconfigure
25 ./autogen.sh --noconfigure 32}
26 cd ${B} 33
34# In 1.6.2, the "--enable-hls" configure option generated an installable package
35# called "gstreamer1.0-plugins-bad-fragmented". In 1.7.1 that HLS plugin package
36# has become "gstreamer1.0-plugins-bad-hls". See:
37# http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08
38
39PACKAGESPLITFUNCS_append = " handle_hls_rename "
40
41python handle_hls_rename () {
42 d.setVar('RPROVIDES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
43 d.setVar('RREPLACES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
44 d.setVar('RCONFLICTS_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
27} 45}