diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2018-07-24 12:52:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:41 +0100 |
commit | 4e914f760b81e0052df9d9ef329199af8f613247 (patch) | |
tree | 20af478a36c14c736b9724869596d51d1701dc2d | |
parent | 6f690acbcc12757c77dd27828022b605f25a4b35 (diff) | |
download | poky-4e914f760b81e0052df9d9ef329199af8f613247.tar.gz |
gstreamer1.0-plugin-bad: Update packageconfigs
* Add packageconfigs for gl, libde265, lcms2, openh264, tinyalsa, ttml,
webrtc, webrtcdsp
* Remove unnecessary gstglconfig.h line, since that file is no longer
part of -bad (it is in -base now)
* Update EXTRA_OECONF flags, since new plugins got added to -bad
* Add ttml to the default packageconfigs since its dependencies are
all in oe-core
(From OE-Core rev: e0f2a1f3e7f8eb6ce0d98fbc43acd8a4da641866)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb index 0e477e5a9c..64d565135b 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb | |||
@@ -27,9 +27,14 @@ PACKAGECONFIG ??= " \ | |||
27 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
28 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ | 28 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ |
30 | bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile uvch264 webp \ | 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ |
31 | bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml uvch264 webp \ | ||
31 | " | 32 | " |
32 | 33 | ||
34 | # the gl packageconfig enables OpenGL elements that haven't been ported | ||
35 | # to -base yet. They depend on the gstgl library in -base, so we do | ||
36 | # not add GL dependencies here, since these are taken care of in -base. | ||
37 | |||
33 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | 38 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" |
34 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}" | 39 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}" |
35 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | 40 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" |
@@ -43,13 +48,17 @@ PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | |||
43 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | 48 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" |
44 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | 49 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" |
45 | PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" | 50 | PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" |
51 | PACKAGECONFIG[gl] = "--enable-gl,--disable-gl," | ||
46 | PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" | 52 | PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" |
53 | PACKAGECONFIG[libde265] = "--enable-libde265,--disable-libde265,libde265" | ||
47 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" | 54 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" |
48 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" | 55 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" |
56 | PACKAGECONFIG[lcms2] = "--enable-lcms2,--disable-lcms2,lcms" | ||
49 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" | 57 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" |
50 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" | 58 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" |
51 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" | 59 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" |
52 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" | 60 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" |
61 | PACKAGECONFIG[openh264] = "--enable-openh264,--disable-openh264,openh264" | ||
53 | PACKAGECONFIG[openjpeg] = "--enable-openjpeg,--disable-openjpeg,openjpeg" | 62 | PACKAGECONFIG[openjpeg] = "--enable-openjpeg,--disable-openjpeg,openjpeg" |
54 | # the opus encoder/decoder elements are now in the -base package, | 63 | # the opus encoder/decoder elements are now in the -base package, |
55 | # but the opus parser remains in -bad | 64 | # but the opus parser remains in -bad |
@@ -61,28 +70,34 @@ PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | |||
61 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" | 70 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" |
62 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" | 71 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" |
63 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" | 72 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" |
73 | PACKAGECONFIG[tinyalsa] = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa" | ||
74 | PACKAGECONFIG[ttml] = "--enable-ttml,--disable-ttml,libxml2 pango cairo" | ||
64 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" | 75 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" |
65 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" | 76 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" |
66 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" | 77 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" |
67 | PACKAGECONFIG[vulkan] = "--enable-vulkan,--disable-vulkan,vulkan" | 78 | PACKAGECONFIG[vulkan] = "--enable-vulkan,--disable-vulkan,vulkan" |
68 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | 79 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" |
69 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | 80 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" |
81 | PACKAGECONFIG[webrtc] = "--enable-webrtc,--disable-webrtc,libnice" | ||
82 | PACKAGECONFIG[webrtcdsp] = "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing" | ||
70 | 83 | ||
71 | # these plugins have no corresponding library in OE-core or meta-openembedded: | 84 | # these plugins have no corresponding library in OE-core or meta-openembedded: |
72 | # openni2 winks direct3d directsound winscreencap acm apple_media iqa | 85 | # openni2 winks direct3d directsound winscreencap acm apple_media iqa |
73 | # android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa libde265 | 86 | # android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa |
74 | # lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles soundtouch spandsp | 87 | # lv2 mpeg2enc mplex msdk musepack nvenc ofa openmpt opensles soundtouch |
75 | # spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp | 88 | # spandsp spc teletextdec vdpau wasapi x265 zbar |
76 | 89 | ||
77 | EXTRA_OECONF += " \ | 90 | EXTRA_OECONF += " \ |
78 | --enable-decklink \ | 91 | --enable-decklink \ |
79 | --enable-dvb \ | 92 | --enable-dvb \ |
80 | --enable-fbdev \ | 93 | --enable-fbdev \ |
94 | --enable-ipcpipeline \ | ||
81 | --enable-netsim \ | 95 | --enable-netsim \ |
82 | --enable-shm \ | 96 | --enable-shm \ |
83 | --enable-vcd \ | 97 | --enable-vcd \ |
84 | --disable-acm \ | 98 | --disable-acm \ |
85 | --disable-android_media \ | 99 | --disable-android_media \ |
100 | --disable-aom \ | ||
86 | --disable-apple_media \ | 101 | --disable-apple_media \ |
87 | --disable-avc \ | 102 | --disable-avc \ |
88 | --disable-bs2b \ | 103 | --disable-bs2b \ |
@@ -97,7 +112,6 @@ EXTRA_OECONF += " \ | |||
97 | --disable-iqa \ | 112 | --disable-iqa \ |
98 | --disable-kate \ | 113 | --disable-kate \ |
99 | --disable-ladspa \ | 114 | --disable-ladspa \ |
100 | --disable-libde265 \ | ||
101 | --disable-lv2 \ | 115 | --disable-lv2 \ |
102 | --disable-mpeg2enc \ | 116 | --disable-mpeg2enc \ |
103 | --disable-mplex \ | 117 | --disable-mplex \ |
@@ -106,17 +120,16 @@ EXTRA_OECONF += " \ | |||
106 | --disable-nvenc \ | 120 | --disable-nvenc \ |
107 | --disable-ofa \ | 121 | --disable-ofa \ |
108 | --disable-openexr \ | 122 | --disable-openexr \ |
109 | --disable-openh264 \ | 123 | --disable-openmpt \ |
110 | --disable-openni2 \ | 124 | --disable-openni2 \ |
111 | --disable-opensles \ | 125 | --disable-opensles \ |
112 | --disable-soundtouch \ | 126 | --disable-soundtouch \ |
113 | --disable-spandsp \ | 127 | --disable-spandsp \ |
114 | --disable-spc \ | 128 | --disable-spc \ |
129 | --disable-srt \ | ||
115 | --disable-teletextdec \ | 130 | --disable-teletextdec \ |
116 | --disable-tinyalsa \ | ||
117 | --disable-vdpau \ | 131 | --disable-vdpau \ |
118 | --disable-wasapi \ | 132 | --disable-wasapi \ |
119 | --disable-webrtcdsp \ | ||
120 | --disable-wildmidi \ | 133 | --disable-wildmidi \ |
121 | --disable-winks \ | 134 | --disable-winks \ |
122 | --disable-winscreencap \ | 135 | --disable-winscreencap \ |
@@ -130,7 +143,6 @@ export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | |||
130 | ARM_INSTRUCTION_SET_armv4 = "arm" | 143 | ARM_INSTRUCTION_SET_armv4 = "arm" |
131 | ARM_INSTRUCTION_SET_armv5 = "arm" | 144 | ARM_INSTRUCTION_SET_armv5 = "arm" |
132 | 145 | ||
133 | FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" | ||
134 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" | 146 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" |
135 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" | 147 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" |
136 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" | 148 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" |