mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-06 09:57:44 +00:00
gst-plugins-base: add gstreamer base plugins
This patch adds the basic plugins for gstreamer, see http://gstreamer.freedesktop.org/modules/gst-plugins-base.html for more information.
This commit is contained in:
parent
3904838369
commit
b535c860c9
@ -4,6 +4,7 @@ source "package/multimedia/alsa-utils/Config.in"
|
|||||||
source "package/multimedia/asterisk/Config.in"
|
source "package/multimedia/asterisk/Config.in"
|
||||||
source "package/multimedia/aumix/Config.in"
|
source "package/multimedia/aumix/Config.in"
|
||||||
source "package/multimedia/gstreamer/Config.in"
|
source "package/multimedia/gstreamer/Config.in"
|
||||||
|
source "package/multimedia/gst-plugins-base/Config.in"
|
||||||
source "package/multimedia/libid3tag/Config.in"
|
source "package/multimedia/libid3tag/Config.in"
|
||||||
source "package/multimedia/libmad/Config.in"
|
source "package/multimedia/libmad/Config.in"
|
||||||
source "package/multimedia/libogg/Config.in"
|
source "package/multimedia/libogg/Config.in"
|
||||||
|
81
package/multimedia/gst-plugins-base/Config.in
Normal file
81
package/multimedia/gst-plugins-base/Config.in
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
menuconfig BR2_PACKAGE_GST_PLUGINS_BASE
|
||||||
|
bool "gst-plugins-base"
|
||||||
|
depends on BR2_PACKAGE_GSTREAMER
|
||||||
|
select BR2_PACKAGE_LIBOIL
|
||||||
|
help
|
||||||
|
A basic set of well-supported plug-ins for GStreamer.
|
||||||
|
|
||||||
|
http://gstreamer.freedesktop.org/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_GST_PLUGINS_BASE
|
||||||
|
|
||||||
|
comment "dependency-less plugins"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER
|
||||||
|
bool "adder"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
|
||||||
|
bool "audioconvert (mandatory for audio playback)"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE
|
||||||
|
bool "audiorate"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
|
||||||
|
bool "audioresample (mandatory for audio playback)"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
|
||||||
|
bool "audiotestsrc"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE
|
||||||
|
bool "ffmpegcolorspace (mandatory for video playback)"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP
|
||||||
|
bool "gdp"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK
|
||||||
|
bool "playback (mandatory)"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE
|
||||||
|
bool "subparse"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP
|
||||||
|
bool "tcp"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND
|
||||||
|
bool "typefind (mandatory)"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
|
||||||
|
bool "videotestsrc"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE
|
||||||
|
bool "videorate"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE
|
||||||
|
bool "videoscale (mandatory for video playback)"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_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_BASE_PLUGIN_OGG
|
||||||
|
bool "ogg (*.ogg audio/video)"
|
||||||
|
select BR2_PACKAGE_LIBOGG
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA
|
||||||
|
bool "theora (*.ogg video)"
|
||||||
|
select BR2_PACKAGE_LIBTHEORA
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS
|
||||||
|
bool "vorbis (*.ogg audio)"
|
||||||
|
select BR2_PACKAGE_LIBVORBIS
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
@ -0,0 +1,31 @@
|
|||||||
|
Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
|
||||||
|
Date: 2008-10-15
|
||||||
|
Initial Package Version: 0.10.21
|
||||||
|
Upstream Status: Not yet known, just raised as gnome bug 556444.
|
||||||
|
Origin: Self
|
||||||
|
Description: Allows 'make install' to succeed if gtkdoc-rebase is not present.
|
||||||
|
|
||||||
|
diff -Naur gst-plugins-base-0.10.21.orig/common/gtk-doc.mak gst-plugins-base-0.10.21/common/gtk-doc.mak
|
||||||
|
--- gst-plugins-base-0.10.21.orig/common/gtk-doc.mak 2008-09-10 10:13:25.000000000 +0100
|
||||||
|
+++ gst-plugins-base-0.10.21/common/gtk-doc.mak 2008-10-15 18:39:02.000000000 +0100
|
||||||
|
@@ -201,7 +201,7 @@
|
||||||
|
$(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
|
||||||
|
fi; \
|
||||||
|
which gtkdoc-rebase >/dev/null && \
|
||||||
|
- gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
|
||||||
|
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) || true ; \
|
||||||
|
fi)
|
||||||
|
uninstall-local:
|
||||||
|
(installfiles=`echo ./html/*.html`; \
|
||||||
|
diff -Naur gst-plugins-base-0.10.21.orig/docs/libs/Makefile.in gst-plugins-base-0.10.21/docs/libs/Makefile.in
|
||||||
|
--- gst-plugins-base-0.10.21.orig/docs/libs/Makefile.in 2008-10-02 23:46:08.000000000 +0100
|
||||||
|
+++ gst-plugins-base-0.10.21/docs/libs/Makefile.in 2008-10-15 18:38:42.000000000 +0100
|
||||||
|
@@ -822,7 +822,7 @@
|
||||||
|
$(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
|
||||||
|
fi; \
|
||||||
|
which gtkdoc-rebase >/dev/null && \
|
||||||
|
- gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
|
||||||
|
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) || true ; \
|
||||||
|
fi)
|
||||||
|
uninstall-local:
|
||||||
|
(installfiles=`echo ./html/*.html`; \
|
135
package/multimedia/gst-plugins-base/gst-plugins-base.mk
Normal file
135
package/multimedia/gst-plugins-base/gst-plugins-base.mk
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# gst-plugins-base
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
GST_PLUGINS_BASE_VERSION = 0.10.21
|
||||||
|
GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.bz2
|
||||||
|
GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
|
||||||
|
GST_PLUGINS_BASE_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT = \
|
||||||
|
$(DISABLE_NLS) \
|
||||||
|
$(DISABLE_LARGEFILE) \
|
||||||
|
--disable-examples \
|
||||||
|
--disable-x \
|
||||||
|
--disable-xvideo \
|
||||||
|
--disable-xshm \
|
||||||
|
--disable-oggtest \
|
||||||
|
--disable-vorbistest \
|
||||||
|
--disable-freetypetest
|
||||||
|
|
||||||
|
GST_PLUGINS_BASE_DEPENDENCIES = gstreamer liboil
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-adder
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-adder
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-audioconvert
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-audioconvert
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-audiorate
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-audiorate
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-audioresample
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-audioresample
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-audiotestsrc
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-audiotestsrc
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-ffmpegcolorspace
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-ffmpegcolorspace
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-gdp
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-gdp
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-playback
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-playback
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-subparse
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-subparse
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-tcp
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-tcp
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-typefind
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-typefind
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-videotestsrc
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-videotestsrc
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-videorate
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-videorate
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-videoscale
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-videoscale
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-volume
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-volume
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-ogg
|
||||||
|
GST_PLUGINS_BASE_DEPENDENCIES += libogg
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-ogg
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-theora
|
||||||
|
GST_PLUGINS_BASE_DEPENDENCIES += libtheora
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-theora
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --enable-vorbis
|
||||||
|
GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
|
||||||
|
else
|
||||||
|
GST_PLUGINS_BASE_CONF_OPT += --disable-vorbis
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-base))
|
Loading…
x
Reference in New Issue
Block a user