2013-06-21 00:07:38 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gst1-plugins-base
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-11-30 12:25:10 +01:00
|
|
|
GST1_PLUGINS_BASE_VERSION = 1.10.2
|
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
|
2015-12-14 15:37:04 +01:00
|
|
|
GST1_PLUGINS_BASE_LICENSE = LGPLv2+, LGPLv2.1+
|
2013-06-21 00:07:38 +02:00
|
|
|
|
|
|
|
# freetype is only used by examples, but if it is not found
|
|
|
|
# and the host has a freetype-config script, then the host
|
|
|
|
# include dirs are added to the search path causing trouble
|
|
|
|
GST1_PLUGINS_BASE_CONF_ENV =
|
|
|
|
FT2_CONFIG=/bin/false \
|
|
|
|
ac_cv_header_stdint_t="stdint.h"
|
|
|
|
|
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 \
|
|
|
|
--disable-oggtest \
|
|
|
|
--disable-vorbistest \
|
2015-10-15 21:41:57 +02:00
|
|
|
--disable-gio_unix_2_0 \
|
2013-06-21 00:07:38 +02:00
|
|
|
--disable-freetypetest \
|
2014-10-19 11:59:01 +02:00
|
|
|
--disable-valgrind
|
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
|
|
|
|
|
|
|
|
# These plugins are liste in the order from ./configure --help
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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))
|