diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-05-26 04:52:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-02 13:32:49 +0100 |
commit | 843515016392363fa5acbb44137a092583dd2324 (patch) | |
tree | efa4bbfd0eeac3663450b56f13737d80ed07d863 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb | |
parent | c09bd0d9c16e0fe03e76b3c3b824cded45c5bcef (diff) | |
download | poky-843515016392363fa5acbb44137a092583dd2324.tar.gz |
gstreamer1.0-plugins-bad: upgrade 1.16.1 -> 1.16.2
(From OE-Core rev: 06a6dc2355463568e8e0979bffe4899b916726df)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | 145 |
1 files changed, 145 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..756b823e7d --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb | |||
@@ -0,0 +1,145 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | SRC_URI = " \ | ||
4 | https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | ||
5 | file://configure-allow-to-disable-libssh2.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://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.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 gettext 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 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml uvch264 webp \ | ||
31 | " | ||
32 | |||
33 | # 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 | ||
35 | # not add GL dependencies here, since these are taken care of in -base. | ||
36 | |||
37 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | ||
38 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez5" | ||
39 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | ||
40 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | ||
41 | PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2" | ||
42 | PACKAGECONFIG[dc1394] = "--enable-dc1394,--disable-dc1394,libdc1394" | ||
43 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" | ||
44 | PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl" | ||
45 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" | ||
46 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | ||
47 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | ||
48 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | ||
49 | PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" | ||
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, | ||
65 | # but the opus parser remains in -bad | ||
66 | PACKAGECONFIG[opusparse] = "--enable-opus,--disable-opus,libopus" | ||
67 | PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdread libdvdnav" | ||
68 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" | ||
69 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" | ||
70 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | ||
71 | PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,usrsctp" | ||
72 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" | ||
73 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" | ||
74 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" | ||
75 | PACKAGECONFIG[tinyalsa] = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa" | ||
76 | PACKAGECONFIG[ttml] = "--enable-ttml,--disable-ttml,libxml2 pango cairo" | ||
77 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" | ||
78 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" | ||
79 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" | ||
80 | PACKAGECONFIG[vulkan] = "--enable-vulkan,--disable-vulkan,vulkan-loader" | ||
81 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | ||
82 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
83 | PACKAGECONFIG[webrtc] = "--enable-webrtc,--disable-webrtc,libnice" | ||
84 | PACKAGECONFIG[webrtcdsp] = "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing" | ||
85 | |||
86 | # these plugins have no corresponding library in OE-core or meta-openembedded: | ||
87 | # openni2 winks direct3d directsound winscreencap apple_media iqa | ||
88 | # android_media avc bs2b chromaprint dts fdkaac gme gsm kate ladspa | ||
89 | # lv2 mpeg2enc mplex musepack nvenc ofa opensles soundtouch | ||
90 | # spandsp teletextdec vdpau wasapi wpe x265 zbar | ||
91 | |||
92 | EXTRA_OECONF += " \ | ||
93 | --enable-decklink \ | ||
94 | --enable-dvb \ | ||
95 | --enable-fbdev \ | ||
96 | --enable-ipcpipeline \ | ||
97 | --enable-netsim \ | ||
98 | --enable-shm \ | ||
99 | --disable-android_media \ | ||
100 | --disable-aom \ | ||
101 | --disable-apple_media \ | ||
102 | --disable-avc \ | ||
103 | --disable-bs2b \ | ||
104 | --disable-chromaprint \ | ||
105 | --disable-direct3d \ | ||
106 | --disable-directsound \ | ||
107 | --disable-dts \ | ||
108 | --disable-fdk_aac \ | ||
109 | --disable-gme \ | ||
110 | --disable-gsm \ | ||
111 | --disable-iqa \ | ||
112 | --disable-kate \ | ||
113 | --disable-ladspa \ | ||
114 | --disable-lv2 \ | ||
115 | --disable-mpeg2enc \ | ||
116 | --disable-mplex \ | ||
117 | --disable-musepack \ | ||
118 | --disable-nvenc \ | ||
119 | --disable-ofa \ | ||
120 | --disable-openexr \ | ||
121 | --disable-openni2 \ | ||
122 | --disable-opensles \ | ||
123 | --disable-soundtouch \ | ||
124 | --disable-spandsp \ | ||
125 | --disable-srt \ | ||
126 | --disable-teletextdec \ | ||
127 | --disable-vdpau \ | ||
128 | --disable-wasapi \ | ||
129 | --disable-wildmidi \ | ||
130 | --disable-winks \ | ||
131 | --disable-winscreencap \ | ||
132 | --disable-wpe \ | ||
133 | --disable-x265 \ | ||
134 | --disable-zbar \ | ||
135 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ | ||
136 | " | ||
137 | |||
138 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | ||
139 | |||
140 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
141 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
142 | |||
143 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" | ||
144 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" | ||
145 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" | ||