2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-12-08 18:52:24 +01:00
|
|
|
#
|
|
|
|
# gst-plugins-base
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-03-14 18:25:47 +01:00
|
|
|
GST_PLUGINS_BASE_VERSION = 0.10.36
|
2013-09-06 08:14:15 +02:00
|
|
|
GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.xz
|
2008-12-08 18:52:24 +01:00
|
|
|
GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
|
|
|
|
GST_PLUGINS_BASE_INSTALL_STAGING = YES
|
2015-11-19 23:14:18 +01:00
|
|
|
GST_PLUGINS_BASE_LICENSE = GPLv2+, LGPLv2+
|
|
|
|
GST_PLUGINS_BASE_LICENSE_FILES = COPYING COPYING.LIB
|
2008-12-08 18:52:24 +01:00
|
|
|
|
2009-07-22 22:16:07 +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
|
2010-07-22 10:25:09 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_ENV =
|
|
|
|
FT2_CONFIG=/bin/false \
|
|
|
|
ac_cv_header_stdint_t="stdint.h"
|
2009-07-22 22:16:07 +02:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS = \
|
2014-12-22 09:12:05 +01:00
|
|
|
--disable-examples \
|
|
|
|
--disable-oggtest \
|
|
|
|
--disable-vorbistest \
|
|
|
|
--disable-freetypetest
|
2008-12-08 18:52:24 +01:00
|
|
|
|
2011-02-04 19:25:12 +01:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
|
2010-11-04 22:33:25 +01:00
|
|
|
|
2012-06-04 22:11:42 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += \
|
2012-06-04 22:11:42 +02:00
|
|
|
--enable-x \
|
|
|
|
--enable-xshm \
|
|
|
|
--enable-xvideo
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += \
|
2012-06-04 22:11:42 +02:00
|
|
|
--disable-x \
|
|
|
|
--disable-xshm \
|
|
|
|
--disable-xvideo
|
|
|
|
endif
|
|
|
|
|
2012-02-11 01:02:45 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += orc
|
|
|
|
endif
|
|
|
|
|
2012-12-20 01:49:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
|
2010-11-04 22:33:25 +01:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-alsa
|
2010-11-04 22:33:25 +01:00
|
|
|
endif
|
2008-12-08 18:52:24 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-adder
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-adder
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
2009-06-16 22:50:02 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-app
|
2009-06-16 22:50:02 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-app
|
2009-06-16 22:50:02 +02:00
|
|
|
endif
|
|
|
|
|
2008-12-08 18:52:24 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
2011-07-07 09:39:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-encoding
|
2011-07-07 09:39:00 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-encoding
|
2011-07-07 09:39:00 +02:00
|
|
|
endif
|
|
|
|
|
2008-12-08 18:52:24 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-ffmpegcolorspace
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-ffmpegcolorspace
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-gdp
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-gdp
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-playback
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-playback
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-subparse
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-subparse
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-tcp
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-tcp
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-typefind
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-typefind
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-videorate
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-videorate
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-volume
|
2008-12-08 18:52:24 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-volume
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-ogg
|
2008-12-08 18:52:24 +01:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += libogg
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-ogg
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
2009-10-07 14:15:23 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-pango
|
2009-10-07 14:15:23 +02:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += pango
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-pango
|
2009-10-07 14:15:23 +02:00
|
|
|
endif
|
|
|
|
|
2008-12-08 18:52:24 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-theora
|
2008-12-08 18:52:24 +01:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += libtheora
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-theora
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
2011-07-07 09:39:01 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
|
2011-07-07 09:39:01 +02:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += tremor
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
|
2011-07-07 09:39:01 +02:00
|
|
|
endif
|
|
|
|
|
2008-12-08 18:52:24 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
|
2008-12-08 18:52:24 +01:00
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
|
2008-12-08 18:52:24 +01:00
|
|
|
endif
|
|
|
|
|
2012-03-14 18:25:47 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
GST_PLUGINS_BASE_DEPENDENCIES += zlib
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GST_PLUGINS_BASE_CONF_OPTS += --disable-zlib
|
2012-03-14 18:25:47 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|