[gstreamer] Fix directory gstreamer1.0 to gstreamer.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-multimedia / gstreamer / gstreamer1.0-plugins-bad.inc
1 require gstreamer1.0-plugins.inc
2
3 LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ "
4
5 DEPENDS += "gstreamer1.0-plugins-base bzip2 libpng jpeg libdca"
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 neon sndfile \
24     hls sbc dash bz2 smoothstreaming \
25     faac faad libmms dash webp rtmp \
26     "
27
28 # dash = Dynamic Adaptive Streaming over HTTP
29 PACKAGECONFIG[assrender]       = "--enable-assrender,--disable-assrender,libass"
30 PACKAGECONFIG[curl]            = "--enable-curl,--disable-curl,curl"
31 PACKAGECONFIG[gles2]           = "--enable-gles2 --enable-egl,--disable-gles2 --disable-egl,virtual/libgles2 virtual/egl"
32 PACKAGECONFIG[opengl]          = "--enable-opengl,--disable-opengl,virtual/libgl libglu"
33 PACKAGECONFIG[faac]            = "--enable-faac,--disable-faac,faac"
34 PACKAGECONFIG[faad]            = "--enable-faad,--disable-faad,faad2"
35 PACKAGECONFIG[libmms]          = "--enable-libmms,--disable-libmms,libmms"
36 PACKAGECONFIG[modplug]         = "--enable-modplug,--disable-modplug,libmodplug"
37 PACKAGECONFIG[mpg123]          = "--enable-mpg123,--disable-mpg123,mpg123"
38 PACKAGECONFIG[opus]            = "--enable-opus,--disable-opus,libopus"
39 PACKAGECONFIG[flite]           = "--enable-flite,--disable-flite,flite-alsa"
40 PACKAGECONFIG[opencv]          = "--enable-opencv,--disable-opencv,opencv"
41 PACKAGECONFIG[wayland]         = "--enable-wayland,--disable-wayland,wayland"
42 PACKAGECONFIG[uvch264]         = "--enable-uvch264,--disable-uvch264,libusb1 udev"
43 PACKAGECONFIG[directfb]        = "--enable-directfb,--disable-directfb,directfb"
44 PACKAGECONFIG[neon]            = "--enable-neon,--disable-neon,neon"
45 PACKAGECONFIG[openal]          = "--enable-openal,--disable-openal,openal-soft"
46 PACKAGECONFIG[hls]             = "--enable-hls,--disable-hls,gnutls"
47 PACKAGECONFIG[sbc]             = "--enable-sbc,--disable-sbc,sbc"
48 PACKAGECONFIG[dash]            = "--enable-dash,--disable-dash,libxml2"
49 PACKAGECONFIG[bz2]             = "--enable-bz2,--disable-bz2,bzip2"
50 PACKAGECONFIG[fluidsynth]      = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
51 PACKAGECONFIG[schroedinger]    = "--enable-schro,--disable-schro,schroedinger"
52 PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
53 PACKAGECONFIG[bluez]           = "--enable-bluez,--disable-bluez,bluez4"
54 PACKAGECONFIG[rsvg]            = "--enable-rsvg,--disable-rsvg,librsvg"
55 PACKAGECONFIG[sndfile]         = "--enable-sndfile,--disable-sndfile,libsndfile1"
56 PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
57 PACKAGECONFIG[rtmp]            = "--enable-rtmp,--disable-rtmp,librtmp"
58 PACKAGECONFIG[libssh2]         = "--enable-libssh2,--disable-libssh2,libssh2"
59
60 # these plugins have not been ported to 1.0 (yet):
61 #   directdraw vcd apexsink dc1394 lv2 linsys musepack mythtv
62 #   nas timidity teletextdec sdl xvid wininet acm gsettings
63 #   sndio qtwrapper cdxaparse dccp faceoverlay hdvparse tta
64 #   mve nuvdemux osx_video patchdetect quicktime real sdi
65 #   videomeasure gsettings
66
67 # these plugins have no corresponding library in OE-core or meta-openembedded:
68 #   openni2 winks direct3d directdraw directsound winscreencap osx_video
69 #   apple_media android_media avc chromaprint daala dts gme gsm kate ladspa mimic
70 #   mpeg2enc mplex ofa openjpeg opensles pvr resindvd rtmp soundtouch spandsp spc
71 #   srtp vdpau voaacenc voamrwbenc wasapi zbar
72
73 EXTRA_OECONF += " \
74     --enable-dvb \
75     --enable-shm \
76     --enable-fbdev \
77     --enable-decklink \
78     --enable-dts \
79     --enable-mpegdemux \
80     --disable-acm \
81     --disable-android_media \
82     --disable-apexsink \
83     --disable-apple_media \
84     --disable-avc \
85     --disable-chromaprint \
86     --disable-cocoa \
87     --disable-daala \
88     --disable-dc1394 \
89     --disable-direct3d \
90     --disable-directdraw \
91     --disable-directsound \
92     --disable-gme \
93     --disable-gsettings \
94     --disable-gsm \
95     --disable-kate \
96     --disable-ladspa \
97     --disable-linsys \
98     --disable-lv2 \
99     --disable-mimic \
100     --disable-mpeg2enc \
101     --disable-mplex \
102     --disable-musepack \
103     --disable-mythtv \
104     --disable-nas \
105     --disable-ofa \
106     --disable-openjpeg \
107     --disable-opensles \
108     --disable-osx_video \
109     --disable-pvr \
110     --disable-quicktime \
111     --disable-resindvd \
112     --disable-sdl \
113     --disable-sdltest \
114     --disable-sndio \
115     --disable-soundtouch \
116     --disable-spandsp \
117     --disable-spc \
118     --disable-srtp \
119     --disable-teletextdec \
120     --disable-timidity \
121     --disable-vcd \
122     --disable-vdpau \
123     --disable-voaacenc \
124     --disable-voamrwbenc \
125     --disable-wasapi \
126     --disable-wildmidi \
127     --disable-wininet \
128     --disable-winscreencap \
129     --disable-xvid \
130     --disable-zbar \
131     ${GSTREAMER_1_0_ORC} \
132     "
133
134 ARM_INSTRUCTION_SET = "arm"
135
136 FILES_gstreamer1.0-plugins-bad-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
137