diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc new file mode 100644 index 0000000000..dab0bf54a6 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | |||
@@ -0,0 +1,134 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ " | ||
4 | |||
5 | DEPENDS += "gstreamer1.0-plugins-base bzip2 libpng jpeg" | ||
6 | |||
7 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | ||
8 | |||
9 | SRC_URI += "file://configure-allow-to-disable-libssh2.patch \ | ||
10 | " | ||
11 | |||
12 | inherit gettext | ||
13 | |||
14 | # opengl packageconfig factored out to make it easy for distros | ||
15 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
16 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" | ||
17 | |||
18 | PACKAGECONFIG ??= " \ | ||
19 | ${PACKAGECONFIG_GL} \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | ||
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | ||
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | ||
23 | orc curl uvch264 neon sndfile \ | ||
24 | hls sbc dash bz2 smoothstreaming \ | ||
25 | " | ||
26 | |||
27 | # dash = Dynamic Adaptive Streaming over HTTP | ||
28 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | ||
29 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | ||
30 | PACKAGECONFIG[gles2] = "--enable-gles2 --enable-egl,--disable-gles2 --disable-egl,virtual/libgles2 virtual/egl" | ||
31 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu" | ||
32 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" | ||
33 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | ||
34 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" | ||
35 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" | ||
36 | PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" | ||
37 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" | ||
38 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | ||
39 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" | ||
40 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland" | ||
41 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 udev" | ||
42 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" | ||
43 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" | ||
44 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" | ||
45 | PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls" | ||
46 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | ||
47 | PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2" | ||
48 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | ||
49 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | ||
50 | PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger" | ||
51 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" | ||
52 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4" | ||
53 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" | ||
54 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" | ||
55 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
56 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" | ||
57 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" | ||
58 | |||
59 | # these plugins have not been ported to 1.0 (yet): | ||
60 | # directdraw vcd apexsink dc1394 lv2 linsys musepack mythtv | ||
61 | # nas timidity teletextdec sdl xvid wininet acm gsettings | ||
62 | # sndio qtwrapper cdxaparse dccp faceoverlay hdvparse tta | ||
63 | # mve nuvdemux osx_video patchdetect quicktime real sdi | ||
64 | # videomeasure gsettings | ||
65 | |||
66 | # these plugins have no corresponding library in OE-core or meta-openembedded: | ||
67 | # openni2 winks direct3d directdraw directsound winscreencap osx_video | ||
68 | # apple_media android_media avc chromaprint daala dts gme gsm kate ladspa mimic | ||
69 | # mpeg2enc mplex ofa openjpeg opensles pvr resindvd rtmp soundtouch spandsp spc | ||
70 | # srtp vdpau voaacenc voamrwbenc wasapi zbar | ||
71 | |||
72 | EXTRA_OECONF += " \ | ||
73 | --enable-dvb \ | ||
74 | --enable-shm \ | ||
75 | --enable-fbdev \ | ||
76 | --enable-decklink \ | ||
77 | --disable-acm \ | ||
78 | --disable-android_media \ | ||
79 | --disable-apexsink \ | ||
80 | --disable-apple_media \ | ||
81 | --disable-avc \ | ||
82 | --disable-chromaprint \ | ||
83 | --disable-daala \ | ||
84 | --disable-dc1394 \ | ||
85 | --disable-direct3d \ | ||
86 | --disable-directdraw \ | ||
87 | --disable-directsound \ | ||
88 | --disable-dts \ | ||
89 | --disable-gme \ | ||
90 | --disable-gsettings \ | ||
91 | --disable-gsm \ | ||
92 | --disable-kate \ | ||
93 | --disable-ladspa \ | ||
94 | --disable-linsys \ | ||
95 | --disable-lv2 \ | ||
96 | --disable-mimic \ | ||
97 | --disable-mpeg2enc \ | ||
98 | --disable-mplex \ | ||
99 | --disable-musepack \ | ||
100 | --disable-mythtv \ | ||
101 | --disable-nas \ | ||
102 | --disable-ofa \ | ||
103 | --disable-openjpeg \ | ||
104 | --disable-opensles \ | ||
105 | --disable-osx_video \ | ||
106 | --disable-pvr \ | ||
107 | --disable-quicktime \ | ||
108 | --disable-resindvd \ | ||
109 | --disable-sdl \ | ||
110 | --disable-sdltest \ | ||
111 | --disable-sndio \ | ||
112 | --disable-soundtouch \ | ||
113 | --disable-spandsp \ | ||
114 | --disable-spc \ | ||
115 | --disable-srtp \ | ||
116 | --disable-teletextdec \ | ||
117 | --disable-timidity \ | ||
118 | --disable-vcd \ | ||
119 | --disable-vdpau \ | ||
120 | --disable-voaacenc \ | ||
121 | --disable-voamrwbenc \ | ||
122 | --disable-wasapi \ | ||
123 | --disable-wildmidi \ | ||
124 | --disable-wininet \ | ||
125 | --disable-winscreencap \ | ||
126 | --disable-xvid \ | ||
127 | --disable-zbar \ | ||
128 | ${GSTREAMER_1_0_ORC} \ | ||
129 | " | ||
130 | |||
131 | ARM_INSTRUCTION_SET = "arm" | ||
132 | |||
133 | FILES_gstreamer1.0-plugins-bad-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" | ||
134 | |||