summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-06-16 21:23:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:26:14 +0100
commit79ca8d031e5a706f00d5c97ba23b496e6d700b7e (patch)
tree25a9eeb9f1d0e72a561600617bce9a9e7f639bf0
parenta02911390cc09d9f2ac15142982142c459a143d5 (diff)
downloadpoky-79ca8d031e5a706f00d5c97ba23b496e6d700b7e.tar.gz
gstreamer1.0-plugins-bad: Upgrade to 1.8.1
(From OE-Core rev: 6a326f2b37b0b49e1144428becda32400498c024) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bb28
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.8.1.bb52
2 files changed, 52 insertions, 28 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bb
deleted file mode 100644
index 8eb47c265f..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1include gstreamer1.0-plugins-bad.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
4 file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
5 file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
6 file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
7
8# Note: The mpg123 plugin was moved to gst-plugins-ugly prior to the 1.7.2
9# release, so this line should be removed during the update to 1.8.x
10# https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=08d8aefcdaaf89ecb6dd53ec1e4f95cd42d01664
11PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
12
13# Note: The gsettings plug-in was dropped prior to the 1.7.2 release,
14# so this line should be removed during the update to 1.8.x
15# https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=914291808ad10621d6a74031f3d46d45eef5a3a3
16EXTRA_OECONF += "--disable-gsettings"
17
18SRC_URI = " \
19 http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
20 file://configure-allow-to-disable-libssh2.patch \
21 file://0001-glimagesink-Downrank-to-marginal.patch \
22 file://0002-glplugin-glwindow-fix-memory-leak-of-navigation-thre.patch \
23"
24
25SRC_URI[md5sum] = "4857adcafe41e4b9b8805cf88303bd55"
26SRC_URI[sha256sum] = "971b29101d6a9c5e3fe94d99d977a227f58f0b2d29b6ca2c7f292052542b3a61"
27
28S = "${WORKDIR}/gst-plugins-bad-${PV}"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.8.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.8.1.bb
new file mode 100644
index 0000000000..a240bcb5ea
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.8.1.bb
@@ -0,0 +1,52 @@
1include gstreamer1.0-plugins-bad.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
4 file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
5 file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \
6 file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a"
7
8SRC_URI = " \
9 http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
10 file://configure-allow-to-disable-libssh2.patch \
11 file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \
12 file://avoid-including-sys-poll.h-directly.patch \
13 file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \
14 file://0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch \
15"
16SRC_URI[md5sum] = "e508da2a8a5c3d12264fe3415be2f451"
17SRC_URI[sha256sum] = "0bbd58f363734fc0c4a620b2d6fb01d427fdafdbda7b90b4e15d03b751ca40f5"
18
19S = "${WORKDIR}/gst-plugins-bad-${PV}"
20
21# over-ride the default hls PACKAGECONFIG in gstreamer1.0-plugins-bad.inc to
22# pass an additional --with-hls-crypto=XXX option (new in 1.7.x) and switch HLS
23# AES decryption from nettle to openssl (ie a shared dependency with dtls).
24# This should move back to the common .inc once the main recipe updates to 1.8.x
25PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl"
26
27# The tinyalsa plugin was added prior to the 1.7.2 release
28# https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=c8bd74fa9a81398f57d976c478d2043f30188684
29PACKAGECONFIG[tinyalsa] = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa"
30
31# The vulkan based video sink plugin was added prior to the 1.7.2 release
32# https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=5de6dd9f40629562acf90e35e1fa58464d66617d
33PACKAGECONFIG[vulkan] = "--enable-vulkan,--disable-vulkan,libxcb"
34
35# The dependency-less netsim plugin was added prior to the 1.7.2 release
36# https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=e3f9e854f08e82bfab11182c5a2aa6f9a0c73cd5
37EXTRA_OECONF += " \
38 --enable-netsim \
39"
40
41# In 1.6.2, the "--enable-hls" configure option generated an installable package
42# called "gstreamer1.0-plugins-bad-fragmented". In 1.7.1 that HLS plugin package
43# has become "gstreamer1.0-plugins-bad-hls". See:
44# http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08
45
46PACKAGESPLITFUNCS_append = " handle_hls_rename "
47
48python handle_hls_rename () {
49 d.setVar('RPROVIDES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
50 d.setVar('RREPLACES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
51 d.setVar('RCONFLICTS_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
52}