2013-06-21 00:07:38 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gst1-plugins-base
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-10-04 23:09:16 +02:00
|
|
|
GST1_PLUGINS_BASE_VERSION = 1.14.4
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
|
2016-09-06 01:13:04 +02:00
|
|
|
GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_INSTALL_STAGING = YES
|
|
|
|
GST1_PLUGINS_BASE_LICENSE_FILES = COPYING.LIB
|
2017-03-30 15:43:37 +02:00
|
|
|
GST1_PLUGINS_BASE_LICENSE = LGPL-2.0+, LGPL-2.1+
|
2013-06-21 00:07:38 +02:00
|
|
|
|
2015-10-15 21:41:57 +02:00
|
|
|
# gio_unix_2_0 is only used for tests
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS = \
|
2013-06-21 00:07:38 +02:00
|
|
|
--disable-examples \
|
2018-07-29 21:19:19 +02:00
|
|
|
--disable-valgrind \
|
|
|
|
--disable-introspection
|
2013-06-21 00:07:38 +02:00
|
|
|
|
|
|
|
# Options which require currently unpackaged libraries
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += \
|
2013-06-21 00:07:38 +02:00
|
|
|
--disable-cdparanoia \
|
|
|
|
--disable-libvisual \
|
|
|
|
--disable-iso-codes
|
|
|
|
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1
|
|
|
|
|
2018-06-24 00:35:22 +02:00
|
|
|
# These plugins are listed in the order from ./configure --help
|
2013-06-21 00:07:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += orc
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-orc
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
2018-06-24 00:35:22 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-opengl
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-opengl
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-gles2
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += libgles
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-gles2
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-glx
|
2018-07-21 16:16:33 +02:00
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender
|
2018-06-24 00:35:22 +02:00
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-glx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-egl
|
|
|
|
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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-x11
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-x11
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-wayland
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-wayland
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-dispmanx
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-dispmanx
|
|
|
|
endif
|
|
|
|
|
2013-06-21 00:07:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-adder
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-adder
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-app
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-app
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
2018-06-24 00:35:22 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiomixer
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiomixer
|
|
|
|
endif
|
|
|
|
|
2013-06-21 00:07:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-encoding
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-encoding
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoconvert
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoconvert
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-playback
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-playback
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
2017-05-12 12:18:03 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-rawparse
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-rawparse
|
|
|
|
endif
|
|
|
|
|
2013-06-21 00:07:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-subparse
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-subparse
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-tcp
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-tcp
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-typefind
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-typefind
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videorate
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videorate
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-volume
|
2013-06-21 00:07:38 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-volume
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += zlib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-zlib
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += \
|
2013-06-21 00:07:38 +02:00
|
|
|
--enable-x \
|
|
|
|
--enable-xshm \
|
|
|
|
--enable-xvideo
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += \
|
2013-06-21 00:07:38 +02:00
|
|
|
--disable-x \
|
|
|
|
--disable-xshm \
|
|
|
|
--disable-xvideo
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y)
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-alsa
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += tremor
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
2016-03-25 13:50:07 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y)
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-opus
|
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += opus
|
|
|
|
else
|
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-opus
|
|
|
|
endif
|
|
|
|
|
2013-06-21 00:07:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-ogg
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += libogg
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-ogg
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-pango
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += pango
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-pango
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-theora
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += libtheora
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-theora
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
|
2013-06-21 00:07:38 +02:00
|
|
|
GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
|
2013-06-21 00:07:38 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|