* [Buildroot] [PATCH 2/2] gst-plugins-base1: add gstreamer1 base plugins
2013-05-09 0:04 [Buildroot] [PATCH 1/2] gstreamer1: Add gstreamer version 1.0.7 package Spenser Gilliland
@ 2013-05-09 0:04 ` Spenser Gilliland
2013-05-09 9:08 ` [Buildroot] [PATCH 1/2] gstreamer1: Add gstreamer version 1.0.7 package Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: Spenser Gilliland @ 2013-05-09 0:04 UTC (permalink / raw)
To: buildroot
Adds gstreamer 1.X base plugins.
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
package/multimedia/Config.in | 1 +
package/multimedia/gst-plugins-base1/Config.in | 103 +++++++++++
.../gst-plugins-base1/gst-plugins-base1.mk | 181 ++++++++++++++++++++
3 files changed, 285 insertions(+)
create mode 100644 package/multimedia/gst-plugins-base1/Config.in
create mode 100644 package/multimedia/gst-plugins-base1/gst-plugins-base1.mk
diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index f6a5fd7..eba230a 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -12,6 +12,7 @@ source "package/multimedia/gst-dsp/Config.in"
source "package/multimedia/gst-fsl-plugins/Config.in"
source "package/multimedia/gst-omapfb/Config.in"
source "package/multimedia/gst-plugins-base/Config.in"
+source "package/multimedia/gst-plugins-base1/Config.in"
source "package/multimedia/gst-plugins-good/Config.in"
source "package/multimedia/gst-plugins-bad/Config.in"
source "package/multimedia/gst-plugins-ugly/Config.in"
diff --git a/package/multimedia/gst-plugins-base1/Config.in b/package/multimedia/gst-plugins-base1/Config.in
new file mode 100644
index 0000000..562737b
--- /dev/null
+++ b/package/multimedia/gst-plugins-base1/Config.in
@@ -0,0 +1,103 @@
+menuconfig BR2_PACKAGE_GST_PLUGINS_BASE1
+ bool "gst-plugins-base1"
+ depends on BR2_PACKAGE_GSTREAMER1
+ select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7
+ help
+ A basic set of well-supported plug-ins for GStreamer.
+
+ http://gstreamer.freedesktop.org/
+
+if BR2_PACKAGE_GST_PLUGINS_BASE1
+
+comment "dependency-less plugins"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_ADDER
+ bool "adder"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_APP
+ bool "app"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIOCONVERT
+ bool "audioconvert (mandatory for audio playback)"
+ default y
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIORATE
+ bool "audiorate"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIORESAMPLE
+ bool "audioresample (mandatory for audio playback)"
+ default y
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIOTESTSRC
+ bool "audiotestsrc"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_ENCODING
+ bool "encoding"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_PLAYBACK
+ bool "playback (mandatory)"
+ default y
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_SUBPARSE
+ bool "subparse"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_TCP
+ bool "tcp"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_TYPEFIND
+ bool "typefind (mandatory)"
+ default y
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEOCONVERT
+ bool "videoconvert"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEOTESTSRC
+ bool "videotestsrc"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEORATE
+ bool "videorate"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEOSCALE
+ bool "videoscale (mandatory for video playback)"
+ default y
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VOLUME
+ bool "volume (mandatory for audio playback)"
+ default y
+
+comment "plugins with external dependencies (there may be more available)"
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_ALSA
+ bool "alsa (mandatory for audio playback)"
+ select BR2_PACKAGE_ALSA_LIB
+ select BR2_PACKAGE_ALSA_LIB_MIXER
+ select BR2_PACKAGE_ALSA_LIB_PCM
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_OGG
+ bool "ogg (*.ogg audio/video)"
+ select BR2_PACKAGE_LIBOGG
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_PANGO
+ bool "pango font renderer"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_PANGO
+
+comment "pango plugin requires a toolchain with C++ support"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_THEORA
+ bool "theora (*.ogg video)"
+ select BR2_PACKAGE_LIBTHEORA
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_TREMOR
+ bool "tremor"
+ select BR2_PACKAGE_TREMOR
+
+config BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VORBIS
+ bool "vorbis (*.ogg audio)"
+ select BR2_PACKAGE_LIBVORBIS
+
+endif
+
diff --git a/package/multimedia/gst-plugins-base1/gst-plugins-base1.mk b/package/multimedia/gst-plugins-base1/gst-plugins-base1.mk
new file mode 100644
index 0000000..49b2e15
--- /dev/null
+++ b/package/multimedia/gst-plugins-base1/gst-plugins-base1.mk
@@ -0,0 +1,181 @@
+#############################################################
+#
+# gst-plugins-base1
+#
+#############################################################
+GST_PLUGINS_BASE1_VERSION = 1.0.7
+GST_PLUGINS_BASE1_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE1_VERSION).tar.xz
+GST_PLUGINS_BASE1_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
+GST_PLUGINS_BASE1_INSTALL_STAGING = YES
+
+# 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
+GST_PLUGINS_BASE1_CONF_ENV =
+ FT2_CONFIG=/bin/false \
+ ac_cv_header_stdint_t="stdint.h"
+
+GST_PLUGINS_BASE1_CONF_OPT = \
+ --disable-examples \
+ --disable-oggtest \
+ --disable-vorbistest \
+ --disable-freetypetest
+
+GST_PLUGINS_BASE1_DEPENDENCIES = gstreamer1
+
+ifeq ($(BR2_PACKAGE_XORG7),y)
+GST_PLUGINS_BASE1_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
+GST_PLUGINS_BASE1_CONF_OPT += \
+ --enable-x \
+ --enable-xshm \
+ --enable-xvideo
+else
+GST_PLUGINS_BASE1_CONF_OPT += \
+ --disable-x \
+ --disable-xshm \
+ --disable-xvideo
+endif
+
+ifeq ($(BR2_PACKAGE_ORC),y)
+GST_PLUGINS_BASE1_DEPENDENCIES += orc
+GST_PLUGINS_BASE1_CONF_OPT += --enable-orc
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_ALSA),y)
+GST_PLUGINS_BASE1_DEPENDENCIES += alsa-lib
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-alsa
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_ADDER),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-adder
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-adder
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_APP),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-app
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-app
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIOCONVERT),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-audioconvert
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-audioconvert
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIORATE),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-audiorate
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-audiorate
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIORESAMPLE),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-audioresample
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-audioresample
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_AUDIOTESTSRC),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-audiotestsrc
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-audiotestsrc
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_ENCODING),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-encoding
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-encoding
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_PLAYBACK),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-playback
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-playback
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_SUBPARSE),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-subparse
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-subparse
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_TCP),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-tcp
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-tcp
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_TYPEFIND),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-typefind
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-typefind
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEOTESTSRC),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-videotestsrc
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-videotestsrc
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEORATE),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-videorate
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-videorate
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VIDEOSCALE),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-videoscale
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-videoscale
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VOLUME),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-volume
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-volume
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_OGG),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-ogg
+GST_PLUGINS_BASE1_DEPENDENCIES += libogg
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-ogg
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_PANGO),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-pango
+GST_PLUGINS_BASE1_DEPENDENCIES += pango
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-pango
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_THEORA),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-theora
+GST_PLUGINS_BASE1_DEPENDENCIES += libtheora
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-theora
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_TREMOR),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-ivorbis
+GST_PLUGINS_BASE1_DEPENDENCIES += tremor
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-ivorbis
+endif
+
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE1_PLUGIN_VORBIS),y)
+GST_PLUGINS_BASE1_CONF_OPT += --enable-vorbis
+GST_PLUGINS_BASE1_DEPENDENCIES += libvorbis
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-vorbis
+endif
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+GST_PLUGINS_BASE1_DEPENDENCIES += zlib
+else
+GST_PLUGINS_BASE1_CONF_OPT += --disable-zlib
+endif
+
+$(eval $(autotools-package))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] gstreamer1: Add gstreamer version 1.0.7 package
2013-05-09 0:04 [Buildroot] [PATCH 1/2] gstreamer1: Add gstreamer version 1.0.7 package Spenser Gilliland
2013-05-09 0:04 ` [Buildroot] [PATCH 2/2] gst-plugins-base1: add gstreamer1 base plugins Spenser Gilliland
@ 2013-05-09 9:08 ` Thomas Petazzoni
2013-05-09 13:52 ` Spenser Gilliland
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2013-05-09 9:08 UTC (permalink / raw)
To: buildroot
Dear Spenser Gilliland,
On Wed, 8 May 2013 19:04:52 -0500, Spenser Gilliland wrote:
> diff --git a/package/multimedia/gstreamer1/Config.in b/package/multimedia/gstreamer1/Config.in
> new file mode 100644
> index 0000000..b1fd8b1
> --- /dev/null
> +++ b/package/multimedia/gstreamer1/Config.in
> @@ -0,0 +1,37 @@
> +config BR2_PACKAGE_GSTREAMER1
> + bool "gstreamer1"
> + depends on BR2_USE_WCHAR # glib2
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + select BR2_PACKAGE_LIBGLIB2
> + help
> + GStreamer is an open source multimedia framework.
> +
> + http://gstreamer.freedesktop.org/
Is it possible to build/install gstreamer and gstreamer1 side by side?
I.e, I'm wondering if we should make those two mutually exclusive
choices, or if we can let the user select both if needed.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread