package/gstreamer1/gst1-plugins-base: convert package type to meson

GStreamer 1.16.0 is the last version to support autotools, which is
removed in the next version.

Other changes:
  - The meson build provides no 'disable-valgrind' option in the plugin
    packages (valgrind availability checking is done in the base
    gstreamer package already).

  - zlib no longer has an option and is also checked via headers.

  - Add the following new meson-specific options:
  - -Dgtk_doc=disabled
  - -Dglib-asserts=disabled
  - -Dglib-checks=disabled
  - -Dgobject-cast-checks=disabled

  - Three config options are comma separated strings. These
    options are:
      - gl_api
      - gl_platform
      - gl_winsys

    The lists can be passed empty without error. As such, the logic now
    creats a list such as:
    -Dgl_api='opengl,gles2'
    -Dgl_platform='glx,egl'
    -Dgl_winsys='x11,wayland'

  - Remove the egl BASE_CONF_ENV CPPFLAGS and LIBS options, as meson finds
    the include paths and libraries correctly during the configure stage.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Adam Duskett 2019-07-10 11:36:30 -04:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 9085e409d3
commit 661d125374

View File

@ -12,267 +12,262 @@ GST1_PLUGINS_BASE_LICENSE_FILES = COPYING
GST1_PLUGINS_BASE_LICENSE = LGPL-2.0+, LGPL-2.1+ GST1_PLUGINS_BASE_LICENSE = LGPL-2.0+, LGPL-2.1+
GST1_PLUGINS_BASE_CONF_OPTS = \ GST1_PLUGINS_BASE_CONF_OPTS = \
--disable-examples \ -Dexamples=disabled \
--disable-valgrind \ -Dtests=disabled \
--disable-introspection -Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled \
-Dgtk_doc=disabled \
-Dintrospection=disabled
# Options which require currently unpackaged libraries # Options which require currently unpackaged libraries
GST1_PLUGINS_BASE_CONF_OPTS += \ GST1_PLUGINS_BASE_CONF_OPTS += \
--disable-cdparanoia \ -Dcdparanoia=disabled \
--disable-libvisual \ -Dlibvisual=disabled \
--disable-iso-codes -Diso-codes=disabled
GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1 GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1
# These plugins are listed in the order from ./configure --help # These plugins are listed in the order from ./configure --help
ifeq ($(BR2_PACKAGE_ORC),y) ifeq ($(BR2_PACKAGE_ORC),y)
GST1_PLUGINS_BASE_DEPENDENCIES += orc GST1_PLUGINS_BASE_DEPENDENCIES += orc
GST1_PLUGINS_BASE_CONF_OPTS += --enable-orc GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled
else
GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-opengl GST1_PLUGINS_BASE_GL_API_LIST = opengl
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-opengl GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-gles2 GST1_PLUGINS_BASE_GL_API_LIST += gles2
GST1_PLUGINS_BASE_DEPENDENCIES += libgles GST1_PLUGINS_BASE_DEPENDENCIES += libgles
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-gles2
endif endif
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_api='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_API_LIST))'
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-glx GST1_PLUGINS_BASE_GL_PLATFORM_LIST += glx
GST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender GST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-glx
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-egl GST1_PLUGINS_BASE_GL_PLATFORM_LIST += egl
GST1_PLUGINS_BASE_DEPENDENCIES += libegl GST1_PLUGINS_BASE_DEPENDENCIES += libegl
GST1_PLUGINS_BASE_CONF_ENV += \
CPPFLAGS="$(TARGET_CPPFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" \
LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs egl`"
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-egl
endif endif
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_platform='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_PLATFORM_LIST))'
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-x11 GST1_PLUGINS_BASE_WINSYS_LIST += x11
GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-x11
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-wayland GST1_PLUGINS_BASE_WINSYS_LIST += wayland
GST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols GST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-wayland
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-dispmanx GST1_PLUGINS_BASE_WINSYS_LIST += dispmax
GST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland GST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-dispmanx
endif endif
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_winsys='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_WINSYS_LIST))'
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-adder GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-adder GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-app GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-app GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiomixer GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiomixer GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiorate GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiorate GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-compositor GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-compositor GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-encoding GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-encoding GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoconvert GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoconvert GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-overlaycomposition GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-overlaycomposition GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-playback GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-playback GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioresample GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioresample GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-rawparse GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-rawparse GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-subparse GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-subparse GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-tcp GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-tcp GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-typefind GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-typefind GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videorate GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videorate GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoscale GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoscale GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-volume GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-volume GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=disabled
endif endif
# Zlib is checked for headers and is not an option.
ifeq ($(BR2_PACKAGE_ZLIB),y) ifeq ($(BR2_PACKAGE_ZLIB),y)
GST1_PLUGINS_BASE_DEPENDENCIES += zlib GST1_PLUGINS_BASE_DEPENDENCIES += zlib
else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-zlib
endif endif
ifeq ($(BR2_PACKAGE_XORG7),y) ifeq ($(BR2_PACKAGE_XORG7),y)
GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
GST1_PLUGINS_BASE_CONF_OPTS += \ GST1_PLUGINS_BASE_CONF_OPTS += \
--enable-x \ -Dx11=enabled \
--enable-xshm \ -Dxshm=enabled \
--enable-xvideo -Dxvideo=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += \ GST1_PLUGINS_BASE_CONF_OPTS += \
--disable-x \ -Dx11=disabled \
--disable-xshm \ -Dxshm=disabled \
--disable-xvideo -Dxvideo=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y)
GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib
GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=enabled
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-alsa GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += tremor GST1_PLUGINS_BASE_DEPENDENCIES += tremor
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-opus GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += opus GST1_PLUGINS_BASE_DEPENDENCIES += opus
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-opus GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-ogg GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += libogg GST1_PLUGINS_BASE_DEPENDENCIES += libogg
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-ogg GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-pango GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += pango GST1_PLUGINS_BASE_DEPENDENCIES += pango
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-pango GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-theora GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += libtheora GST1_PLUGINS_BASE_DEPENDENCIES += libtheora
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-theora GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=disabled
endif endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y) ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y)
GST1_PLUGINS_BASE_CONF_OPTS += --enable-vorbis GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis
else else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=disabled
endif endif
$(eval $(autotools-package)) $(eval $(meson-package))