initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Gstreamer 1.x & Plugins
source "package/gstreamer1/gstreamer1/Config.in"
if BR2_PACKAGE_GSTREAMER1
source "package/gstreamer1/gstreamer1-mm/Config.in"
source "package/gstreamer1/gst1-plugins-base/Config.in"
source "package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in"
source "package/gstreamer1/gst1-plugins-good/Config.in"
source "package/gstreamer1/gst1-plugins-bad/Config.in"
source "package/gstreamer1/gst1-plugins-ugly/Config.in"
source "package/gstreamer1/gst1-devtools/Config.in"
source "package/gstreamer1/gst1-imx/Config.in"
source "package/gstreamer1/gst1-interpipe/Config.in"
source "package/gstreamer1/gst1-libav/Config.in"
source "package/gstreamer1/gst1-python/Config.in"
source "package/gstreamer1/gst1-rtsp-server/Config.in"
source "package/gstreamer1/gst1-shark/Config.in"
source "package/gstreamer1/gst1-vaapi/Config.in"
source "package/gstreamer1/gst-omx/Config.in"
source "package/gstreamer1/gstd/Config.in"
source "package/gstreamer1/gstreamer1-editing-services/Config.in"
endif
+11
View File
@@ -0,0 +1,11 @@
config BR2_PACKAGE_GST_OMX
bool "gst-omx"
depends on BR2_PACKAGE_HAS_LIBOPENMAX
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
GStreamer plug-in to use OpenMAX API.
https://cgit.freedesktop.org/gstreamer/gst-omx
comment "gst-omx requires a OpenMAX implementation"
depends on !BR2_PACKAGE_HAS_LIBOPENMAX
+3
View File
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.18.5.tar.xz.sha256sum
sha256 2cd457c1e8deb1a9b39608048fb36a44f6c9a864a6b6115b1453a32e7be93b42 gst-omx-1.18.5.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+39
View File
@@ -0,0 +1,39 @@
################################################################################
#
# gst-omx
#
################################################################################
GST_OMX_VERSION = 1.18.5
GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz
GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx
GST_OMX_LICENSE = LGPL-2.1
GST_OMX_LICENSE_FILES = COPYING
GST_OMX_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Dtools=disabled \
-Ddoc=disabled
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
GST_OMX_VARIANT = rpi
GST_OMX_CONF_OPTS += -Dheader_path=$(STAGING_DIR)/usr/include/IL
else
GST_OMX_VARIANT = generic
endif
GST_OMX_CONF_OPTS += -Dtarget=$(GST_OMX_VARIANT)
GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax
# adjust library paths to where buildroot installs them
define GST_OMX_FIXUP_CONFIG_PATHS
find $(@D)/config -name gstomx.conf | \
xargs $(SED) 's|/usr/local|/usr|g' -e 's|/opt/vc|/usr|g'
endef
GST_OMX_POST_PATCH_HOOKS += GST_OMX_FIXUP_CONFIG_PATHS
$(eval $(meson-package))
@@ -0,0 +1,18 @@
config BR2_PACKAGE_GST1_DEVTOOLS
bool "gst1-devtools"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_GSTREAMER1_CHECK
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
# cairo is autodetected but needs PNG support
select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO
help
GStreamer development tools (gst-validate).
https://gstreamer.freedesktop.org
comment "gst1-devtools depends on python"
depends on !BR2_PACKAGE_PYTHON
depends on !BR2_PACKAGE_PYTHON3
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.18.5.tar.xz.sha256sum
sha256 fecffc86447daf5c2a06843c757a991d745caa2069446a0d746e99b13f7cb079 gst-devtools-1.18.5.tar.xz
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING
@@ -0,0 +1,37 @@
################################################################################
#
# gst1-devtools
#
################################################################################
GST1_DEVTOOLS_VERSION = 1.18.5
GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz
GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools
GST1_DEVTOOLS_LICENSE = LGPL-2.1+
GST1_DEVTOOLS_LICENSE_FILES = validate/COPYING
GST1_DEVTOOLS_INSTALL_STAGING = YES
GST1_DEVTOOLS_DEPENDENCIES = \
gstreamer1 \
gst1-plugins-base \
json-glib \
$(if $(BR2_PACKAGE_CAIRO),cairo)
ifeq ($(BR2_PACKAGE_PYTHON3),y)
GST1_DEVTOOLS_DEPENDENCIES += host-python3 python3
else
GST1_DEVTOOLS_DEPENDENCIES += host-python python
endif
ifeq ($(BR2_PACKAGE_GST1_RTSP_SERVER),y)
GST1_DEVTOOLS_DEPENDENCIES += gst1-rtsp-server
endif
GST1_DEVTOOLS_CONF_OPTS = \
-Dvalidate=enabled \
-Ddebug_viewer=disabled \
-Dintrospection=disabled \
-Dtests=disabled \
-Ddoc=disabled
$(eval $(meson-package))
+98
View File
@@ -0,0 +1,98 @@
comment "gst1-imx needs a toolchain w/ dynamic library"
depends on BR2_arm
depends on BR2_STATIC_LIBS
menuconfig BR2_PACKAGE_GST1_IMX
bool "gst1-imx"
depends on BR2_arm # Only relevant for i.MX
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
This is a set of GStreamer 1.0 plugins for plugins for
Freescale's i.MX platforms, which make use of the i.MX
multimedia capabilities.
https://github.com/Freescale/gstreamer-imx
if BR2_PACKAGE_GST1_IMX
config BR2_PACKAGE_GST1_IMX_EGLVISINK
bool "imxeglvivsink"
depends on BR2_PACKAGE_IMX_GPU_VIV
help
Elements leveraging the 3D GPU
comment "imxeglvivsink needs the Vivante 3D libraries"
depends on !BR2_PACKAGE_IMX_GPU_VIV
config BR2_PACKAGE_GST1_IMX_G2D
bool "imxg2d"
depends on BR2_PACKAGE_IMX_GPU_G2D
help
Elements leveraging the 2D GPU
comment "imxg2d needs the G2D libraries"
depends on !BR2_PACKAGE_IMX_GPU_G2D
config BR2_PACKAGE_GST1_IMX_IPU
bool "imxipu"
depends on BR2_LINUX_KERNEL
help
Elements leveraging the IPU
comment "imxipu needs an imx-specific Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_GST1_IMX_MP3ENCODER
bool "mp3encoder"
depends on BR2_PACKAGE_IMX_CODEC
help
Elements for MP3 encoding
comment "mp3encoder needs the i.MX codec binaries"
depends on !BR2_PACKAGE_IMX_CODEC
config BR2_PACKAGE_GST1_IMX_PXP
bool "imxpxp"
depends on BR2_LINUX_KERNEL
help
Elements leveraging the PXP
comment "imxpxp needs an imx-specific Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_GST1_IMX_UNIAUDIODEC
bool "uniaudiodec"
depends on BR2_PACKAGE_IMX_CODEC
help
Elements for audio decoding
comment "uniaudiodec needs the i.MX codec binaries"
depends on !BR2_PACKAGE_IMX_CODEC
config BR2_PACKAGE_GST1_IMX_VPU
bool "imxvpu"
depends on BR2_PACKAGE_LIBIMXVPUAPI
help
Elements leveraging the VPU
comment "imxvpu needs the VPU imxvpuapi library"
depends on !BR2_PACKAGE_LIBIMXVPUAPI
config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC
bool "imxv4l2videosrc"
select BR2_PACKAGE_GST1_PLUGINS_BAD
help
Elements for V4L2 capture
config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK
bool "imxv4l2videosink"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT
select BR2_PACKAGE_GST1_PLUGINS_BAD
help
Elements for V4L2 output
comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
endif
@@ -0,0 +1,3 @@
# locally computed hash
sha256 21feb24130c18e4a1f8cc4f72d575903d1f9134dd0604e41e91b5e783d81e320 gst1-imx-0.13.1.tar.gz
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 LICENSE
+104
View File
@@ -0,0 +1,104 @@
################################################################################
#
# gst1-imx
#
################################################################################
GST1_IMX_VERSION = 0.13.1
GST1_IMX_SITE = $(call github,Freescale,gstreamer-imx,$(GST1_IMX_VERSION))
GST1_IMX_LICENSE = LGPL-2.0+
GST1_IMX_LICENSE_FILES = LICENSE
GST1_IMX_INSTALL_STAGING = YES
GST1_IMX_NEEDS_EXTERNAL_WAF = YES
GST1_IMX_DEPENDENCIES += \
host-pkgconf \
gstreamer1 \
gst1-plugins-base
GST1_IMX_CONF_OPTS = --prefix="/usr"
ifeq ($(BR2_LINUX_KERNEL),y)
# IPU and PXP need access to imx-specific kernel headers
GST1_IMX_DEPENDENCIES += linux
GST1_IMX_CONF_OPTS += --kernel-headers="$(LINUX_DIR)/include"
endif
ifeq ($(BR2_PACKAGE_IMX_CODEC),y)
GST1_IMX_DEPENDENCIES += imx-codec
endif
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y)
GST1_IMX_DEPENDENCIES += imx-gpu-viv
endif
ifeq ($(BR2_PACKAGE_IMX_GPU_G2D),y)
GST1_IMX_DEPENDENCIES += imx-gpu-g2d
endif
ifeq ($(BR2_PACKAGE_GST1_IMX_EGLVISINK),y)
# There's no --enable-eglvivsink option
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
GST1_IMX_DEPENDENCIES += xlib_libX11
GST1_IMX_CONF_OPTS += --egl-platform=x11
else
ifeq ($(BR2_PACKAGE_WAYLAND),y)
GST1_IMX_DEPENDENCIES += wayland
GST1_IMX_CONF_OPTS += --egl-platform=wayland
else
GST1_IMX_CONF_OPTS += --egl-platform=fb
endif
endif
else
GST1_IMX_CONF_OPTS += --disable-eglvivsink
endif
# There's no --enable-g2d option
ifeq ($(BR2_PACKAGE_GST1_IMX_G2D),)
GST1_IMX_CONF_OPTS += --disable-g2d
endif
# There's no --enable-ipu option
ifeq ($(BR2_PACKAGE_GST1_IMX_IPU),)
GST1_IMX_CONF_OPTS += --disable-ipu
endif
# There's no --enable-mp3encoder option
ifeq ($(BR2_PACKAGE_GST1_IMX_MP3ENCODER),)
GST1_IMX_CONF_OPTS += --disable-mp3encoder
endif
# There's no --enable-pxp option
ifeq ($(BR2_PACKAGE_GST1_IMX_PXP),)
GST1_IMX_CONF_OPTS += --disable-pxp
endif
# There's no --enable-uniaudiodec option
ifeq ($(BR2_PACKAGE_GST1_IMX_UNIAUDIODEC),)
GST1_IMX_CONF_OPTS += --disable-uniaudiodec
endif
ifeq ($(BR2_PACKAGE_GST1_IMX_VPU),y)
# There's no --enable-vpu option
GST1_IMX_DEPENDENCIES += libimxvpuapi
else
GST1_IMX_CONF_OPTS += --disable-vpu
endif
ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC),y)
# There's no --enable-imxv4l2videosrc option
GST1_IMX_DEPENDENCIES += gst1-plugins-bad
else
GST1_IMX_CONF_OPTS += --disable-imxv4l2videosrc
endif
ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK),y)
# There's no --enable-imxv4l2videosink option
GST1_IMX_DEPENDENCIES += gst1-plugins-bad
else
GST1_IMX_CONF_OPTS += --disable-imxv4l2videosink
endif
$(eval $(waf-package))
@@ -0,0 +1,10 @@
config BR2_PACKAGE_GST1_INTERPIPE
bool "gst1-interpipe"
select BR2_PACKAGE_GSTREAMER1_CHECK
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
help
GstInterpipe is a Gstreamer plug-in that allows communication
between two independent pipelines.
https://github.com/RidgeRun/gst-interpipe
@@ -0,0 +1,5 @@
# locally computed hash
sha256 0fd29d3cba623163dd5852989d7ca21eee9033da9d14a467ccd5e527e3b4297b gst1-interpipe-1.1.7-br1.tar.gz
# Hashes for license files:
sha256 16d7caa6cabbfd0ca47e064a7b48cb446d013e84ca88c854d6470851752136d5 COPYING
@@ -0,0 +1,22 @@
################################################################################
#
# gst1-interpipe
#
################################################################################
GST1_INTERPIPE_VERSION = 1.1.7
GST1_INTERPIPE_SITE = https://github.com/RidgeRun/gst-interpipe
GST1_INTERPIPE_SITE_METHOD = git
# fetch gst-interpipe/common sub module
GST1_INTERPIPE_GIT_SUBMODULES = YES
GST1_INTERPIPE_LICENSE = LGPL-2.1
GST1_INTERPIPE_LICENSE_FILES = COPYING
GST1_INTERPIPE_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
GST1_INTERPIPE_CONF_OPTS = \
-Dtests=disabled \
-Denable-gtk-doc=false
$(eval $(meson-package))
+16
View File
@@ -0,0 +1,16 @@
config BR2_PACKAGE_GST1_LIBAV
bool "gst1-libav"
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
select BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_FFMPEG_SWSCALE
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
GStreamer plugin (formerly gst-ffmpeg).
This package contains GStreamer plugins based on
the libav project.
The codecs, muxers, bitstreams and filters to build can be
selected in the ffmpeg package.
https://gstreamer.freedesktop.org/
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.18.5.tar.xz.sha256sum
sha256 822e008a910e9dd13aedbdd8dc63fedef4040c0ee2e927bab3112e9de693a548 gst-libav-1.18.5.tar.xz
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
@@ -0,0 +1,15 @@
################################################################################
#
# gst1-libav
#
################################################################################
GST1_LIBAV_VERSION = 1.18.5
GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz
GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav
GST1_LIBAV_LICENSE = LGPL-2.0+
GST1_LIBAV_LICENSE_FILES = COPYING
GST1_LIBAV_DEPENDENCIES = host-pkgconf ffmpeg gstreamer1 gst1-plugins-base
GST1_LIBAV_CONF_OPTS = -Ddoc=disabled
$(eval $(meson-package))
@@ -0,0 +1,693 @@
menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD
bool "gst1-plugins-bad"
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
A set of plug-ins for GStreamer that may be of poor quality
or lacking some features.
https://gstreamer.freedesktop.org/
if BR2_PACKAGE_GST1_PLUGINS_BAD
comment "dependency-less plugins"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP
bool "accurip"
help
Accurip plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC
bool "adpcmdec"
help
ADPCM decoder
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC
bool "adpcmenc"
help
ADPCM encoder
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF
bool "aiff"
help
Create and parse Audio interchange File Format (AIFF) files
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX
bool "asfmux"
help
ASF Muxer Plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT
bool "audiobuffersplit"
help
Audio buffersplit plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD
bool "audiofxbad"
help
Audio filters plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY
bool "audiolatency"
help
Audio latency plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX
bool "audiomixmatrix"
help
Audio N:M mixer plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS
bool "audiovisualizers"
help
Creates video visualizations of audio input
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT
bool "autoconvert"
help
Selects convertor element based on caps
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER
bool "bayer"
help
Elements to convert Bayer images
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2
bool "camerabin2"
help
Take image snapshots and record movies from camera
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS
bool "coloreffects"
help
Color Look-up Table filters
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS
bool "debugutils"
help
Collection of elements that may or may not be useful for
debugging
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC
bool "dvbsubenc"
help
DVB subpicture encoding support
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY
bool "dvbsuboverlay"
help
DVB subtitle renderer plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU
bool "dvdspu"
help
DVD Sub-picture Overlay element
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY
bool "faceoverlay"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL
bool "festival"
help
Synthesizes plain text into audio
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS
bool "fieldanalysis"
help
Video field analysis
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB
bool "freeverb"
help
Reverberation/room effect
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R
bool "frei0r"
help
frei0r plugin library
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS
bool "gaudieffects"
help
Gaudi video effects
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM
bool "geometrictransform"
help
Various geometric image transform elements
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP
bool "gdp"
help
Payload/depayload GDP packets
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG
bool "id3tag"
help
ID3 v1 and v2 muxing plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER
bool "inter"
help
plugin for inter-pipeline communication
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE
bool "interlace"
help
Create an interlaced video stream
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE
bool "ivfparse"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC
bool "ivtc"
help
Inverse Telecine plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR
bool "jp2kdecimator"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT
bool "jpegformat"
help
JPEG interchange format plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB
bool "librfb"
help
Connects to a VNC server and decodes RFB stream
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI
bool "midi"
help
MIDI plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX
bool "mpegdemux"
help
MPEG-PS demuxer
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX
bool "mpegtsdemux"
help
MPEG TS demuxer
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX
bool "mpegtsmux"
help
MPEG-TS muxer
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX
bool "mpegpsmux"
help
MPEG-PS muxer
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF
bool "mxf"
help
MXF plugin library
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM
bool "netsim"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF
bool "onvif"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE
bool "pcapparse"
help
Element parsing raw pcap streams
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM
bool "pnm"
help
PNM plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY
bool "proxy"
help
Proxy plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE
bool "rawparse"
help
Parses byte streams into raw frames
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE
bool "removesilence"
help
Removes silence from an audio stream
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST
bool "rist"
help
RIST streaming
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2
bool "rtmp2"
help
RTMP sink/source (rtmp2sink, rtmp2src)
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2
bool "rtp"
help
RTP (rtpsrc/rtpsink)
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP
bool "rtmp"
select BR2_PACKAGE_RTMPDUMP
help
RTMP plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP
bool "sdp"
help
configure streaming sessions using SDP
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP
bool "segmentclip"
help
Segment clip elements
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN
bool "siren"
help
Siren encoder/decoder/payloader/depayloader plugins
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH
bool "smooth"
help
Apply a smooth filter to an image
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED
bool "speed"
help
Set speed/pitch on audio/raw streams (resampler)
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC
bool "subenc"
help
subtitle encoders
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN
bool "switchbin"
help
Switching between paths based on input caps
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE
bool "timecode"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS
bool "videofilters"
help
Video filters in gst-plugins-bad
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL
bool "videoframe_audiolevel"
help
videoframe_audiolevel
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS
bool "videoparsers"
help
videoparsers
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL
bool "videosignal"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC
bool "vmnc"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M
bool "y4m"
help
Demuxes/decodes YUV4MPEG streams
comment "plugins with external dependencies"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER
bool "assrender"
depends on BR2_INSTALL_LIBSTDCPP # libass -> harfbuzz
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libass -> harfbuzz
select BR2_PACKAGE_LIBASS
comment "assrender plugin needs a toolchain w/ C++, gcc => 4.8"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ
bool "bluez"
depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2
depends on BR2_USE_MMU # bluez5_utils -> dbus
depends on !BR2_STATIC_LIBS # bluez5_utils -> uses dlfcn
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
select BR2_PACKAGE_BLUEZ5_UTILS
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO # runtime
help
Bluetooth audio A2DP/AVDTP sink, AVDTP source plugin
comment "bluez plugin needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
bool "bz2"
select BR2_PACKAGE_BZIP2
help
Compress or decompress streams
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL
bool "curl"
select BR2_PACKAGE_LIBCURL
help
libcurl-based elements
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH
bool "dash"
select BR2_PACKAGE_LIBXML2
help
DASH demuxer plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK
bool "decklink"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # <dlfcn.h>
help
Blackmagic Decklink plugin
comment "decklink needs a toolchain w/ C++, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
bool "directfb"
default y
depends on BR2_PACKAGE_DIRECTFB
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB
bool "dvb"
# FEC_2_5 / QAM_4_NR definitions
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
select BR2_PACKAGE_DTV_SCAN_TABLES
help
DVB elements
comment "dvb needs a toolchain w/ headers >= 3.7"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD
bool "faad"
select BR2_PACKAGE_FAAD2
help
Free AAC Decoder (FAAD)
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV
bool "fbdev"
help
Linux framebuffer video sink
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC
bool "fdk-aac"
depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_FDK_AAC
help
MPEG AAC encoder/decoder
comment "fdk-aac needs a toolchain w/ C++"
depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH
bool "fluidsynth"
depends on !BR2_STATIC_LIBS # fluidsynth
depends on BR2_USE_WCHAR # fluidsynth
depends on BR2_TOOLCHAIN_HAS_THREADS # fluidsynth
depends on BR2_USE_MMU # fluidsynth
select BR2_PACKAGE_FLUIDSYNTH
help
Fluidsynth MIDI decoder plugin
comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL
bool "gl"
default y
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
comment "gl needs the gst1-plugins-base opengl library"
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS
bool "hls"
select BR2_PACKAGE_NETTLE if !(BR2_PACKAGE_LIBGCRYPT || BR2_PACKAGE_OPENSSL)
help
Fragmented streaming plugins
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS
bool "kmssink"
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs
select BR2_PACKAGE_LIBDRM
help
KMS video sink
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS
bool "libmms"
depends on BR2_USE_WCHAR # libmms -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libmms -> libglib2
select BR2_PACKAGE_LIBMMS
help
Microsoft Multi Media Server streaming protocol support
comment "libmms needs a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS
bool "dtls"
select BR2_PACKAGE_OPENSSL
help
DTLS plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML
bool "ttml"
depends on BR2_USE_WCHAR # pango -> glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> glib2
depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_PANGO
help
Timed Text Markup Language (TTML) subtitle plugin
comment "ttml needs a toolchain w/ wchar, threads, C++"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC
bool "mpeg2enc"
depends on BR2_USE_MMU # fork
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBMPEG2
select BR2_PACKAGE_MJPEGTOOLS
help
High-quality MPEG-1/2 video encoder
comment "mpeg2enc needs a toolchain w/ threads, C++"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK
bool "musepack"
select BR2_PACKAGE_MUSEPACK
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
bool "neon"
select BR2_PACKAGE_NEON
help
lib neon http client src
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL
bool "openal"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_PAKCAGE_OPENAL_ARCH_SUPPORTS
select BR2_PACKAGE_OPENAL
comment "openal plugin needs a toolchain w/ NPTL, C++, gcc >= 4.9"
depends on BR2_PAKCAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264
bool "openh264"
depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP # libopenh264
depends on !BR2_STATIC_LIBS # libopenh264
depends on BR2_TOOLCHAIN_HAS_THREADS # libopenh264
select BR2_PACKAGE_LIBOPENH264
help
OpenH264 based encoding/decoding plugin
comment "openh264 plugin needs a toolchain w/ C++, dynamic library, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG
bool "openjpeg"
select BR2_PACKAGE_OPENJPEG
help
GStreamer OpenJPEG plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
bool "opus"
select BR2_PACKAGE_OPUS
help
OPUS plugin library
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG
bool "rsvg"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg
depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # librsvg -> pango -> harfbuzz
select BR2_PACKAGE_LIBRSVG
help
RSVG plugin library
comment "rsvg plugin needs a toolchain w/ C++, gcc >= 4.8"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
depends on BR2_TOOLCHAIN_HAS_SYNC_4
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC
bool "sbc"
select BR2_PACKAGE_SBC
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP
bool "sctp"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM
bool "shm"
help
shared memory sink source
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE
bool "sndfile"
select BR2_PACKAGE_LIBSNDFILE
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP
bool "srtp"
select BR2_PACKAGE_LIBSRTP
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
bool "voaacenc"
select BR2_PACKAGE_VO_AACENC
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
bool "wayland"
default y
depends on BR2_PACKAGE_WAYLAND
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_WAYLAND_PROTOCOLS
help
Wayland Video Sink
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP
bool "webp"
select BR2_PACKAGE_WEBP
help
Webp image format plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
bool "webrtc"
depends on !BR2_STATIC_LIBS # libnice -> gnutls
select BR2_PACKAGE_GST1_PLUGINS_BASE # libgstsdp
select BR2_PACKAGE_LIBNICE
help
WebRTC plugins (webrtcbin - a bin for webrtc connections)
comment "webrtc needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP
bool "webrtcdsp"
# All depends from webrtc-audio-processing
depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
select BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
help
WebRTC echo-cancellation, gain control and noise suppression
comment "webrtcdsp needs a toolchain w/ C++, NPTL, gcc >= 4.8"
depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE
bool "wpe"
default y
depends on BR2_PACKAGE_WPEWEBKIT
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
depends on !BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM
comment "wpe needs the gst1-plugins-base opengl library and wpewebkit"
depends on !BR2_PACKAGE_WPEWEBKIT \
|| !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
comment "wpe is incompatible w/ wpewebkit media-stream support"
depends on BR2_PACKAGE_WPEWEBKIT
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
depends on BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS
bool "v4l2codecs"
depends on BR2_PACKAGE_HAS_UDEV # libgudev
select BR2_PACKAGE_LIBGUDEV
help
Video4Linux Stateless CODECs support
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265
bool "x265"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # x265
select BR2_PACKAGE_X265
help
x265 encoding plugin
comment "x265 needs a toolchain w/ C++, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
config BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR
bool "zbar"
depends on BR2_TOOLCHAIN_HAS_THREADS # zbar-> libv4l
depends on BR2_USE_MMU # zbar-> libv4l
depends on BR2_INSTALL_LIBSTDCPP # zbar-> libv4l
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # zbar -> libv4l
select BR2_PACKAGE_ZBAR
comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
endif
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.18.5.tar.xz.sha256sum
sha256 a164923b94f0d08578a6fcaeaac6e0c05da788a46903a1086870e9ca45ad678e gst-plugins-bad-1.18.5.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
@@ -0,0 +1,801 @@
################################################################################
#
# gst1-plugins-bad
#
################################################################################
GST1_PLUGINS_BAD_VERSION = 1.18.5
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad
GST1_PLUGINS_BAD_INSTALL_STAGING = YES
# Additional plugin licenses will be appended to GST1_PLUGINS_BAD_LICENSE and
# GST1_PLUGINS_BAD_LICENSE_FILES if enabled.
GST1_PLUGINS_BAD_LICENSE_FILES = COPYING
GST1_PLUGINS_BAD_LICENSE = LGPL-2.0+
GST1_PLUGINS_BAD_CPE_ID_VENDOR = freedesktop
GST1_PLUGINS_BAD_CPE_ID_PRODUCT = gst-plugins-bad
GST1_PLUGINS_BAD_CFLAGS = $(TARGET_CFLAGS) -std=c99 -D_GNU_SOURCE
GST1_PLUGINS_BAD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
GST1_PLUGINS_BAD_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Ddirectsound=disabled \
-Dd3dvideosink=disabled \
-Dwinks=disabled \
-Dandroidmedia=disabled \
-Dapplemedia=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled \
-Dextra-checks=disabled \
-Ddoc=disabled
# Options which require currently unpackaged libraries
GST1_PLUGINS_BAD_CONF_OPTS += \
-Davtp=disabled \
-Dopensles=disabled \
-Duvch264=disabled \
-Dmsdk=disabled \
-Dvoamrwbenc=disabled \
-Dbs2b=disabled \
-Dchromaprint=disabled \
-Dd3d11=disabled \
-Ddc1394=disabled \
-Ddts=disabled \
-Dresindvd=disabled \
-Dfaac=disabled \
-Dflite=disabled \
-Dgsm=disabled \
-Dkate=disabled \
-Dladspa=disabled \
-Dlv2=disabled \
-Dmediafoundation=disabled \
-Dmicrodns=disabled \
-Dlibde265=disabled \
-Dmodplug=disabled \
-Dmplex=disabled \
-Dofa=disabled \
-Dopenexr=disabled \
-Dopenni2=disabled \
-Dteletext=disabled \
-Dwildmidi=disabled \
-Dsmoothstreaming=disabled \
-Dsoundtouch=disabled \
-Dgme=disabled \
-Dspandsp=disabled \
-Dsvthevcenc=disabled \
-Dtranscode=disabled \
-Dwasapi2=disabled \
-Dzxing=disabled \
-Dmagicleap=disabled \
-Diqa=disabled \
-Dopencv=disabled
GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += gobject-introspection
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libdrm wayland wayland-protocols
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=disabled
endif
ifeq ($(BR2_PACKAGE_ORC),y)
GST1_PLUGINS_BAD_DEPENDENCIES += orc
GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ),y)
GST1_PLUGINS_BAD_DEPENDENCIES += bluez5_utils
GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=enabled
GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=enabled
GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drist=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Drist=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += rtmpdump
else
GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=disabled
endif
# Plugins with dependencies
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libass
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += bzip2
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libcurl
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libxml2
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += directfb
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += dtv-scan-tables
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += faad2
GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += fdk-aac
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += fluidsynth
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=enabled
ifeq ($(BR2_PACKAGE_NETTLE),y)
GST1_PLUGINS_BAD_DEPENDENCIES += nettle
GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='nettle'
else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
GST1_PLUGINS_BAD_DEPENDENCIES += libgcrypt
GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='libgcrypt'
else
GST1_PLUGINS_BAD_DEPENDENCIES += openssl
GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='openssl'
endif
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libdrm
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libmms
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += openssl
GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += cairo libxml2 pango
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libmpeg2 mjpegtools
GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += musepack
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += neon
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += openal
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libopenh264
GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += openjpeg
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += opus
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += librsvg
else
GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += sbc
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP),y)
GST1_PLUGINS_BAD_CONF_OPTS += \
-Dsctp=enabled \
-Dsctp-internal-usrsctp=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += \
-Dsctp=disabled \
-Dsctp-internal-usrsctp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libsndfile
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libsrtp
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += webp
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += gst1-plugins-base libnice
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += webrtc-audio-processing
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libwpe wpewebkit wpebackend-fdo
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libgudev
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += x265
GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += zbar
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled
endif
# Add GPL license if GPL licensed plugins enabled.
ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
GST1_PLUGINS_BAD_LICENSE += , GPL-2.0+
GST1_PLUGINS_BAD_LICENSE_FILES += COPYING
endif
# Add BSD license if BSD licensed plugins enabled.
ifeq ($(GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE),y)
GST1_PLUGINS_BAD_LICENSE += , BSD-2-Clause
endif
# Add Unknown license if Unknown licensed plugins enabled.
ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE),y)
GST1_PLUGINS_BAD_LICENSE += , UNKNOWN
endif
# Use the following command to extract license info for plugins.
# # find . -name 'plugin-*.xml' | xargs grep license
$(eval $(meson-package))
@@ -0,0 +1,45 @@
From 012ca1bcd234ee02f576dd58b1f09baba18b89b0 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Mon, 14 Dec 2020 07:42:55 +0100
Subject: [PATCH] gst-libs/gst/video/gstvideoaggregator.c: fix build with gcc
4.8
Fix the following build failure with gcc 4.8 which has been added with
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/d268c193ad39fb970351ed62898be806ebd0a71e:
../gst-libs/gst/video/gstvideoaggregator.c: In function 'gst_video_aggregator_init':
../gst-libs/gst/video/gstvideoaggregator.c:2762:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (gint i = 0; i < gst_caps_get_size (src_template); i++) {
^
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/974]
---
gst-libs/gst/video/gstvideoaggregator.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c
index 2e3d813be..04dad6563 100644
--- a/gst-libs/gst/video/gstvideoaggregator.c
+++ b/gst-libs/gst/video/gstvideoaggregator.c
@@ -2786,6 +2786,7 @@ gst_video_aggregator_init (GstVideoAggregator * vagg,
{
GstCaps *src_template;
GstPadTemplate *pad_template;
+ gint i;
vagg->priv = gst_video_aggregator_get_instance_private (vagg);
vagg->priv->current_caps = NULL;
@@ -2800,7 +2801,7 @@ gst_video_aggregator_init (GstVideoAggregator * vagg,
pad_template =
gst_element_class_get_pad_template (GST_ELEMENT_CLASS (klass), "src");
src_template = gst_pad_template_get_caps (pad_template);
- for (gint i = 0; i < gst_caps_get_size (src_template); i++) {
+ for (i = 0; i < gst_caps_get_size (src_template); i++) {
const GValue *v =
gst_structure_get_value (gst_caps_get_structure (src_template, i),
"format");
--
2.29.2
@@ -0,0 +1,318 @@
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.
https://gstreamer.freedesktop.org/
if BR2_PACKAGE_GST1_PLUGINS_BASE
config BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS
bool "install tools"
help
Install the gst-discoverer, gst-device-monitor and gst-play
tools.
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_GIO_TYPEFINDER
bool "gio-typefinder"
help
GIO typefinder 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.18.5.tar.xz.sha256sum
sha256 960b7af4585700db0fdd5b843554e11e2564fed9e061f591fae88a7be6446fa3 gst-plugins-base-1.18.5.tar.xz
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
@@ -0,0 +1,298 @@
################################################################################
#
# gst1-plugins-base
#
################################################################################
GST1_PLUGINS_BASE_VERSION = 1.18.5
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 \
-Ddoc=disabled
# Options which require currently unpackaged libraries
GST1_PLUGINS_BASE_CONF_OPTS += \
-Dcdparanoia=disabled \
-Dlibvisual=disabled \
-Diso-codes=disabled
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS),y)
GST1_PLUGINS_BASE_CONF_OPTS += -Dtools=enabled
else
GST1_PLUGINS_BASE_CONF_OPTS += -Dtools=disabled
endif
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_GOBJECT_INTROSPECTION),y)
GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=enabled
GST1_PLUGINS_BASE_DEPENDENCIES += gobject-introspection
else
GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=disabled
endif
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_HAS_API)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW),yyy)
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=enabled
else
GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y)
GST1_PLUGINS_BASE_GL_API_LIST = opengl
GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu
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_GIO_TYPEFINDER),y)
GST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=enabled
else
GST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=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))
@@ -0,0 +1,20 @@
menuconfig BR2_PACKAGE_GST1_PLUGINS_BAYER2RGB_NEON
bool "gst1-plugins-bayer2rgb-neon"
depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 # bayer2rgb-neon
depends on !BR2_STATIC_LIBS # bayer2rgb-neon
depends on BR2_INSTALL_LIBSTDCPP # bayer2rgb-neon
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # bayer2rgb-neon
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_BAYER2RGB_NEON
help
gst1-plugins-bayer2rgb-neon is a gstreamer1
plugin which uses bayer2rgb-neon library to
decode raw camera bayer to RGB using
NEON hardware acceleration.
https://gitlab-ext.sigma-chemnitz.de/ensc/gst-bayer2rgb-neon
comment "gst1-plugins-bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9"
depends on BR2_arm && BR2_ARM_CPU_HAS_NEON
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
@@ -0,0 +1,3 @@
# Locally calculated
sha256 76b2135a23f465f789ccb86bd3a8190a1e30f86cdb28abfac4d9a2cdece63fa2 gst1-plugins-bayer2rgb-neon-b630798efcd611879e7cb1c246052e5ba1acc41d-br1.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
@@ -0,0 +1,23 @@
################################################################################
#
# gst1-plugins-bayer2rgb-neon
#
################################################################################
GST1_PLUGINS_BAYER2RGB_NEON_VERSION = b630798efcd611879e7cb1c246052e5ba1acc41d
GST1_PLUGINS_BAYER2RGB_NEON_SITE = https://gitlab-ext.sigma-chemnitz.de/ensc/gst-bayer2rgb-neon.git
GST1_PLUGINS_BAYER2RGB_NEON_SITE_METHOD = git
GST1_PLUGINS_BAYER2RGB_NEON_LICENSE = GPL-3.0
GST1_PLUGINS_BAYER2RGB_NEON_LICENSE_FILES = COPYING
GST1_PLUGINS_BAYER2RGB_NEON_INSTALL_STAGING = YES
GST1_PLUGINS_BAYER2RGB_NEON_DEPENDENCIES = \
host-pkgconf \
gstreamer1 \
gst1-plugins-base \
bayer2rgb-neon
GST1_PLUGINS_BAYER2RGB_NEON_AUTORECONF = YES
$(eval $(autotools-package))
@@ -0,0 +1,424 @@
menuconfig BR2_PACKAGE_GST1_PLUGINS_GOOD
bool "gst1-plugins-good"
select BR2_PACKAGE_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 set of well-supported plug-ins for GStreamer under the
preferred license.
https://gstreamer.freedesktop.org/
if BR2_PACKAGE_GST1_PLUGINS_GOOD
config BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG
bool "jpeg (JPEG support)"
select BR2_PACKAGE_JPEG
help
JPeg plugin library
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG
bool "png (PNG support)"
select BR2_PACKAGE_LIBPNG
help
PNG plugin library
config BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2
bool "bz2 support"
depends on BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
select BR2_PACKAGE_BZIP2
help
Enable bz2 support for the following plugins:
matroska
comment "dependency-less plugins"
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA
bool "alpha"
help
adds an alpha channel to video - constant or via chroma-keying
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG
bool "apetag"
help
APEv1/2 tag reader
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX
bool "audiofx"
help
Audio effects plugin
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS
bool "audioparsers"
help
Parsers for various audio formats
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE
bool "auparse"
help
parses au streams
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT
bool "autodetect"
help
Plugin contains auto-detection plugins for video/audio in-
and outputs
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI
bool "avi (*.avi video)"
default y
help
AVI stream handling
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER
bool "cutter"
help
Audio Cutter to split audio into non-silent bits
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS
bool "debugutils"
help
elements for testing and debugging
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE
bool "deinterlace"
help
Deinterlacer
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF
bool "dtmf"
help
DTMF plugin
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV
bool "effectv"
help
effect plugins from the effectv project
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER
bool "equalizer"
help
GStreamer audio equalizers
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV
bool "flv"
help
FLV muxing and demuxing plugin
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX
bool "flx"
help
FLC/FLI/FLX video decoder
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM
bool "goom"
help
GOOM visualization filter
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1
bool "goom2k1"
help
GOOM 2k1 visualization filter
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX
bool "icydemux"
help
Demux ICY tags from a stream
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX
bool "id3demux (*.mp3 audio)"
help
Demux ID3v1 and ID3v2 tags from a file
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE
bool "imagefreeze"
help
Still frame stream generator
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE
bool "interleave"
help
Audio interleaver/deinterleaver
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4
bool "isomp4"
default y
help
ISO base media file format support (mp4, 3gpp, qt, mj2)
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW
bool "law"
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL
bool "level"
help
Audio level plugin
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
bool "matroska"
help
Matroska and WebM stream handling
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE
bool "monoscope"
help
Monoscope visualization
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE
bool "multifile"
help
Reads/Writes buffers from/to sequentially named files
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART
bool "multipart"
help
multipart stream manipulation
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN
bool "replaygain"
help
ReplayGain volume normalization
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP
bool "rtp"
help
Real-time protocol plugins
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER
bool "rtpmanager"
help
RTP session management plugin library
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP
bool "rtsp"
help
transfer data via RTSP
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE
bool "shapewipe"
help
Shape Wipe transition filter
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE
bool "smpte"
help
Apply the standard SMPTE transitions on video images
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM
bool "spectrum"
help
Run an FFT on the audio signal, output spectrum data
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP
bool "udp"
help
transfer data via UDP
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX
bool "videobox"
help
resizes a video by adding borders or cropping
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP
bool "videocrop"
help
Crops video into a user-defined region
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER
bool "videofilter"
help
Video filters plugin
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER
bool "videomixer"
help
Video mixer
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC
bool "wavenc"
help
Encode raw audio into WAV
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE
bool "wavparse (*.wav audio)"
default y
help
Parse a .wav file into raw audio
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M
bool "y4m"
help
Encodes a YUV frame into the yuv4mpeg format (mjpegtools)
comment "plugins with external dependencies"
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME
bool "lame (*.mp3 audio encoder)"
select BR2_PACKAGE_LAME
help
Encode MP3s with LAME
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123
bool "mpg123 (*.mp3 audio)"
select BR2_PACKAGE_MPG123
help
mp3 decoding based on the mpg123 library
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS
bool "ossaudio (OSS audio)"
help
OSS (Open Sound System) support for GStreamer
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4
bool "oss4 (Open Sound System 4)"
help
Open Sound System (OSS) version 4 support for GStreamer
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL
bool "qmlgl (qt5)"
depends on BR2_PACKAGE_QT5
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
select BR2_PACKAGE_QT5BASE_WIDGETS
select BR2_PACKAGE_QT5DECLARATIVE
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
select BR2_PACKAGE_QT5X11EXTRAS if BR2_PACKAGE_QT5BASE_XCB
help
QT5 plugin which includes elements qmlglsrc and qmlglsink
comment "qmlgl (qt5) needs the gst1-plugins-base opengl library"
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2
bool "shout2"
select BR2_PACKAGE_LIBSHOUT
help
Elements to send data to an icecast server using libshout2
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2
bool "v4l2"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # multi planar api
select BR2_PACKAGE_LIBGUDEV if BR2_PACKAGE_HAS_UDEV
help
elements for Video 4 Linux
comment "v4l2 needs a toolchain w/ headers >= 3.0"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE
bool "v4l2-probe (m2m)"
depends on BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2
help
Enables the V4L2 probe at plugin load time. This enables
support for v4l2 transform devices, such as m2m
devices. These plugins are registered as v4l2videoNconvert
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO
bool "cairo"
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_CAIRO_PNG
help
Cairo-based elements
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC
bool "flac (libFLAC)"
depends on BR2_USE_WCHAR # flac
select BR2_PACKAGE_FLAC
help
The FLAC Lossless compressor Codec
comment "flac needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
bool "gdkpixbuf"
depends on BR2_USE_WCHAR # gdk-pixbuf -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> libglib2
select BR2_PACKAGE_GDK_PIXBUF
help
GdkPixbuf-based image decoder, overlay and sink
comment "gdkpixbuf needs a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK
bool "jack"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
select BR2_PACKAGE_JACK2
help
JACK audio source/sink plugin
comment "jack needs a toolchain w/ C++, dynamic library"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
bool "pulseaudio"
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
depends on BR2_USE_MMU # pulseaudio
depends on !BR2_STATIC_LIBS # pulseaudio
depends on BR2_USE_WCHAR # pulseaudio
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC # pulseaudio
select BR2_PACKAGE_PULSEAUDIO
help
PulseAudio plugin library
comment "pulseaudio support needs a toolchain w/ threads, wchar, dynamic library"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || !BR2_USE_WCHAR
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
bool "souphttpsrc (http client)"
depends on BR2_USE_WCHAR # libsoup -> glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libsoup -> glib2
select BR2_PACKAGE_LIBSOUP
help
libsoup HTTP client src/sink
comment "souphttpsrc needs a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX
bool "speex"
select BR2_PACKAGE_SPEEX
help
Speex plugin library
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB
bool "taglib"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
select BR2_PACKAGE_TAGLIB
help
Taglib tagging plugin library
comment "taglib needs a toolchain w/ C++, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME
bool "twolame"
select BR2_PACKAGE_TWOLAME
help
twolame mp2 audio encoder plugin
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
bool "vpx (webm)"
depends on BR2_TOOLCHAIN_HAS_THREADS # libvpx
select BR2_PACKAGE_LIBVPX
help
VP8 plugin
comment "libvpx needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK
bool "wavpack (*.wv audio)"
select BR2_PACKAGE_WAVPACK
help
Wavpack lossless/lossy audio format handling
endif
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.18.5.tar.xz.sha256sum
sha256 3aaeeea7765fbf8801acce4a503a9b05f73f04e8a35352e9d00232cfd555796b gst-plugins-good-1.18.5.tar.xz
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
@@ -0,0 +1,493 @@
################################################################################
#
# gst1-plugins-good
#
################################################################################
GST1_PLUGINS_GOOD_VERSION = 1.18.5
GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz
GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good
GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING
GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+
GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
GST1_PLUGINS_GOOD_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled \
-Dasm=disabled \
-Ddirectsound=disabled \
-Dwaveform=disabled \
-Drpicamsrc=disabled \
-Dosxaudio=disabled \
-Dosxvideo=disabled \
-Daalib=disabled \
-Dlibcaca=disabled \
-Ddoc=disabled
# Options which require currently unpackaged libraries
GST1_PLUGINS_GOOD_CONF_OPTS += \
-Ddv=disabled \
-Ddv1394=disabled
GST1_PLUGINS_GOOD_DEPENDENCIES = \
gstreamer1 \
gst1-plugins-base \
$(TARGET_NLS_DEPENDENCIES)
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += jack2
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=disabled
endif
ifeq ($(BR2_PACKAGE_LIBV4L),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libv4l
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=disabled
endif
ifeq ($(BR2_PACKAGE_ORC),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dorc=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += orc
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Davi=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Davi=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += lame
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += mpg123
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Doss=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Doss=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += qt5declarative
ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
GST1_PLUGINS_GOOD_DEPENDENCIES += qt5x11extras
endif
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libshout
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=enabled
# Enable use of gudev if available, for device probing and monitoring.
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
GST1_PLUGINS_GOOD_DEPENDENCIES += libgudev
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=disabled
endif
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=true
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=false
endif
ifeq ($(BR2_PACKAGE_XORG7),y)
GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc=enabled
ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXfixes
GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xfixes=enabled
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y)
GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXdamage
GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xdamage=enabled
endif
else
GST1_PLUGINS_GOOD_CONF_OPTS += \
-Dximagesrc=disabled \
-Dximagesrc-xfixes=disabled \
-Dximagesrc-xdamage=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += cairo
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += flac
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += jpeg
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libpng
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += speex
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += taglib
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += twolame
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB),y)
GST1_PLUGINS_GOOD_DEPENDENCIES += zlib
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += bzip2
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=disabled
endif
$(eval $(meson-package))
@@ -0,0 +1,61 @@
menuconfig BR2_PACKAGE_GST1_PLUGINS_UGLY
bool "gst1-plugins-ugly"
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
A set of well-supported plug-ins for GStreamer, but might pose
problems for distributors.
https://gstreamer.freedesktop.org/
if BR2_PACKAGE_GST1_PLUGINS_UGLY
comment "dependency-less plugins"
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX
bool "asfdemux"
help
Demuxes and muxes audio and video in Microsofts ASF format
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC
bool "dvdlpcmdec"
help
Decode DVD LPCM frames into standard PCM
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB
bool "dvdsub"
help
DVD subtitle parser and decoder
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX
bool "xingmux"
help
Add XING tags to mpeg audio files
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA
bool "realmedia"
help
RealMedia support plugins
comment "plugins with external dependencies (there may be more available)"
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD
bool "dvdread"
select BR2_PACKAGE_LIBDVDREAD
help
Access a DVD with dvdread
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC
bool "mpeg2dec"
select BR2_PACKAGE_LIBMPEG2
help
LibMpeg2 decoder
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264
bool "x264"
select BR2_PACKAGE_X264
help
x264 encoder
# Note: to get descriptions use the following.
# # find . -name 'plugin-*.xml' | xargs grep -m 1 description
endif
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.18.5.tar.xz.sha256sum
sha256 df32803e98f8a9979373fa2ca7e05e62f977b1097576d3a80619d9f5c69f66d9 gst-plugins-ugly-1.18.5.tar.xz
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
@@ -0,0 +1,98 @@
################################################################################
#
# gst1-plugins-ugly
#
################################################################################
GST1_PLUGINS_UGLY_VERSION = 1.18.5
GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz
GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly
GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING
# GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled.
GST1_PLUGINS_UGLY_LICENSE = LGPL-2.1+
GST1_PLUGINS_UGLY_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
GST1_PLUGINS_UGLY_CONF_OPTS += \
-Dtests=disabled \
-Ddoc=disabled
GST1_PLUGINS_UGLY_CONF_OPTS += \
-Da52dec=disabled \
-Damrnb=disabled \
-Damrwbdec=disabled \
-Dcdio=disabled \
-Dsidplay=disabled
GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base
ifeq ($(BR2_PACKAGE_ORC),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=enabled
GST1_PLUGINS_UGLY_DEPENDENCIES += orc
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=enabled
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=enabled
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=enabled
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=enabled
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=enabled
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=enabled
GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=enabled
GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264),y)
GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=enabled
GST1_PLUGINS_UGLY_DEPENDENCIES += x264
GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
else
GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=disabled
endif
# Add GPL license if GPL plugins enabled.
ifeq ($(GST1_PLUGINS_UGLY_HAS_GPL_LICENSE),y)
GST1_PLUGINS_UGLY_LICENSE += , GPL-2.0
endif
# Use the following command to extract license info for plugins.
# # find . -name 'plugin-*.xml' | xargs grep license
$(eval $(meson-package))
+26
View File
@@ -0,0 +1,26 @@
config BR2_PACKAGE_GST1_PYTHON
bool "gst1-python"
depends on BR2_USE_MMU # libglib2, gobject-introspection
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection
depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection
depends on BR2_PACKAGE_PYTHON3 # gobject-introspection
select BR2_PACKAGE_GOBJECT_INTROSPECTION
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_PYTHON_GOBJECT
help
GStreamer python overrides for the gobject-introspection-based
pygst bindings.
https://gstreamer.freedesktop.org/modules/gst-python.html
comment "gst1-python needs python3"
depends on !BR2_PACKAGE_PYTHON3
comment "gst1-python needs a glibc toolchain, gcc >= 4.9, host gcc >= 8"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_8
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.5.tar.xz.sha256sum
sha256 533685871305959d6db89507f3b3aa6c765c2f2b0dacdc32c5a6543e72e5bc52 gst-python-1.18.5.tar.xz
sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING
@@ -0,0 +1,39 @@
################################################################################
#
# gst1-python
#
################################################################################
GST1_PYTHON_VERSION = 1.18.5
GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz
GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python
GST1_PYTHON_INSTALL_STAGING = YES
GST1_PYTHON_LICENSE_FILES = COPYING
GST1_PYTHON_LICENSE = LGPL-2.1+
GST1_PYTHON_DEPENDENCIES = \
gst1-plugins-base \
gstreamer1 \
python-gobject
# A sysconfigdata_name must be manually specified or the resulting .so
# will have a x86_64 prefix, which causes "from gi.repository import Gst"
# to fail. A pythonpath must be specified or the host python path will be
# used resulting in a "not a valid python" error.
GST1_PYTHON_CONF_ENV += \
_PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \
PYTHONPATH=$(PYTHON3_PATH)
# Due to the CONF_ENV options, libpython-dir must be set manually
# or else the error: "Python dynamic library path could not be determined"
# occurs. We set the libpython-dir to /usr/lib as this path is hard-coded
# into the resulting .so file as /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so.
# Because we provide PYTHONPATH=$(PYTHON3_PATH) above, the logic in the meson
# file uses the above python path to determine if /usr/lib/ has the proper .so
# file. Because Buildroot provides the appropriate paths, the meson file finds
# the correct .so file, and the resulting compiled library has the appropriate
# path of /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so
GST1_PYTHON_CONF_OPTS += \
-Dlibpython-dir=/usr/lib/
$(eval $(meson-package))
@@ -0,0 +1,12 @@
config BR2_PACKAGE_GST1_RTSP_SERVER
bool "gst1-rtsp-server"
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP # runtime
select BR2_PACKAGE_GST1_PLUGINS_GOOD
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP # runtime
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER # runtime
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP # runtime
help
RTSP server library based on GStreamer.
https://gstreamer.freedesktop.org/
@@ -0,0 +1,4 @@
# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.18.5.tar.xz.sha256sum
sha256 04d63bf48816c6f41c73f6de0f912a7cef0aab39c44162a7bcece1923dfc9d1f gst-rtsp-server-1.18.5.tar.xz
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB
@@ -0,0 +1,50 @@
################################################################################
#
# gst1-rtsp-server
#
################################################################################
GST1_RTSP_SERVER_VERSION = 1.18.5
GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz
GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server
GST1_RTSP_SERVER_LICENSE = LGPL-2.0+
GST1_RTSP_SERVER_LICENSE_FILES = COPYING COPYING.LIB
GST1_RTSP_SERVER_CPE_ID_VENDOR = gstreamer_project
GST1_RTSP_SERVER_CPE_ID_PRODUCT = gst-rtsp-server
GST1_RTSP_SERVER_INSTALL_STAGING = YES
GST1_RTSP_SERVER_DEPENDENCIES = \
host-pkgconf \
gstreamer1 \
gst1-plugins-base \
gst1-plugins-good
GST1_RTSP_SERVER_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
GST1_RTSP_SERVER_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Ddoc=disabled
GST1_RTSP_SERVER_CONF_OPTS += \
-Dexamples=disabled \
-Dtests=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=enabled
GST1_RTSP_SERVER_DEPENDENCIES += gobject-introspection
else
GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=disabled
endif
ifeq ($(BR2_PACKAGE_LIBCGROUP),y)
GST1_RTSP_SERVER_DEPENDENCIES += libcgroup
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD),y)
GST1_RTSP_SERVER_DEPENDENCIES += gst1-plugins-bad
endif
$(eval $(meson-package))
+13
View File
@@ -0,0 +1,13 @@
config BR2_PACKAGE_GST1_SHARK
bool "gst1-shark"
select BR2_PACKAGE_GSTREAMER1_CHECK
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
select BR2_PACKAGE_GSTREAMER1_GST_DEBUG # gst_debug_log_valist, GST_CAT_STATES
help
GstShark leverages GStreamers newest instrumentation subsystem
by installing a set of custom hooks to the trace points. A
variety of data analytics are extracted and presented to the
user in a graphical, friendly way.
https://github.com/RidgeRun/gst-shark
@@ -0,0 +1,5 @@
# locally computed hash
sha256 689e60b4e10635a4f3af795b53045c6e90643896fa07b61e164a96158a79bdcf gst1-shark-v0.7.3-br1.tar.gz
# Hashes for license files:
sha256 6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b COPYING
@@ -0,0 +1,19 @@
################################################################################
#
# gst1-shark
#
################################################################################
GST1_SHARK_VERSION = v0.7.3
GST1_SHARK_SITE = https://github.com/RidgeRun/gst-shark.git
GST1_SHARK_SITE_METHOD = git
GST1_SHARK_GIT_SUBMODULES = YES
GST1_SHARK_LICENSE = LGPL-2.1+
GST1_SHARK_LICENSE_FILES = COPYING
GST1_SHARK_AUTORECONF = YES
GST1_SHARK_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
GST1_SHARK_CONF_OPTS = --disable-graphviz
$(eval $(autotools-package))
+50
View File
@@ -0,0 +1,50 @@
config BR2_PACKAGE_GST1_VAAPI
bool "gst1-vaapi"
depends on !BR2_STATIC_LIBS # dlopen(), libva
depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_LIBVA
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers
help
gstreamer-vaapi consists in a collection of VA-API based
plugins for GStreamer and helper libraries.
vaapi<CODEC>dec is used to decode JPEG, MPEG-2, MPEG-4:2,
H.264 AVC, H.264 MVC, VP8, VC-1, WMV3, HEVC videos to VA
surfaces, depending on the actual value of <CODEC> and the
underlying hardware capabilities. This plugin is also able
to implicitly download the decoded surface to raw YUV
buffers.
vaapi<CODEC>enc is used to encode into MPEG-2, H.264 AVC,
H.264 MVC, JPEG, VP8, HEVC videos, depending on the actual
value of <CODEC> (mpeg2, h264, etc.) and the hardware
capabilities. By default, raw format bitstreams are
generated, so the result may be piped to a muxer, e.g. qtmux
for MP4 containers.
vaapipostproc is used to filter VA surfaces, for
e.g. scaling, deinterlacing (bob, motion-adaptive,
motion-compensated), noise reduction or sharpening. This
plugin is also used to upload raw YUV pixels into VA
surfaces.
vaapisink is used to render VA surfaces to an X11 or Wayland
display. This plugin also features a "headless" mode (DRM)
more suited to remote transcode scenarios, with faster
throughput.
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi
if BR2_PACKAGE_GST1_VAAPI
config BR2_PACKAGE_GST1_VAAPI_ENCODERS
bool "enable encoders"
endif
comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_PACKAGE_HAS_UDEV
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.18.5.tar.xz.sha256sum
sha256 4a460fb95559f41444eb24864ad2d9e37922b6eea941510310319fc3e0ba727b gstreamer-vaapi-1.18.5.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
@@ -0,0 +1,36 @@
################################################################################
#
# gst1-vaapi
#
################################################################################
GST1_VAAPI_VERSION = 1.18.5
GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
GST1_VAAPI_LICENSE = LGPL-2.1+
GST1_VAAPI_LICENSE_FILES = COPYING.LIB
GST1_VAAPI_DEPENDENCIES += \
gstreamer1 \
gst1-plugins-base \
gst1-plugins-bad \
libva \
libdrm
GST1_VAAPI_CONF_OPTS += \
-Dwith_drm=yes \
-Dwith_x11=no \
-Dwith_glx=no \
-Dwith_wayland=no \
-Dwith_egl=no \
-Dexamples=disabled \
-Dtests=disabled \
-Ddoc=disabled
ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
GST1_VAAPI_CONF_OPTS += -Dwith_encoders=yes
else
GST1_VAAPI_CONF_OPTS += -Dwith_encoders=no
endif
$(eval $(meson-package))
@@ -0,0 +1,27 @@
From f1c953b9077619a83ab21c24dc343c7e21cd220d Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Tue, 14 Sep 2021 01:46:25 -0600
Subject: [PATCH] Fix gstd_chmod.sh DESTDIR path.
This should fix the chmod path when cross compiling.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Upstream status:
https://github.com/RidgeRun/gstd-1.x/pull/247]
---
gstd/gstd_chmod.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gstd/gstd_chmod.sh b/gstd/gstd_chmod.sh
index 8e58bce..fa7fa80 100755
--- a/gstd/gstd_chmod.sh
+++ b/gstd/gstd_chmod.sh
@@ -3,4 +3,4 @@
# $1 mode
# $2 file
-chmod $1 $2
+chmod $1 ${DESTDIR}/$2
--
2.25.1
@@ -0,0 +1,33 @@
From 586bb97459e72da30bd9991c228b6b8e9251c68b Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Tue, 14 Sep 2021 01:49:49 -0600
Subject: [PATCH] Don't require gstreamer-check-1.0 unless tests are enabled.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Upstream status:
https://github.com/RidgeRun/gstd-1.x/pull/248]
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 1d9ce9d..76990a0 100644
--- a/meson.build
+++ b/meson.build
@@ -22,10 +22,12 @@ gio_unix_dep = dependency('gio-unix-2.0', version : '>=2.44.1')
json_glib_dep = dependency('json-glib-1.0', version : '>=0.16.2')
libd_dep = dependency('libdaemon', version : '>=0.14')
jansson_dep = dependency('jansson', version : '>=2.7')
-gst_check_dep = dependency('gstreamer-check-1.0',version : '>=1.0.5')
thread_dep = dependency('threads')
libsoup_dep = dependency('libsoup-2.4', version : '>=2.4')
+gst_check_required = get_option('enable-tests').enabled()
+gst_check_dep = dependency('gstreamer-check-1.0', required : gst_check_required, version : '>=1.0.5')
+
systemd_required = get_option('enable-systemd').enabled()
systemd_dep = dependency('systemd', required : systemd_required, version : '>=232')
--
2.25.1
@@ -0,0 +1,38 @@
From a670beca8dcc76171dcfe3f10970d76c6f0439be Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Tue, 14 Sep 2021 02:49:10 -0600
Subject: [PATCH] Use relative symlink for gstd/gst-client exe.
This should fix the symlink path when cross compiling.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Upstream status:
https://github.com/RidgeRun/gstd-1.x/pull/249]
---
gst_client/gst_client_symbolic_link.sh | 2 +-
gstd/gstd_symbolic_link.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst_client/gst_client_symbolic_link.sh b/gst_client/gst_client_symbolic_link.sh
index d8d7617..b87dd12 100755
--- a/gst_client/gst_client_symbolic_link.sh
+++ b/gst_client/gst_client_symbolic_link.sh
@@ -4,4 +4,4 @@
# $1: target
# $2: link name
rm -f ${DESTDIR}${MESON_INSTALL_PREFIX}/$2
-ln -s ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2
+ln -s --relative ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2
diff --git a/gstd/gstd_symbolic_link.sh b/gstd/gstd_symbolic_link.sh
index d8d7617..b87dd12 100755
--- a/gstd/gstd_symbolic_link.sh
+++ b/gstd/gstd_symbolic_link.sh
@@ -4,4 +4,4 @@
# $1: target
# $2: link name
rm -f ${DESTDIR}${MESON_INSTALL_PREFIX}/$2
-ln -s ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2
+ln -s --relative ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2
--
2.25.1
@@ -0,0 +1,34 @@
From 05ae5237b1bc23399898f9c06463cfe2b5bba499 Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Tue, 14 Sep 2021 17:48:03 -0600
Subject: [PATCH] Don't require gstd-check-user-xenv.sh for systemd service
The gstd-check-user-xenv.sh script does not appear to be required
for running the gstd service so we shouldn't require it for the
service to start.
Note that the non-systemd init script already does not require this.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Upstream status:
https://github.com/RidgeRun/gstd-1.x/pull/251]
---
init/gstd.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/gstd.service.in b/init/gstd.service.in
index 3d20ecd..9125983 100644
--- a/init/gstd.service.in
+++ b/init/gstd.service.in
@@ -6,7 +6,7 @@ StartLimitIntervalSec=30
[Service]
Restart=on-failure
RestartSec=5s
-ExecStartPre=@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh
+ExecStartPre=-@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh
ExecStart=@prefix@/bin/gstd
[Install]
--
2.25.1
@@ -0,0 +1,78 @@
From 1067f6138e947d18fd835e4a39f229ae2293f864 Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Tue, 14 Sep 2021 23:37:03 -0600
Subject: [PATCH] Use native meson python module for python install.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/253]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
libgstc/meson.build | 4 +++-
libgstc/python/meson.build | 26 +++++++++++++++++++++++++-
meson_options.txt | 2 ++
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/libgstc/meson.build b/libgstc/meson.build
index e94dcd1..582cbb8 100644
--- a/libgstc/meson.build
+++ b/libgstc/meson.build
@@ -1,2 +1,4 @@
subdir('c')
-subdir('python')
+if not get_option('enable-python').disabled()
+ subdir('python')
+endif
diff --git a/libgstc/python/meson.build b/libgstc/python/meson.build
index 057114b..24e3242 100644
--- a/libgstc/python/meson.build
+++ b/libgstc/python/meson.build
@@ -1 +1,25 @@
-run_command('pip3', 'install', '.')
+pymod = import('python')
+python = pymod.find_installation(
+ get_option('with-python-version'),
+ required : get_option('enable-python').enabled(),
+ disabler : true
+)
+
+pythonver = python.language_version()
+if pythonver.version_compare('<3.7')
+ error('Python @0@ is not supported anymore, please port your code to python3.7 or newer.'.format(python.language_version()))
+endif
+
+pygstc_src_files = [
+ 'pygstc/__init__.py',
+ 'pygstc/gstc.py',
+ 'pygstc/gstcerror.py',
+ 'pygstc/logger.py',
+ 'pygstc/tcp.py'
+]
+
+python.install_sources(
+ pygstc_src_files,
+ subdir : 'pygstc',
+ pure : true
+)
diff --git a/meson_options.txt b/meson_options.txt
index f50e540..25292e6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,6 +4,7 @@ option('enable-examples', type : 'feature', value : 'auto', yield : true, descri
option('enable-gtk-doc', type : 'boolean', value : false, description : 'Use gtk-doc to build documentation')
option('enable-systemd', type : 'feature', value : 'auto', description : 'Enable systemd gstd.service install')
option('enable-initd', type : 'feature', value : 'disabled', description : 'Enable init script install')
+option('enable-python', type : 'feature', value : 'auto', description : 'Install the pygstc library')
# String options
option('with-gstd-runstatedir', type : 'string', value : '${prefix}/var/run/gstd', description : 'Specify the location of the gstd\'s PID file')
@@ -11,6 +12,7 @@ option('with-gstd-logstatedir', type : 'string', value : '${prefix}/var/log/gstd
option('with-gstd-systemddir', type : 'string', value : 'Systemd default systemduserunitdir', description : 'Specify the location of gstd.service file')
option('with-gstd-initddir', type : 'string', value : '${sysconfdir}/init.d', description : 'Specify the location of gstd init script')
option('with-statedir-owner', type : 'string', value : 'root', description : 'Specify the owner of gstd\'s run and log dirs created by the initd script')
+option('with-python-version', type : 'string', value : 'python3', description : 'Specify the python version for pygstc installation')
# Common options
option('package-name', type : 'string', yield : true,
--
2.25.1
+18
View File
@@ -0,0 +1,18 @@
config BR2_PACKAGE_GSTD
bool "gstd"
depends on BR2_USE_WCHAR # libglib2 -> gettext, libsoup
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libsoup
depends on BR2_USE_MMU # libdaemon, libglib2
select BR2_PACKAGE_GSTREAMER1_GST_DEBUG # gst_debug_bin_to_dot_data
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_LIBDAEMON
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBSOUP
select BR2_PACKAGE_READLINE
help
GStreamer Daemon, also called gstd, is a GStreamer framework
for controlling audio and video streaming using an
InterProcess Communication protocol.
https://developer.ridgerun.com/wiki/index.php?title=GStreamer_Daemon
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 94c10c798d3618b63cc68cbe053fabd19335a57f982a47b3d66c27c37d325da3 gstd-0.13.0.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
+38
View File
@@ -0,0 +1,38 @@
################################################################################
#
# gstd
#
################################################################################
GSTD_VERSION = 0.13.0
GSTD_SITE = $(call github,RidgeRun,gstd-1.x,v$(GSTD_VERSION))
GSTD_LICENSE_FILES = COPYING
GSTD_LICENSE = GPL-2.0+
GSTD_DEPENDENCIES = \
$(BR2_COREUTILS_HOST_DEPENDENCY) \
gstreamer1 \
jansson \
json-glib \
libdaemon \
libglib2 \
libsoup \
readline
GSTD_CONF_OPTS = \
-Denable-tests=disabled \
-Denable-examples=disabled \
-Denable-gtk-doc=false \
-Denable-python=disabled \
-Dwith-gstd-runstatedir=/var/run/gstd \
-Dwith-gstd-logstatedir=/var/log/gstd \
-Dwith-gstd-systemddir=/usr/lib/systemd/system
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled
GSTD_DEPENDENCIES += systemd
else
GSTD_CONF_OPTS += -Denable-systemd=disabled -Denable-initd=enabled
endif
$(eval $(meson-package))
@@ -0,0 +1,18 @@
config BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES
bool "gstreamer1-editing-services"
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_GOOD
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME # runtime
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE # runtime
help
GStreamer Editing Services is a high-level library for
facilitating the creation of audio/video non-linear editors.
https://gstreamer.freedesktop.org
@@ -0,0 +1,6 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.18.5.tar.xz.sha256sum
sha256 8af4a8394d051f3e18280686db49a6efaccc95c0c59a17f0f564e32000590df5 gst-editing-services-1.18.5.tar.xz
# Hashes for license files:
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB
@@ -0,0 +1,37 @@
################################################################################
#
# gstreamer1-editing-services
#
################################################################################
GSTREAMER1_EDITING_SERVICES_VERSION = 1.18.5
GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz
GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services
GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+
GSTREAMER1_EDITING_SERVICES_LICENSE_FILES = COPYING COPYING.LIB
GSTREAMER1_EDITING_SERVICES_INSTALL_STAGING = YES
GSTREAMER1_EDITING_SERVICES_DEPENDENCIES = \
host-pkgconf \
gstreamer1 \
gst1-plugins-base \
gst1-plugins-good \
libxml2
GSTREAMER1_EDITING_SERVICES_CONF_OPTS = \
-Ddoc=disabled \
-Dexamples=disabled \
-Dintrospection=disabled \
-Dtests=disabled \
-Dtools=enabled \
-Dbash-completion=disabled \
-Dxptv=disabled \
-Dpython=disabled
ifeq ($(BR2_PACKAGE_GST1_DEVTOOLS),y)
GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += gst1-devtools
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=enabled
else
GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=disabled
endif
$(eval $(meson-package))
@@ -0,0 +1,44 @@
From 0c0b5f8cef3b1f0a06f56c34340e210e0f23d1b0 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Tue, 13 Jul 2021 10:32:30 +0000
Subject: [PATCH] Fix build against glib 2.68
volatile has been misused in the past
[Retrieved from:
https://gitlab.gnome.org/GNOME/gstreamermm/-/merge_requests/4]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
gstreamer/gstreamermm/register.h | 2 +-
tests/integration/test-integration-seekonstartup.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gstreamer/gstreamermm/register.h b/gstreamer/gstreamermm/register.h
index db66d172..a7ab3a63 100644
--- a/gstreamer/gstreamermm/register.h
+++ b/gstreamer/gstreamermm/register.h
@@ -110,7 +110,7 @@ register_mm_type(const gchar * type_name)
/* The typedef for GType may be gulong or gsize, depending on the
* system and whether the compiler is c++ or not. The g_once_init_*
* functions always take a gsize * though ... */
- static volatile gsize gonce_data = 0;
+ static gsize gonce_data = 0;
if (g_once_init_enter (&gonce_data)) {
GTypeInfo info;
diff --git a/tests/integration/test-integration-seekonstartup.cc b/tests/integration/test-integration-seekonstartup.cc
index 247ac499..cd43a125 100644
--- a/tests/integration/test-integration-seekonstartup.cc
+++ b/tests/integration/test-integration-seekonstartup.cc
@@ -18,7 +18,7 @@ RefPtr<Glib::MainLoop> mainloop;
RefPtr<Bus> bus;
RefPtr<Pipeline> pipeline;
RefPtr<Pad> sink_pad;
-static volatile gint counter;
+static gint counter;
bool prerolled = false;
gboolean was_check = 0;
--
GitLab
@@ -0,0 +1,29 @@
config BR2_PACKAGE_GSTREAMER1_MM
bool "gstreamer1-mm"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm
depends on BR2_INSTALL_LIBSTDCPP # glibmm
depends on BR2_USE_WCHAR # glibmm -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # glibmm -> libglib2
select BR2_PACKAGE_GLIBMM
select BR2_PACKAGE_GSTREAMER1_CHECK
select BR2_PACKAGE_GST1_PLUGINS_BASE
help
gstreamermm provides C++ bindings for the GStreamer streaming
multimedia library (http://gstreamer.freedesktop.org). With
gstreamermm it is possible to develop applications that work
with multimedia in C++.
gstreamermm is developed over glibmm, libsigc++ and libxml++
and the functionalities they provide. This means that, among
other things, referencing and unreferencing of GObjects is
handled automatically via glibmm's automatic pointer class,
Glib::RefPtr, and libsigc++'s slots are used for callbacks and
signals.
https://gstreamer.freedesktop.org/bindings/cplusplus.html
comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
@@ -0,0 +1,6 @@
# From http://ftp.gnome.org/pub/gnome/sources/gstreamermm/1.10/gstreamermm-1.10.0.sha256sum
sha256 be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60 gstreamermm-1.10.0.tar.xz
# Locally computed
sha256 7c78a8d7fc6781d51402d5a6036bedda9cffb0e5d28757e25d54d6eacbb1949f COPYING
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.examples
@@ -0,0 +1,24 @@
################################################################################
#
# gstreamer1-mm
#
################################################################################
GSTREAMER1_MM_VERSION_MAJOR = 1.10
GSTREAMER1_MM_VERSION = $(GSTREAMER1_MM_VERSION_MAJOR).0
GSTREAMER1_MM_SITE = http://ftp.gnome.org/pub/gnome/sources/gstreamermm/$(GSTREAMER1_MM_VERSION_MAJOR)
GSTREAMER1_MM_SOURCE = gstreamermm-$(GSTREAMER1_MM_VERSION).tar.xz
GSTREAMER1_MM_LICENSE = LGPL-2.1+ (library), GPL-2.0 (examples)
GSTREAMER1_MM_LICENSE_FILES = COPYING COPYING.examples
GSTREAMER1_MM_INSTALL_STAGING = YES
GSTREAMER1_MM_DEPENDENCIES += \
glibmm \
gstreamer1 \
gst1-plugins-base
GSTREAMER1_MM_CONF_OPTS += \
--disable-gl \
--enable-unittests=no \
--disable-deprecated-api
$(eval $(autotools-package))
+1
View File
@@ -0,0 +1 @@
include $(sort $(wildcard package/gstreamer1/*/*.mk))
+61
View File
@@ -0,0 +1,61 @@
comment "gstreamer 1.x needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_GSTREAMER1
bool "gstreamer 1.x"
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
select BR2_PACKAGE_LIBGLIB2
help
GStreamer is an open source multimedia framework. This 1.x
version of Gstreamer is incompatible with Gstreamer 0.10.x.
https://gstreamer.freedesktop.org/
if BR2_PACKAGE_GSTREAMER1
config BR2_PACKAGE_GSTREAMER1_CHECK
bool "enable unit test libraries"
help
Enable building unit test libraries for gstreamer.
config BR2_PACKAGE_GSTREAMER1_PARSE
bool "enable command-line parser"
default y
help
Enable command line parser for gstreamer. This may increase
the CPU overhead by a small amount.
config BR2_PACKAGE_GSTREAMER1_TRACE
bool "enable tracing subsystem"
default y
help
Enable the tracing subsystem within gstreamer. This may
increase CPU overhead by a small amount.
config BR2_PACKAGE_GSTREAMER1_GST_DEBUG
bool "enable gst-debug trace support"
default y
help
Enable support for the gst-debug tracing functionality in
gstreamer. This has limited CPU overhead, but does increase
the rootfs size somewhat.
config BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY
bool "enable plugin registry"
default y
help
Enable support for the GStreamer plugin registry. This may
increase the launch-time for a GStreamer application.
config BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS
bool "install tools"
default y
help
Install the gst-inspect, gst-launch, gst-stats and
gst-typefind tools. This will take up additional space on
the target.
endif
@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.18.5.tar.xz.sha256sum
sha256 55862232a63459bbf56abebde3085ca9aec211b478e891dacea4d6df8cafe80a gstreamer-1.18.5.tar.xz
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
@@ -0,0 +1,62 @@
################################################################################
#
# gstreamer1
#
################################################################################
GSTREAMER1_VERSION = 1.18.5
GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz
GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer
GSTREAMER1_INSTALL_STAGING = YES
GSTREAMER1_LICENSE_FILES = COPYING
GSTREAMER1_LICENSE = LGPL-2.0+, LGPL-2.1+
GSTREAMER1_CPE_ID_VENDOR = gstreamer_project
GSTREAMER1_CPE_ID_PRODUCT = gstreamer
GSTREAMER1_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Dbenchmarks=disabled \
-Dtools=$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),enabled,disabled) \
-Dgtk_doc=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled \
-Dextra-checks=disabled \
-Dcheck=$(if $(BR2_PACKAGE_GSTREAMER1_CHECK),enabled,disabled) \
-Dtracer_hooks=$(if $(BR2_PACKAGE_GSTREAMER1_TRACE),true,false) \
-Doption-parsing=$(if $(BR2_PACKAGE_GSTREAMER1_PARSE),true,false) \
-Dgst_debug=$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),true,false) \
-Dgst_parse=true \
-Dregistry=$(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),true,false) \
-Ddoc=disabled
GSTREAMER1_DEPENDENCIES = \
host-bison \
host-flex \
host-pkgconf \
libglib2 \
$(if $(BR2_PACKAGE_LIBUNWIND),libunwind) \
$(if $(BR2_PACKAGE_VALGRIND),valgrind) \
$(TARGET_NLS_DEPENDENCIES)
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GSTREAMER1_CONF_OPTS += -Dintrospection=enabled
GSTREAMER1_DEPENDENCIES += gobject-introspection
else
GSTREAMER1_CONF_OPTS += -Dintrospection=disabled
endif
GSTREAMER1_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
# By default, girdir uses datadir as its prefix of which pkg-config will not
# append the sysroot directory. This results in a build failure with
# gst1-plugins-base. Changing prefix to ${libdir}/../share prevents this error.
define GSTREAMER1_FIX_GIRDIR
$(SED) "s%girdir=.*%girdir=\$${libdir}/../share/gir-1.0%g" \
$(STAGING_DIR)/usr/lib/pkgconfig/gstreamer-1.0.pc \
$(STAGING_DIR)/usr/lib/pkgconfig/gstreamer-base-1.0.pc
endef
GSTREAMER1_POST_INSTALL_STAGING_HOOKS += GSTREAMER1_FIX_GIRDIR
$(eval $(meson-package))