diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-02-21 10:01:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-21 17:48:08 +0000 |
commit | 52e0a507985ad2dfb844ced714e7fdfb49132e67 (patch) | |
tree | 0e86f5a9705c80bf075d5bc6b8107f776d5e4cfd /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb | |
parent | 27545fb68f127707b09e50e9b60280bbb0e9e6ed (diff) | |
download | poky-52e0a507985ad2dfb844ced714e7fdfb49132e67.tar.gz |
gstreamer1.0-plugins-bad: upgrade 1.16.1 -> 1.16.2
(From OE-Core rev: 14caa7dc99386c543d0793aabf95b9d28d046295)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb new file mode 100644 index 0000000000..7a227fed51 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb | |||
@@ -0,0 +1,147 @@ | |||
1 | require gstreamer1.0-plugins-common.inc | ||
2 | |||
3 | SRC_URI = " \ | ||
4 | https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | ||
5 | file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \ | ||
6 | file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ | ||
7 | file://avoid-including-sys-poll.h-directly.patch \ | ||
8 | file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \ | ||
9 | file://opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ | ||
10 | " | ||
11 | SRC_URI[md5sum] = "ccc7404230afddec723bbdb63c89feec" | ||
12 | SRC_URI[sha256sum] = "f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74" | ||
13 | |||
14 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | ||
15 | |||
16 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+" | ||
17 | LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ | ||
18 | file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 " | ||
19 | |||
20 | DEPENDS += "gstreamer1.0-plugins-base" | ||
21 | |||
22 | inherit gobject-introspection | ||
23 | |||
24 | PACKAGECONFIG ??= " \ | ||
25 | ${GSTREAMER_ORC} \ | ||
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | ||
27 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ | ||
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | ||
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ | ||
30 | bz2 closedcaption curl dash dtls hls rsvg sbc smoothstreaming sndfile \ | ||
31 | ttml uvch264 webp \ | ||
32 | " | ||
33 | |||
34 | PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" | ||
35 | PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5" | ||
36 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" | ||
37 | PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo" | ||
38 | PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" | ||
39 | PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2" | ||
40 | PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394" | ||
41 | PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb" | ||
42 | PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" | ||
43 | PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" | ||
44 | PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" | ||
45 | PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" | ||
46 | PACKAGECONFIG[hls] = "-Dhls=enabled -Dhls-crypto=nettle,-Dhls=disabled,nettle" | ||
47 | # the gl packageconfig enables OpenGL elements that haven't been ported | ||
48 | # to -base yet. They depend on the gstgl library in -base, so we do | ||
49 | # not add GL dependencies here, since these are taken care of in -base. | ||
50 | PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled," | ||
51 | PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm" | ||
52 | PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265" | ||
53 | PACKAGECONFIG[libmms] = "-Dlibmms=enabled,-Dlibmms=disabled,libmms" | ||
54 | PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2" | ||
55 | PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms" | ||
56 | PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug" | ||
57 | PACKAGECONFIG[msdk] = "-Dmsdk=enabled,-Dmsdk=disabled,intel-mediasdk" | ||
58 | PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon" | ||
59 | PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft" | ||
60 | PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv" | ||
61 | PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264" | ||
62 | PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg" | ||
63 | PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt" | ||
64 | # the opus encoder/decoder elements are now in the -base package, | ||
65 | # but the opus parser remains in -bad | ||
66 | PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus" | ||
67 | PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav" | ||
68 | PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg" | ||
69 | PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump" | ||
70 | PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc" | ||
71 | PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled,usrsctp" | ||
72 | PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2" | ||
73 | PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" | ||
74 | PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" | ||
75 | PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" | ||
76 | PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" | ||
77 | PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" | ||
78 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" | ||
79 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" | ||
80 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader" | ||
81 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" | ||
82 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" | ||
83 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" | ||
84 | PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" | ||
85 | PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" | ||
86 | |||
87 | # these plugins currently have no corresponding library in OE-core or meta-openembedded: | ||
88 | # aom androidmedia applemedia bs2b chromaprint d3dvideosink | ||
89 | # directsound dts fdkaac gme gsm iq kate ladspa lv2 mpeg2enc | ||
90 | # mplex musepack nvdec nvenc ofa openexr openni2 opensles | ||
91 | # soundtouch spandsp srt teletext vdpau wasapi wildmidi winks | ||
92 | # winscreencap wpe x265 | ||
93 | |||
94 | EXTRA_OEMESON += " \ | ||
95 | -Ddecklink=enabled \ | ||
96 | -Ddvb=enabled \ | ||
97 | -Dfbdev=enabled \ | ||
98 | -Dipcpipeline=enabled \ | ||
99 | -Dnetsim=enabled \ | ||
100 | -Dshm=enabled \ | ||
101 | -Daom=disabled \ | ||
102 | -Dandroidmedia=disabled \ | ||
103 | -Dapplemedia=disabled \ | ||
104 | -Dbs2b=disabled \ | ||
105 | -Dchromaprint=disabled \ | ||
106 | -Dd3dvideosink=disabled \ | ||
107 | -Ddirectsound=disabled \ | ||
108 | -Ddts=disabled \ | ||
109 | -Dfdkaac=disabled \ | ||
110 | -Dflite=disabled \ | ||
111 | -Dgme=disabled \ | ||
112 | -Dgsm=disabled \ | ||
113 | -Diqa=disabled \ | ||
114 | -Dkate=disabled \ | ||
115 | -Dladspa=disabled \ | ||
116 | -Dlv2=disabled \ | ||
117 | -Dmpeg2enc=disabled \ | ||
118 | -Dmplex=disabled \ | ||
119 | -Dmusepack=disabled \ | ||
120 | -Dnvdec=disabled \ | ||
121 | -Dnvenc=disabled \ | ||
122 | -Dofa=disabled \ | ||
123 | -Dopenexr=disabled \ | ||
124 | -Dopenni2=disabled \ | ||
125 | -Dopensles=disabled \ | ||
126 | -Dsoundtouch=disabled \ | ||
127 | -Dspandsp=disabled \ | ||
128 | -Dsrt=disabled \ | ||
129 | -Dteletext=disabled \ | ||
130 | -Dvdpau=disabled \ | ||
131 | -Dwasapi=disabled \ | ||
132 | -Dwildmidi=disabled \ | ||
133 | -Dwinks=disabled \ | ||
134 | -Dwinscreencap=disabled \ | ||
135 | -Dwpe=disabled \ | ||
136 | -Dx265=disabled \ | ||
137 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "-Dyadif=disabled", "", d)} \ | ||
138 | " | ||
139 | |||
140 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | ||
141 | |||
142 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
143 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
144 | |||
145 | FILES_${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" | ||
146 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" | ||
147 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" | ||