Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require gstreamer1.0-plugins.inc |
| 2 | |
| 3 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ " |
| 4 | |
| 5 | DEPENDS += "gstreamer1.0-plugins-base 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 bluetooth |
| 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,--disable-gles2,virtual/libgles2" |
| 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 --enable-egl,--disable-wayland --disable-egl,wayland virtual/egl" |
| 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,${BLUEZ}" |
| 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-cocoa \ |
| 84 | --disable-daala \ |
| 85 | --disable-dc1394 \ |
| 86 | --disable-direct3d \ |
| 87 | --disable-directdraw \ |
| 88 | --disable-directsound \ |
| 89 | --disable-dts \ |
| 90 | --disable-gme \ |
| 91 | --disable-gsettings \ |
| 92 | --disable-gsm \ |
| 93 | --disable-kate \ |
| 94 | --disable-ladspa \ |
| 95 | --disable-linsys \ |
| 96 | --disable-lv2 \ |
| 97 | --disable-mimic \ |
| 98 | --disable-mpeg2enc \ |
| 99 | --disable-mplex \ |
| 100 | --disable-musepack \ |
| 101 | --disable-mythtv \ |
| 102 | --disable-nas \ |
| 103 | --disable-ofa \ |
| 104 | --disable-openjpeg \ |
| 105 | --disable-opensles \ |
| 106 | --disable-osx_video \ |
| 107 | --disable-pvr \ |
| 108 | --disable-quicktime \ |
| 109 | --disable-resindvd \ |
| 110 | --disable-sdl \ |
| 111 | --disable-sdltest \ |
| 112 | --disable-sndio \ |
| 113 | --disable-soundtouch \ |
| 114 | --disable-spandsp \ |
| 115 | --disable-spc \ |
| 116 | --disable-srtp \ |
| 117 | --disable-teletextdec \ |
| 118 | --disable-timidity \ |
| 119 | --disable-vcd \ |
| 120 | --disable-vdpau \ |
| 121 | --disable-voaacenc \ |
| 122 | --disable-voamrwbenc \ |
| 123 | --disable-wasapi \ |
| 124 | --disable-wildmidi \ |
| 125 | --disable-wininet \ |
| 126 | --disable-winscreencap \ |
| 127 | --disable-xvid \ |
| 128 | --disable-zbar \ |
| 129 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ |
| 130 | " |
| 131 | |
| 132 | ARM_INSTRUCTION_SET = "arm" |
| 133 | |
| 134 | FILES_gstreamer1.0-plugins-bad-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" |
| 135 | |