diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2020-10-29 14:28:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-31 08:54:12 +0000 |
commit | c648b1d1b4b2b922120dba644c47e0b0fd9ab868 (patch) | |
tree | cdd96e43873c1679415637331b440e9bd28bf39e | |
parent | dc88d7e098ee75c9af6834b78aa046bf16bc0f8c (diff) | |
download | poky-c648b1d1b4b2b922120dba644c47e0b0fd9ab868.tar.gz |
gstreamer1.0-libav: upgrade to version 1.18.0
License-Update: All code is now LGPL-2.1+
Starting with 1.17, we will not ship a copy of FFmpeg in our release
tarballs, and all the remaining code is LGPL2.
https://gitlab.freedesktop.org/gstreamer/gst-libav/-/commit/c437e175ad9c82732ac46e36ccc398ad041bf13b
(From OE-Core rev: 9bd130cc66248fa984e8ca4adbab2a505e4fb1fa)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.2.bb | 35 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb | 21 |
2 files changed, 21 insertions, 35 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.2.bb deleted file mode 100644 index 2fdefc925e..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.2.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | SUMMARY = "Libav-based GStreamer 1.x plugin" | ||
2 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
3 | SECTION = "multimedia" | ||
4 | |||
5 | LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )" | ||
6 | LICENSE_FLAGS = "commercial" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
8 | file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \ | ||
9 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c" | ||
10 | |||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \ | ||
12 | " | ||
13 | SRC_URI[md5sum] = "eacebd0136ede3a9bd3672eeb338806b" | ||
14 | SRC_URI[sha256sum] = "c724f612700c15a933c7356fbeabb0bb9571fb5538f8b1b54d4d2d94188deef2" | ||
15 | |||
16 | S = "${WORKDIR}/gst-libav-${PV}" | ||
17 | |||
18 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | ||
19 | |||
20 | inherit meson pkgconfig upstream-version-is-even | ||
21 | |||
22 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
23 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
24 | |||
25 | delete_unused_libav_copy() { | ||
26 | # When building with meson, the internal libav copy is not used. | ||
27 | # It is only present for legacy autotools based builds. In future | ||
28 | # GStreamer versions, the autotools scripts will be gone, and so | ||
29 | # will this internal copy. Until then, it will be present. In order | ||
30 | # to make sure this copy is not included in the -src package, just | ||
31 | # manually delete the copy. | ||
32 | rm -rf "${S}/gst-libs/ext/libav/" | ||
33 | } | ||
34 | |||
35 | do_unpack[postfuncs] += " delete_unused_libav_copy" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb new file mode 100644 index 0000000000..a50f65e981 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Libav-based GStreamer 1.x plugin" | ||
2 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
3 | SECTION = "multimedia" | ||
4 | |||
5 | LICENSE = "LGPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \ | ||
7 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ | ||
8 | " | ||
9 | |||
10 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" | ||
11 | SRC_URI[md5sum] = "fe2f07356fa37445837cdde274027117" | ||
12 | SRC_URI[sha256sum] = "42f93f5ce9a3fc22051e5f783a4574b56ebf213f331f75dcbc3552459bd3a06a" | ||
13 | |||
14 | S = "${WORKDIR}/gst-libav-${PV}" | ||
15 | |||
16 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | ||
17 | |||
18 | inherit meson pkgconfig upstream-version-is-even | ||
19 | |||
20 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
21 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||