diff options
author | Carlos Rafael Giani <crg7475@mailbox.org> | 2020-01-12 14:59:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:33:08 +0000 |
commit | 427eb30f9b59972b38ae3f25094470bb7034547d (patch) | |
tree | e470dff2575a5dd5c424a989257c720f627464d8 /meta | |
parent | 41c498bded82d3c9216dd3c862e70890f67f2914 (diff) | |
download | poky-427eb30f9b59972b38ae3f25094470bb7034547d.tar.gz |
gstreamer1.0-plugins-bad: Transition to meson based builds
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* configure-allow-to-disable-libssh2.patch got replaced by the
-Dcurl-ssh2 option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
fix for GIR support in the meson.build file.
* New "closedcaption" packageconfigs added.
* Removed "flite" packageconfig since flite-alsa was removed from
meta-openembedded due it being old and abandoned.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: fec739c764aed866b073f240086ca193dfe2f495)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
3 files changed, 141 insertions, 165 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch new file mode 100644 index 0000000000..1321852023 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com> | ||
3 | Date: Fri, 18 Oct 2019 00:39:12 +0100 | ||
4 | Subject: [PATCH 1/2] meson: build gir even when cross-compiling if | ||
5 | introspection was enabled explicitly | ||
6 | |||
7 | This can be made to work in certain circumstances when | ||
8 | cross-compiling, so default to not building g-i stuff | ||
9 | when cross-compiling, but allow it if introspection was | ||
10 | enabled explicitly via -Dintrospection=enabled. | ||
11 | |||
12 | See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. | ||
13 | |||
14 | Upstream-Status: Backport [97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19] | ||
15 | |||
16 | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> | ||
17 | --- | ||
18 | meson.build | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/meson.build b/meson.build | ||
22 | index 67aeeb4d0..7b3314bd9 100644 | ||
23 | --- a/meson.build | ||
24 | +++ b/meson.build | ||
25 | @@ -411,7 +411,7 @@ python3 = import('python').find_installation() | ||
26 | |||
27 | gir = find_program('g-ir-scanner', required : get_option('introspection')) | ||
28 | gnome = import('gnome') | ||
29 | -build_gir = gir.found() and not meson.is_cross_build() | ||
30 | +build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) | ||
31 | gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ | ||
32 | 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ | ||
33 | 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ | ||
34 | -- | ||
35 | 2.17.1 | ||
36 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch deleted file mode 100644 index 25861b6b9d..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | From f59c5269f92d59a5296cbfeeb682d42095cd88ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Thu, 18 Sep 2014 02:24:07 -0400 | ||
4 | Subject: [PATCH] gstreamer1.0-plugins-bad: allow to disable libssh2 | ||
5 | |||
6 | libssh2 is automatically linked to if present, this undetermined | ||
7 | dependency may cause build errors like: | ||
8 | |||
9 | .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2 | ||
10 | |||
11 | libssh2 isn't an oe-core recipe, so allow to disable it from | ||
12 | configure. | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
17 | --- | ||
18 | configure.ac | 23 +++++++++++++++++------ | ||
19 | 1 file changed, 17 insertions(+), 6 deletions(-) | ||
20 | |||
21 | Index: gst-plugins-bad-1.12.3/configure.ac | ||
22 | =================================================================== | ||
23 | --- gst-plugins-bad-1.12.3.orig/configure.ac | ||
24 | +++ gst-plugins-bad-1.12.3/configure.ac | ||
25 | @@ -1202,6 +1202,15 @@ AG_GST_CHECK_FEATURE(CHROMAPRINT, [chrom | ||
26 | ]) | ||
27 | |||
28 | dnl *** Curl *** | ||
29 | +AC_ARG_ENABLE([libssh2], | ||
30 | + [ --enable-libssh2 enable LIBSSH2 support @<:@default=auto@:>@], | ||
31 | + [case "${enableval}" in | ||
32 | + yes) NEED_SSH2=yes ;; | ||
33 | + no) NEED_SSH2=no ;; | ||
34 | + auto) NEED_SSH2=auto ;; | ||
35 | + *) AC_MSG_ERROR([bad value ${enableval} for --enable-libssh2]) ;; | ||
36 | + esac],[NEED_SSH2=auto]) | ||
37 | + | ||
38 | translit(dnm, m, l) AM_CONDITIONAL(USE_CURL, true) | ||
39 | AG_GST_CHECK_FEATURE(CURL, [Curl plugin], curl, [ | ||
40 | PKG_CHECK_MODULES(CURL, libcurl >= 7.35.0, [ | ||
41 | @@ -1224,12 +1233,14 @@ AG_GST_CHECK_FEATURE(CURL, [Curl plugin] | ||
42 | ]) | ||
43 | AC_SUBST(CURL_CFLAGS) | ||
44 | AC_SUBST(CURL_LIBS) | ||
45 | - PKG_CHECK_MODULES(SSH2, libssh2 >= 1.4.3, [ | ||
46 | - HAVE_SSH2="yes" | ||
47 | - AC_DEFINE(HAVE_SSH2, 1, [Define if libssh2 is available]) | ||
48 | - ], [ | ||
49 | - HAVE_SSH2="no" | ||
50 | - ]) | ||
51 | + if test "x$NEED_SSH2" != "xno"; then | ||
52 | + PKG_CHECK_MODULES(SSH2, libssh2 >= 1.4.3, [ | ||
53 | + HAVE_SSH2="yes" | ||
54 | + AC_DEFINE(HAVE_SSH2, 1, [Define if libssh2 is available]) | ||
55 | + ], [ | ||
56 | + HAVE_SSH2="no" | ||
57 | + ]) | ||
58 | + fi | ||
59 | AM_CONDITIONAL(USE_SSH2, test "x$HAVE_SSH2" = "xyes") | ||
60 | AC_SUBST(SSH2_CFLAGS) | ||
61 | AC_SUBST(SSH2_LIBS) | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb index ed3efab29f..56ae7a179e 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb | |||
@@ -1,12 +1,11 @@ | |||
1 | require gstreamer1.0-plugins.inc | 1 | require gstreamer1.0-plugins-common.inc |
2 | 2 | ||
3 | SRC_URI = " \ | 3 | SRC_URI = " \ |
4 | https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | 4 | https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ |
5 | file://configure-allow-to-disable-libssh2.patch \ | 5 | file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \ |
6 | file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ | 6 | file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ |
7 | file://avoid-including-sys-poll.h-directly.patch \ | 7 | file://avoid-including-sys-poll.h-directly.patch \ |
8 | file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \ | 8 | file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \ |
9 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ | ||
10 | " | 9 | " |
11 | SRC_URI[md5sum] = "24d4d30ecc67d5cbc77c0475bcea1210" | 10 | SRC_URI[md5sum] = "24d4d30ecc67d5cbc77c0475bcea1210" |
12 | SRC_URI[sha256sum] = "56481c95339b8985af13bac19b18bc8da7118c2a7d9440ed70e7dcd799c2adb5" | 11 | SRC_URI[sha256sum] = "56481c95339b8985af13bac19b18bc8da7118c2a7d9440ed70e7dcd799c2adb5" |
@@ -19,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ | |||
19 | 18 | ||
20 | DEPENDS += "gstreamer1.0-plugins-base" | 19 | DEPENDS += "gstreamer1.0-plugins-base" |
21 | 20 | ||
22 | inherit gettext gobject-introspection | 21 | inherit gobject-introspection |
23 | 22 | ||
24 | PACKAGECONFIG ??= " \ | 23 | PACKAGECONFIG ??= " \ |
25 | ${GSTREAMER_ORC} \ | 24 | ${GSTREAMER_ORC} \ |
@@ -27,112 +26,114 @@ PACKAGECONFIG ??= " \ | |||
27 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ | 26 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ |
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ |
30 | bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml uvch264 webp \ | 29 | bz2 closedcaption curl dash dtls hls rsvg sbc smoothstreaming sndfile \ |
30 | ttml uvch264 webp \ | ||
31 | " | 31 | " |
32 | 32 | ||
33 | PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" | ||
34 | PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5" | ||
35 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" | ||
36 | PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo" | ||
37 | PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" | ||
38 | PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2" | ||
39 | PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394" | ||
40 | PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb" | ||
41 | PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" | ||
42 | PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" | ||
43 | PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" | ||
44 | PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" | ||
45 | PACKAGECONFIG[hls] = "-Dhls=enabled -Dhls-crypto=nettle,-Dhls=disabled,nettle" | ||
33 | # the gl packageconfig enables OpenGL elements that haven't been ported | 46 | # the gl packageconfig enables OpenGL elements that haven't been ported |
34 | # to -base yet. They depend on the gstgl library in -base, so we do | 47 | # to -base yet. They depend on the gstgl library in -base, so we do |
35 | # not add GL dependencies here, since these are taken care of in -base. | 48 | # not add GL dependencies here, since these are taken care of in -base. |
36 | 49 | PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled," | |
37 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | 50 | PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm" |
38 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez5" | 51 | PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265" |
39 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | 52 | PACKAGECONFIG[libmms] = "-Dlibmms=enabled,-Dlibmms=disabled,libmms" |
40 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | 53 | PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2" |
41 | PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2" | 54 | PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms" |
42 | PACKAGECONFIG[dc1394] = "--enable-dc1394,--disable-dc1394,libdc1394" | 55 | PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug" |
43 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" | 56 | PACKAGECONFIG[msdk] = "-Dmsdk=enabled,-Dmsdk=disabled,intel-mediasdk" |
44 | PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl" | 57 | PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon" |
45 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" | 58 | PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft" |
46 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | 59 | PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv" |
47 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | 60 | PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264" |
48 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | 61 | PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg" |
49 | PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" | 62 | PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt" |
50 | PACKAGECONFIG[gl] = "--enable-gl,--disable-gl," | ||
51 | PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" | ||
52 | PACKAGECONFIG[libde265] = "--enable-libde265,--disable-libde265,libde265" | ||
53 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" | ||
54 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" | ||
55 | PACKAGECONFIG[lcms2] = "--enable-lcms2,--disable-lcms2,lcms" | ||
56 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" | ||
57 | PACKAGECONFIG[msdk] = "--enable-msdk,--disable-msdk,intel-mediasdk" | ||
58 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" | ||
59 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" | ||
60 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" | ||
61 | PACKAGECONFIG[openh264] = "--enable-openh264,--disable-openh264,openh264" | ||
62 | PACKAGECONFIG[openjpeg] = "--enable-openjpeg,--disable-openjpeg,openjpeg" | ||
63 | PACKAGECONFIG[openmpt] = "--enable-openmpt,--disable-openmpt,libopenmpt" | ||
64 | # the opus encoder/decoder elements are now in the -base package, | 63 | # the opus encoder/decoder elements are now in the -base package, |
65 | # but the opus parser remains in -bad | 64 | # but the opus parser remains in -bad |
66 | PACKAGECONFIG[opusparse] = "--enable-opus,--disable-opus,libopus" | 65 | PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus" |
67 | PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdread libdvdnav" | 66 | PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav" |
68 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" | 67 | PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg" |
69 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" | 68 | PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump" |
70 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | 69 | PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc" |
71 | PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,usrsctp" | 70 | PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled,usrsctp" |
72 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" | 71 | PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2" |
73 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" | 72 | PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" |
74 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" | 73 | PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" |
75 | PACKAGECONFIG[tinyalsa] = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa" | 74 | PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" |
76 | PACKAGECONFIG[ttml] = "--enable-ttml,--disable-ttml,libxml2 pango cairo" | 75 | PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" |
77 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" | 76 | PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" |
78 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" | 77 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" |
79 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" | 78 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" |
80 | PACKAGECONFIG[vulkan] = "--enable-vulkan,--disable-vulkan,vulkan-loader" | 79 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader" |
81 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | 80 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" |
82 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | 81 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" |
83 | PACKAGECONFIG[webrtc] = "--enable-webrtc,--disable-webrtc,libnice" | 82 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" |
84 | PACKAGECONFIG[webrtcdsp] = "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing" | 83 | PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" |
85 | PACKAGECONFIG[zbar] = "--enable-zbar,--disable-zbar,zbar" | 84 | PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" |
86 | 85 | ||
87 | # these plugins have no corresponding library in OE-core or meta-openembedded: | 86 | # these plugins currently have no corresponding library in OE-core or meta-openembedded: |
88 | # openni2 winks direct3d directsound winscreencap apple_media iqa | 87 | # aom androidmedia applemedia bs2b chromaprint d3dvideosink |
89 | # android_media avc bs2b chromaprint dts fdkaac gme gsm kate ladspa | 88 | # directsound dts fdkaac gme gsm iq kate ladspa lv2 mpeg2enc |
90 | # lv2 mpeg2enc mplex musepack nvenc ofa opensles soundtouch | 89 | # mplex musepack nvdec nvenc ofa openexr openni2 opensles |
91 | # spandsp teletextdec vdpau wasapi wpe x265 | 90 | # soundtouch spandsp srt teletext vdpau wasapi wildmidi winks |
91 | # winscreencap wpe x265 | ||
92 | 92 | ||
93 | EXTRA_OECONF += " \ | 93 | EXTRA_OEMESON += " \ |
94 | --enable-decklink \ | 94 | -Ddecklink=enabled \ |
95 | --enable-dvb \ | 95 | -Ddvb=enabled \ |
96 | --enable-fbdev \ | 96 | -Dfbdev=enabled \ |
97 | --enable-ipcpipeline \ | 97 | -Dipcpipeline=enabled \ |
98 | --enable-netsim \ | 98 | -Dnetsim=enabled \ |
99 | --enable-shm \ | 99 | -Dshm=enabled \ |
100 | --disable-android_media \ | 100 | -Daom=disabled \ |
101 | --disable-aom \ | 101 | -Dandroidmedia=disabled \ |
102 | --disable-apple_media \ | 102 | -Dapplemedia=disabled \ |
103 | --disable-avc \ | 103 | -Dbs2b=disabled \ |
104 | --disable-bs2b \ | 104 | -Dchromaprint=disabled \ |
105 | --disable-chromaprint \ | 105 | -Dd3dvideosink=disabled \ |
106 | --disable-direct3d \ | 106 | -Ddirectsound=disabled \ |
107 | --disable-directsound \ | 107 | -Ddts=disabled \ |
108 | --disable-dts \ | 108 | -Dfdkaac=disabled \ |
109 | --disable-fdk_aac \ | 109 | -Dflite=disabled \ |
110 | --disable-gme \ | 110 | -Dgme=disabled \ |
111 | --disable-gsm \ | 111 | -Dgsm=disabled \ |
112 | --disable-iqa \ | 112 | -Diqa=disabled \ |
113 | --disable-kate \ | 113 | -Dkate=disabled \ |
114 | --disable-ladspa \ | 114 | -Dladspa=disabled \ |
115 | --disable-lv2 \ | 115 | -Dlv2=disabled \ |
116 | --disable-mpeg2enc \ | 116 | -Dmpeg2enc=disabled \ |
117 | --disable-mplex \ | 117 | -Dmplex=disabled \ |
118 | --disable-musepack \ | 118 | -Dmusepack=disabled \ |
119 | --disable-nvenc \ | 119 | -Dnvdec=disabled \ |
120 | --disable-ofa \ | 120 | -Dnvenc=disabled \ |
121 | --disable-openexr \ | 121 | -Dofa=disabled \ |
122 | --disable-openni2 \ | 122 | -Dopenexr=disabled \ |
123 | --disable-opensles \ | 123 | -Dopenni2=disabled \ |
124 | --disable-soundtouch \ | 124 | -Dopensles=disabled \ |
125 | --disable-spandsp \ | 125 | -Dsoundtouch=disabled \ |
126 | --disable-srt \ | 126 | -Dspandsp=disabled \ |
127 | --disable-teletextdec \ | 127 | -Dsrt=disabled \ |
128 | --disable-vdpau \ | 128 | -Dteletext=disabled \ |
129 | --disable-wasapi \ | 129 | -Dvdpau=disabled \ |
130 | --disable-wildmidi \ | 130 | -Dwasapi=disabled \ |
131 | --disable-winks \ | 131 | -Dwildmidi=disabled \ |
132 | --disable-winscreencap \ | 132 | -Dwinks=disabled \ |
133 | --disable-wpe \ | 133 | -Dwinscreencap=disabled \ |
134 | --disable-x265 \ | 134 | -Dwpe=disabled \ |
135 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ | 135 | -Dx265=disabled \ |
136 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "-Dyadif=disabled", "", d)} \ | ||
136 | " | 137 | " |
137 | 138 | ||
138 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | 139 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" |
@@ -140,6 +141,6 @@ export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | |||
140 | ARM_INSTRUCTION_SET_armv4 = "arm" | 141 | ARM_INSTRUCTION_SET_armv4 = "arm" |
141 | ARM_INSTRUCTION_SET_armv5 = "arm" | 142 | ARM_INSTRUCTION_SET_armv5 = "arm" |
142 | 143 | ||
143 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" | 144 | FILES_${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" |
144 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" | 145 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" |
145 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" | 146 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" |