diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb new file mode 100644 index 00000000..a3f22a0d --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.imx.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "Libav-based GStreamer 1.x plugin" | ||
2 | DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ | ||
3 | muxers, and demuxers provided by FFmpeg." | ||
4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | # ffmpeg has comercial license flags so add it as we need ffmpeg as a dependency | ||
8 | LICENSE_FLAGS = "commercial" | ||
9 | LICENSE = "LGPL-2.1-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | ||
11 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ | ||
12 | " | ||
13 | |||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \ | ||
15 | file://0001-libav-Fix-for-APNG-encoder-property-registration.patch \ | ||
16 | " | ||
17 | SRC_URI[sha256sum] = "3fedd10560fcdfaa1b6462cbf79a38c4e7b57d7f390359393fc0cef6dbf27dfe" | ||
18 | |||
19 | S = "${WORKDIR}/gst-libav-${PV}" | ||
20 | |||
21 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | ||
22 | |||
23 | inherit meson pkgconfig upstream-version-is-even | ||
24 | |||
25 | EXTRA_OEMESON += " \ | ||
26 | -Dtests=disabled \ | ||
27 | " | ||
28 | |||
29 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
30 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
31 | |||
32 | # These recipes are copies of oe-core 1.20.3 that are not available | ||
33 | # anymore upstream on the master branch. | ||
34 | # The requirement to have them is because they are dependencies of | ||
35 | # the other ones imx specific gstreamer forks on the layer. | ||
36 | # So make their names maching the exisng ones will make it more safe. | ||
37 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||