mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
307
package/gstreamer1/gst1-plugins-base/Config.in
Normal file
307
package/gstreamer1/gst1-plugins-base/Config.in
Normal file
@@ -0,0 +1,307 @@
|
||||
menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
bool "gst1-plugins-base"
|
||||
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_GST1_PLUGINS_BASE
|
||||
|
||||
comment "dependency-less plugins"
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER
|
||||
bool "adder"
|
||||
help
|
||||
Adds multiple streams
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
||||
bool "app"
|
||||
help
|
||||
Elements used to communicate with applications
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
|
||||
bool "audioconvert (mandatory for audio playback)"
|
||||
default y
|
||||
help
|
||||
Convert audio to different formats
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER
|
||||
bool "audiomixer"
|
||||
help
|
||||
Audio mixer plugin
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE
|
||||
bool "audiorate"
|
||||
help
|
||||
Adjusts audio frames
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
|
||||
bool "audiotestsrc"
|
||||
help
|
||||
Creates audio test signals of given frequency and volume
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR
|
||||
bool "compositor"
|
||||
help
|
||||
Video compositor plugin
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING
|
||||
bool "encoding"
|
||||
help
|
||||
various encoding-related elements
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT
|
||||
bool "videoconvert"
|
||||
help
|
||||
Colorspace conversion
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO
|
||||
bool "gio"
|
||||
help
|
||||
GIO elements
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION
|
||||
bool "overlaycomposition"
|
||||
help
|
||||
Overlaycomposition plugin.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK
|
||||
bool "playback"
|
||||
default y
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
|
||||
help
|
||||
various playback elements
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
|
||||
bool "audioresample (mandatory for audio playback)"
|
||||
default y
|
||||
help
|
||||
Resamples audio
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE
|
||||
bool "rawparse"
|
||||
help
|
||||
Parses byte streams into raw frames
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE
|
||||
bool "subparse"
|
||||
help
|
||||
Subtitle parsing
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP
|
||||
bool "tcp"
|
||||
help
|
||||
transfer data over the network via TCP
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
|
||||
bool "typefind"
|
||||
default y
|
||||
help
|
||||
default typefind functions
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
|
||||
bool "videotestsrc"
|
||||
help
|
||||
Creates a test video stream
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE
|
||||
bool "videorate"
|
||||
help
|
||||
Adjusts video frames
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE
|
||||
bool "videoscale (mandatory for video playback)"
|
||||
default y
|
||||
help
|
||||
Resizes video
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
|
||||
bool "volume (mandatory for audio playback)"
|
||||
default y
|
||||
help
|
||||
plugin for controlling audio volume
|
||||
|
||||
comment "plugins with external dependencies"
|
||||
|
||||
menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
|
||||
bool "opengl"
|
||||
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
if BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
|
||||
def_bool BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
|
||||
|
||||
comment "The opengl library needs an API, a platform and a window system"
|
||||
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
|
||||
|
||||
comment "APIs"
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL
|
||||
bool "opengl"
|
||||
default y
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
select BR2_PACKAGE_LIBGLU
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
|
||||
|
||||
comment "opengl needs an OpenGL backend"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2
|
||||
bool "gles2"
|
||||
default y
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
|
||||
|
||||
comment "gles2 needs an OpenGL ES backend"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
comment "Platforms"
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX
|
||||
bool "glx"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL
|
||||
depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR # mesa needs big X
|
||||
depends on !BR2_PACKAGE_RPI_USERLAND # x11
|
||||
select BR2_PACKAGE_XLIB_LIBXRENDER
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
|
||||
help
|
||||
OpenGL Extension to the X Window System
|
||||
|
||||
comment "glx not supported with rpi-userland"
|
||||
depends on BR2_PACKAGE_RPI_USERLAND
|
||||
|
||||
comment "glx needs the opengl API and modular X.org"
|
||||
depends on !BR2_PACKAGE_RPI_USERLAND && \
|
||||
(!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL || \
|
||||
!BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR)
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
|
||||
bool "egl"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
|
||||
|
||||
comment "egl needs an API and an EGL backend"
|
||||
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API || \
|
||||
!BR2_PACKAGE_HAS_LIBEGL
|
||||
|
||||
comment "Window systems"
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11
|
||||
bool "x11"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM
|
||||
depends on !BR2_PACKAGE_RPI_USERLAND
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
|
||||
|
||||
comment "x11 not supported with rpi-userland"
|
||||
depends on BR2_PACKAGE_RPI_USERLAND
|
||||
|
||||
comment "x11 needs a platform and X.org"
|
||||
depends on !BR2_PACKAGE_RPI_USERLAND && \
|
||||
(!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM || \
|
||||
!BR2_PACKAGE_XORG7)
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND
|
||||
bool "wayland"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
|
||||
|
||||
comment "wayland needs the egl platform and the wayland package"
|
||||
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \
|
||||
!BR2_PACKAGE_WAYLAND
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX
|
||||
bool "dispmanx"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_RPI_USERLAND
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
|
||||
help
|
||||
Raspberry Pi's Dispmanx windowing system
|
||||
|
||||
comment "dispmanx needs the egl platform and rpi-userland"
|
||||
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \
|
||||
!BR2_PACKAGE_RPI_USERLAND
|
||||
endif
|
||||
|
||||
comment "opengl needs an OpenGL or OpenGL ES backend"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_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
|
||||
select BR2_PACKAGE_ALSA_LIB_SEQ
|
||||
help
|
||||
ALSA plugin library
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR
|
||||
bool "tremor"
|
||||
select BR2_PACKAGE_TREMOR
|
||||
help
|
||||
Vorbis Tremor decoder
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
|
||||
bool "ogg (*.ogg audio/video)"
|
||||
select BR2_PACKAGE_LIBOGG
|
||||
help
|
||||
ogg stream manipulation (info about ogg: http://xiph.org)
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS
|
||||
bool "opus"
|
||||
select BR2_PACKAGE_OPUS
|
||||
help
|
||||
Opus codec for speech and audio.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
|
||||
bool "pango font renderer"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz
|
||||
select BR2_PACKAGE_PANGO
|
||||
help
|
||||
Pango-based text rendering and overlay
|
||||
|
||||
comment "pango plugin needs a toolchain w/ C++, gcc >= 4.8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA
|
||||
bool "theora (*.ogg video)"
|
||||
select BR2_PACKAGE_LIBTHEORA
|
||||
help
|
||||
Theora plugin library
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS
|
||||
bool "vorbis (*.ogg audio)"
|
||||
select BR2_PACKAGE_LIBVORBIS
|
||||
help
|
||||
Vorbis plugin library
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.16.0.tar.xz.sha256sum
|
||||
sha256 4093aa7b51e28fb24dfd603893fead8d1b7782f088b05ed0f22a21ef176fb5ae gst-plugins-base-1.16.0.tar.xz
|
||||
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
|
||||
275
package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
Normal file
275
package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
Normal file
@@ -0,0 +1,275 @@
|
||||
################################################################################
|
||||
#
|
||||
# gst1-plugins-base
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PLUGINS_BASE_VERSION = 1.16.0
|
||||
GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
|
||||
GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base
|
||||
GST1_PLUGINS_BASE_INSTALL_STAGING = YES
|
||||
GST1_PLUGINS_BASE_LICENSE_FILES = COPYING
|
||||
GST1_PLUGINS_BASE_LICENSE = LGPL-2.0+, LGPL-2.1+
|
||||
|
||||
GST1_PLUGINS_BASE_CONF_OPTS = \
|
||||
-Dexamples=disabled \
|
||||
-Dtests=disabled \
|
||||
-Dgobject-cast-checks=disabled \
|
||||
-Dglib-asserts=disabled \
|
||||
-Dglib-checks=disabled \
|
||||
-Dgtk_doc=disabled \
|
||||
-Dintrospection=disabled
|
||||
|
||||
# Options which require currently unpackaged libraries
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += \
|
||||
-Dcdparanoia=disabled \
|
||||
-Dlibvisual=disabled \
|
||||
-Diso-codes=disabled
|
||||
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1 $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
GST1_PLUGINS_BASE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
# These plugins are listed in the order from ./configure --help
|
||||
ifeq ($(BR2_PACKAGE_ORC),y)
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += orc
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y)
|
||||
GST1_PLUGINS_BASE_GL_API_LIST = opengl
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y)
|
||||
GST1_PLUGINS_BASE_GL_API_LIST += gles2
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += libgles
|
||||
endif
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_api='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_API_LIST))'
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y)
|
||||
GST1_PLUGINS_BASE_GL_PLATFORM_LIST += glx
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y)
|
||||
GST1_PLUGINS_BASE_GL_PLATFORM_LIST += egl
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += libegl
|
||||
endif
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_platform='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_PLATFORM_LIST))'
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y)
|
||||
GST1_PLUGINS_BASE_WINSYS_LIST += x11
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y)
|
||||
GST1_PLUGINS_BASE_WINSYS_LIST += wayland
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y)
|
||||
GST1_PLUGINS_BASE_WINSYS_LIST += dispmanx
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland
|
||||
endif
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_winsys='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_WINSYS_LIST))'
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=disabled
|
||||
endif
|
||||
|
||||
# Zlib is checked for headers and is not an option.
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += \
|
||||
-Dx11=enabled \
|
||||
-Dxshm=enabled \
|
||||
-Dxvideo=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += \
|
||||
-Dx11=disabled \
|
||||
-Dxshm=disabled \
|
||||
-Dxvideo=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y)
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=enabled
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += tremor
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += opus
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += libogg
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += pango
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += libtheora
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y)
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=enabled
|
||||
GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis
|
||||
else
|
||||
GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user