Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require gstreamer1.0-plugins.inc |
| 2 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 3 | SRC_URI_append = "\ |
| 4 | file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \ |
| 5 | file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch \ |
| 6 | file://0003-riff-add-missing-include-directories-when-calling-in.patch \ |
| 7 | file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch \ |
| 8 | " |
| 9 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | LICENSE = "GPLv2+ & LGPLv2+" |
| 11 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 12 | DEPENDS += "iso-codes util-linux zlib" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
| 14 | inherit gettext |
| 15 | |
| 16 | PACKAGES_DYNAMIC =+ "^libgst.*" |
| 17 | |
| 18 | PACKAGECONFIG ??= " \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 19 | ${GSTREAMER_ORC} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
| 22 | gio-unix-2.0 ivorbis ogg pango theora vorbis \ |
| 23 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" |
| 27 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | |
| 29 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
| 30 | PACKAGECONFIG[cdparanoia] = "--enable-cdparanoia,--disable-cdparanoia,cdparanoia" |
| 31 | PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0" |
| 32 | PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" |
| 33 | PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 34 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 35 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" |
| 36 | PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" |
| 37 | PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual" |
| 38 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" |
| 39 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 40 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 41 | EXTRA_OECONF += " \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 42 | --enable-zlib \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 43 | " |
| 44 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 45 | CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no" |
| 46 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 47 | FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" |
| 48 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 49 | do_compile_prepend() { |
| 50 | export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/tag/.libs:${B}/gst-libs/gst/video/.libs:${B}/gst-libs/gst/audio/.libs:${B}/gst-libs/gst/rtp/.libs" |
| 51 | } |