diff options
| author | Jose Quaresma <quaresma.jose@gmail.com> | 2021-03-21 15:46:03 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-23 22:51:25 +0000 |
| commit | 902bf6550c5620f86460744bf27c46137f19a089 (patch) | |
| tree | d8b8f58d96e55f378c9e34954b7a8114964e6652 /meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb | |
| parent | c3ec66dfb50c7fc0ab3b5bf6e0825ed3b1ca5971 (diff) | |
| download | poky-902bf6550c5620f86460744bf27c46137f19a089.tar.gz | |
gstreamer1.0: upgrade 1.18.3 -> 1.18.4
(From OE-Core rev: 633739bc912cf84c78f5ae0f7fbcb41663a05c7f)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb')
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb new file mode 100644 index 0000000000..8562070968 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | SUMMARY = "GStreamer 1.0 multimedia framework" | ||
| 2 | DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ | ||
| 3 | It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." | ||
| 4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
| 5 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" | ||
| 6 | SECTION = "multimedia" | ||
| 7 | LICENSE = "LGPLv2+" | ||
| 8 | |||
| 9 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 bison-native flex-native" | ||
| 10 | |||
| 11 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection | ||
| 12 | |||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \ | ||
| 14 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/gstreamer-${PV}" | ||
| 17 | |||
| 18 | SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ | ||
| 19 | file://0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch \ | ||
| 20 | file://0002-Remove-unused-valgrind-detection.patch \ | ||
| 21 | file://0003-meson-Add-option-for-installed-tests.patch \ | ||
| 22 | file://0001-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch \ | ||
| 23 | " | ||
| 24 | SRC_URI[sha256sum] = "9aeec99b38e310817012aa2d1d76573b787af47f8a725a65b833880a094dfbc5" | ||
| 25 | |||
| 26 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | ||
| 27 | check \ | ||
| 28 | debug \ | ||
| 29 | tools" | ||
| 30 | |||
| 31 | PACKAGECONFIG[debug] = "-Dgst_debug=true,-Dgst_debug=false" | ||
| 32 | PACKAGECONFIG[tracer-hooks] = "-Dtracer_hooks=true,-Dtracer_hooks=false" | ||
| 33 | PACKAGECONFIG[coretracers] = "-Dcoretracers=enabled,-Dcoretracers=disabled" | ||
| 34 | PACKAGECONFIG[check] = "-Dcheck=enabled,-Dcheck=disabled" | ||
| 35 | PACKAGECONFIG[tests] = "-Dtests=enabled -Dinstalled-tests=true,-Dtests=disabled -Dinstalled-tests=false" | ||
| 36 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" | ||
| 37 | PACKAGECONFIG[dw] = "-Dlibdw=enabled,-Dlibdw=disabled,elfutils" | ||
| 38 | PACKAGECONFIG[bash-completion] = "-Dbash-completion=enabled,-Dbash-completion=disabled,bash-completion" | ||
| 39 | PACKAGECONFIG[tools] = "-Dtools=enabled,-Dtools=disabled" | ||
| 40 | PACKAGECONFIG[setcap] = "-Dptp-helper-permissions=capabilities,,libcap libcap-native" | ||
| 41 | |||
| 42 | # TODO: put this in a gettext.bbclass patch | ||
| 43 | def gettext_oemeson(d): | ||
| 44 | if d.getVar('USE_NLS') == 'no': | ||
| 45 | return '-Dnls=disabled' | ||
| 46 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
| 47 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
| 48 | return '-Dnls=disabled' | ||
| 49 | return '-Dnls=enabled' | ||
| 50 | |||
| 51 | EXTRA_OEMESON += " \ | ||
| 52 | -Ddoc=disabled \ | ||
| 53 | -Dexamples=disabled \ | ||
| 54 | -Ddbghelp=disabled \ | ||
| 55 | ${@gettext_oemeson(d)} \ | ||
| 56 | " | ||
| 57 | |||
| 58 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
| 59 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
| 60 | |||
| 61 | PACKAGES += "${PN}-bash-completion" | ||
| 62 | |||
| 63 | # Add the core element plugins to the main package | ||
| 64 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
| 65 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include" | ||
| 66 | FILES_${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*" | ||
| 67 | FILES_${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb" | ||
| 68 | |||
| 69 | CVE_PRODUCT = "gstreamer" | ||
| 70 | |||
| 71 | require gstreamer1.0-ptest.inc | ||
