Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Gstreamer 1.x & Plugins
source "package/gstreamer1/gstreamer1/Config.in"
if BR2_PACKAGE_GSTREAMER1
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/gstd/Config.in"
source "package/gstreamer1/gstreamer1-editing-services/Config.in"
endif

View File

@@ -0,0 +1,16 @@
config BR2_PACKAGE_GST1_DEVTOOLS
bool "gst1-devtools"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_GSTREAMER1_CHECK
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_PYTHON3_PYEXPAT
# 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_PYTHON3

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.24.13.tar.xz.sha256sum
sha256 2485b30dfb94b65e2e4befb0b9367fbecbfcf2102b24fa9138df4403497e7b73 gst-devtools-1.24.13.tar.xz
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING

View File

@@ -0,0 +1,40 @@
################################################################################
#
# gst1-devtools
#
################################################################################
GST1_DEVTOOLS_VERSION = 1.24.13
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 = \
host-python3 \
python3 \
gstreamer1 \
gst1-plugins-base \
json-glib
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
# build GstValidateVideo
ifeq ($(BR2_PACKAGE_CAIRO),y)
GST1_DEVTOOLS_CONF_OPTS += -Dcairo=enabled
GST1_DEVTOOLS_DEPENDENCIES += cairo
else
GST1_DEVTOOLS_CONF_OPTS += -Dcairo=disabled
endif
$(eval $(meson-package))

View File

@@ -0,0 +1,104 @@
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"
depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
select BR2_PACKAGE_GST1_PLUGINS_BAD
help
Elements for V4L2 capture
comment "imxv4l2videosrc needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK
bool "imxv4l2videosink"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT
depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
select BR2_PACKAGE_GST1_PLUGINS_BAD
help
Elements for V4L2 output
comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \
!BR2_INSTALL_LIBSTDCPP
endif

View File

@@ -0,0 +1,3 @@
# locally computed hash
sha256 21feb24130c18e4a1f8cc4f72d575903d1f9134dd0604e41e91b5e783d81e320 gst1-imx-0.13.1.tar.gz
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 LICENSE

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))

View File

@@ -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

View File

@@ -0,0 +1,5 @@
# locally computed hash
sha256 c8614f53c65aea9086cfa64803ceb0617e5ef699413a1effbb68aaea23ca0c1c gst1-interpipe-v1.1.8-git4.tar.gz
# Hashes for license files:
sha256 16d7caa6cabbfd0ca47e064a7b48cb446d013e84ca88c854d6470851752136d5 COPYING

View File

@@ -0,0 +1,22 @@
################################################################################
#
# gst1-interpipe
#
################################################################################
GST1_INTERPIPE_VERSION = v1.1.8
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))

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_GST1_LIBAV
bool "gst1-libav"
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS # ffmpeg
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/
comment "gst1-libav needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.24.13.tar.xz.sha256sum
sha256 150e2b70588fa32a1294f42665756f2175417ce4b5988e2c2081b683719aa6c1 gst-libav-1.24.13.tar.xz
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING

View File

@@ -0,0 +1,15 @@
################################################################################
#
# gst1-libav
#
################################################################################
GST1_LIBAV_VERSION = 1.24.13
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.1+
GST1_LIBAV_LICENSE_FILES = COPYING
GST1_LIBAV_DEPENDENCIES = host-pkgconf ffmpeg gstreamer1 gst1-plugins-base
GST1_LIBAV_CONF_OPTS = -Ddoc=disabled
$(eval $(meson-package))

View File

@@ -0,0 +1,756 @@
menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD
bool "gst1-plugins-bad"
depends on BR2_INSTALL_LIBSTDCPP
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_CODECALPHA
bool "codecalpha"
help
Elements for VP8/VP9 alpha support (codecalphademux,
alphacombine, vp8alphadecodebin, vp9alphadecodebin)
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_AES
bool "aes"
select BR2_PACKAGE_OPENSSL
help
"AES encryption/decryption plugin"
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_9 # libass -> harfbuzz
select BR2_PACKAGE_LIBASS
comment "assrender plugin needs a toolchain w/ C++, gcc >= 4.9"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
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_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_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_USE_MMU # pango -> glib2
depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # 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++, gcc >= 4.9"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
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_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_9
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
select BR2_PACKAGE_OPENAL
comment "openal plugin needs a toolchain w/ NPTL, C++, gcc >= 9"
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_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_QROVERLAY
bool "qroverlay"
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_LIBQRENCODE
help
Elements qroverlay, debugqroverlay (overlay data on top of
video in the form of a QR code)
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_9 # librsvg -> pango -> harfbuzz
select BR2_PACKAGE_LIBRSVG
help
RSVG plugin library
comment "rsvg plugin needs a toolchain w/ C++, gcc >= 4.9"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
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_UVCH264
bool "uvch264"
depends on BR2_PACKAGE_HAS_UDEV # libgudev
depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
depends on BR2_USE_MMU # libgudev
depends on BR2_USE_WCHAR # libgudev
select BR2_PACKAGE_LIBGUDEV
select BR2_PACKAGE_LIBUSB
help
UVC compliant H.264 camera source plugin
comment "uvch264 needs udev /dev management"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV
comment "uvch264 needs a toolchain w/ threads, wchar, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VA
bool "va"
depends on !BR2_STATIC_LIBS # libva
depends on BR2_TOOLCHAIN_HAS_THREADS # libva
select BR2_PACKAGE_LIBVA
help
VA-API new plugin
comment "va needs a toolchain w/ threads, dynamic library"
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
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
select BR2_PACKAGE_WEBP_MUX
help
Webp image format plugin
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
bool "webrtc"
depends on !BR2_STATIC_LIBS # libnice -> gnutls
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # gst1-plugins-bad sctp
select BR2_PACKAGE_GST1_PLUGINS_BASE # libgstsdp
select BR2_PACKAGE_LIBNICE
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP
help
WebRTC plugins (webrtcbin - a bin for webrtc connections)
comment "webrtc needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
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_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
help
WebRTC echo-cancellation, gain control and noise suppression
comment "webrtcdsp needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 8"
depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_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
comment "v4l2codecs need udev /dev management"
depends on !BR2_PACKAGE_HAS_UDEV
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
config BR2_PACKAGE_GST1_PLUGINS_BAD_ZXING
bool "zxing"
depends on !BR2_STATIC_LIBS # zxing-cpp
depends on BR2_USE_WCHAR # zxing-cpp
depends on BR2_INSTALL_LIBSTDCPP # zxing-cpp
depends on BR2_TOOLCHAIN_HAS_THREADS # zxing-cpp
select BR2_PACKAGE_ZXING_CPP
comment "zxing plugin needs a toolchain w/ C++, wchar, dynamic library, threads"
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
endif
comment "gst1-plugins-bad needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.24.13.tar.xz.sha256sum
sha256 3cbe7d7cec5db958781f7ab66caa5afd67b133c223fde71f0403277731f0cc4d gst-plugins-bad-1.24.13.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING

View File

@@ -0,0 +1,844 @@
################################################################################
#
# gst1-plugins-bad
#
################################################################################
GST1_PLUGINS_BAD_VERSION = 1.24.13
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 += \
-Daja=disabled \
-Dasio=disabled \
-Davtp=disabled \
-Dopensles=disabled \
-Dmsdk=disabled \
-Dqsv=disabled \
-Dvoamrwbenc=disabled \
-Dbs2b=disabled \
-Dchromaprint=disabled \
-Dd3d11=disabled \
-Dd3d12=disabled \
-Ddc1394=disabled \
-Ddts=disabled \
-Ddwrite=disabled \
-Dresindvd=disabled \
-Dfaac=disabled \
-Dflite=disabled \
-Dgs=disabled \
-Dgsm=disabled \
-Dinsertbin=disabled \
-Dladspa=disabled \
-Dlc3=disabled \
-Dldac=disabled \
-Dlv2=disabled \
-Dmediafoundation=disabled \
-Dmse=disabled \
-Dmicrodns=disabled \
-Dlibde265=disabled \
-Dmodplug=disabled \
-Dmusepack=disabled \
-Dmplex=disabled \
-Donnx=disabled \
-Dopenexr=disabled \
-Dopenni2=disabled \
-Dteletext=disabled \
-Dwildmidi=disabled \
-Dsmoothstreaming=disabled \
-Dsoundtouch=disabled \
-Dsvtav1=disabled \
-Dgme=disabled \
-Dspandsp=disabled \
-Dsvthevcenc=disabled \
-Dtranscode=disabled \
-Dunixfd=disabled \
-Dudev=disabled \
-Duvcgadget=disabled \
-Dvulkan=disabled \
-Dx11=disabled \
-Dwasapi2=disabled \
-Dmagicleap=disabled \
-Disac=disabled \
-Diqa=disabled \
-Dopencv=disabled \
-Ddirectfb=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_CODECALPHA),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dcodecalpha=enabled
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dcodecalpha=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_AES),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Daes=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += openssl
else
GST1_PLUGINS_BAD_CONF_OPTS += -Daes=disabled
endif
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_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_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_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_QROVERLAY),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dqroverlay=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += json-glib libqrencode
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dqroverlay=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_UVCH264),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libgudev libusb
else
GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=disabled
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VA),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dva=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libva
ifeq ($(BR2_PACKAGE_LIBDRM),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Ddrm=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += libdrm
endif
else
GST1_PLUGINS_BAD_CONF_OPTS += \
-Ddrm=disabled \
-Dva=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
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_ZXING),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dzxing=enabled
GST1_PLUGINS_BAD_DEPENDENCIES += zxing-cpp
else
GST1_PLUGINS_BAD_CONF_OPTS += -Dzxing=disabled
endif
# Add GPL license if GPL licensed plugins enabled.
ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgpl=enabled
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))

View File

@@ -0,0 +1,295 @@
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_VIDEOCONVERTSCALE
bool "videoconvertscale (mandatory for video playback)"
default y
help
Colorspace conversion, resizes video
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_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
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 needs the opengl API and modular X.org"
depends on !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_XORG7
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW
comment "x11 needs a platform and X.org"
depends on !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
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_USE_WCHAR # pango -> glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> glib2
depends on BR2_USE_MMU # pango -> glib2
depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz
select BR2_PACKAGE_PANGO
help
Pango-based text rendering and overlay
comment "pango plugin needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
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

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.24.13.tar.xz.sha256sum
sha256 31a4a34e02df0471274fd0e8016495475b670320d20a3349faf0634340166c42 gst-plugins-base-1.24.13.tar.xz
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING

View File

@@ -0,0 +1,291 @@
################################################################################
#
# gst1-plugins-base
#
################################################################################
GST1_PLUGINS_BASE_VERSION = 1.24.13
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.1+
GST1_PLUGINS_BASE_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
GST1_PLUGINS_BASE_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled \
-Dqt5=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
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_VIDEOCONVERTSCALE),y)
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvertscale=enabled
else
GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvertscale=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_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))

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_GST1_PLUGINS_BAYER2RGB_NEON
bool "gst1-plugins-bayer2rgb-neon"
depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
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_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 e44fbe895310fd3fd0e43d02fadda3ad33bd00ec79159bf305c44f2919c68612 gst1-plugins-bayer2rgb-neon-v0.6.0-11-g7e06aa310805b1600d12f1d3bb0058aa02ab8f83-git4.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING

View File

@@ -0,0 +1,23 @@
################################################################################
#
# gst1-plugins-bayer2rgb-neon
#
################################################################################
GST1_PLUGINS_BAYER2RGB_NEON_VERSION = v0.6.0-11-g7e06aa310805b1600d12f1d3bb0058aa02ab8f83
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_DEPENDENCIES = \
host-pkgconf \
gstreamer1 \
gst1-plugins-base \
bayer2rgb-neon
GST1_PLUGINS_BAYER2RGB_NEON_AUTORECONF = YES
GST1_PLUGINS_BAYER2RGB_NEON_CONF_OPTS = --with-plugindir=/usr/lib/gstreamer-1.0
$(eval $(autotools-package))

View File

@@ -0,0 +1,438 @@
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_XINGMUX
bool "xingmux"
help
Add XING tags to mpeg audio files
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_ADAPTIVEMUX2
bool "adaptivedemux2 (Adaptive Streaming 2)"
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBSOUP3
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_QT5TOOLS
select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
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 # libsoup3 -> glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libsoup3 -> glib2
select BR2_PACKAGE_LIBSOUP3
help
libsoup3 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_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_USE_WCHAR
select BR2_PACKAGE_TAGLIB
help
Taglib tagging plugin library
comment "taglib needs a toolchain w/ C++, wchar, gcc >= 7"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_7
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_NPTL # 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

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.24.13.tar.xz.sha256sum
sha256 574ac6f9fd84b32eb04e80572391d6762df6f9802a47bc0386cd6cc48c14d08b gst-plugins-good-1.24.13.tar.xz
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING

View File

@@ -0,0 +1,509 @@
################################################################################
#
# gst1-plugins-good
#
################################################################################
GST1_PLUGINS_GOOD_VERSION = 1.24.13
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_CPE_ID_VENDOR = freedesktop
GST1_PLUGINS_GOOD_CPE_ID_PRODUCT = gst-plugins-good
GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
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 \
-Damrnb=disabled \
-Damrwbdec=disabled \
-Dsoup=disabled \
-Dximagesrc-navigation=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_ADAPTIVEMUX2),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dadaptivedemux2=enabled
GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup3 libxml2
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dadaptivedemux2=disabled
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_XINGMUX),y)
GST1_PLUGINS_GOOD_CONF_OPTS += -Dxingmux=enabled
else
GST1_PLUGINS_GOOD_CONF_OPTS += -Dxingmux=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 qt5tools
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 += libsoup3
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_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))

View File

@@ -0,0 +1,60 @@
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_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"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libdvdcss -> libdvdread
select BR2_PACKAGE_LIBDVDREAD
help
Access a DVD with dvdread
comment "dvdread needs a toolchain w/ gcc >= 8"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
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

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.24.13.tar.xz.sha256sum
sha256 dc08bb11dce0a43453466fb9034e4fe06709fb5af68475bcf6d288693b661a5d gst-plugins-ugly-1.24.13.tar.xz
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING

View File

@@ -0,0 +1,91 @@
################################################################################
#
# gst1-plugins-ugly
#
################################################################################
GST1_PLUGINS_UGLY_VERSION = 1.24.13
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 \
-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_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_CONF_OPTS += -Dgpl=enabled
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))

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

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.24.13.tar.xz.sha256sum
sha256 abb9a1edc11d67a463b6cef7b74a8b10ea6c342760c012d597102a7bfb7e09da gst-python-1.24.13.tar.xz
sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING

View File

@@ -0,0 +1,40 @@
################################################################################
#
# gst1-python
#
################################################################################
GST1_PYTHON_VERSION = 1.24.13
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/ \
-Dtests=disabled
$(eval $(meson-package))

View File

@@ -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/

View File

@@ -0,0 +1,4 @@
# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.24.13.tar.xz.sha256sum
sha256 e8dd102a3d1026414f0048daed91078e7958012b56efea7e45fe2b3448b42d6f gst-rtsp-server-1.24.13.tar.xz
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB

View File

@@ -0,0 +1,50 @@
################################################################################
#
# gst1-rtsp-server
#
################################################################################
GST1_RTSP_SERVER_VERSION = 1.24.13
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.1+
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))

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

View File

@@ -0,0 +1,4 @@
sha256 28817276848dcff7dcbf5ecd78a0b69f34d3dfcd08a07f5244d9405729f76b94 gst1-shark-v0.8.1-git4.tar.gz
# Hashes for license files:
sha256 6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b COPYING

View File

@@ -0,0 +1,19 @@
################################################################################
#
# gst1-shark
#
################################################################################
GST1_SHARK_VERSION = v0.8.1
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))

View File

@@ -0,0 +1,54 @@
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_INSTALL_LIBSTDCPP # gst1-plugins-bad
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
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
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, C++"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.24.13.tar.xz.sha256sum
sha256 b92c008841387043aec83b08b1fa8cf41e7866a106311a7d99e274e7d24ddc47 gstreamer-vaapi-1.24.13.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB

View File

@@ -0,0 +1,59 @@
################################################################################
#
# gst1-vaapi
#
################################################################################
GST1_VAAPI_VERSION = 1.24.13
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 += \
-Ddrm=enabled \
-Degl=enabled \
-Dexamples=disabled \
-Dtests=disabled \
-Ddoc=disabled
ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
GST1_VAAPI_CONF_OPTS += -Dencoders=enabled
else
GST1_VAAPI_CONF_OPTS += -Dencoders=disabled
endif
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
GST1_VAAPI_CONF_OPTS += -Degl=enabled
GST1_VAAPI_DEPENDENCIES += libegl
else
GST1_VAAPI_CONF_OPTS += -Degl=disabled
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
GST1_VAAPI_CONF_OPTS += -Dwayland=enabled
GST1_VAAPI_DEPENDENCIES += wayland wayland-protocols
else
GST1_VAAPI_CONF_OPTS += -Dwayland=disabled
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXRANDR),yy)
GST1_VAAPI_CONF_OPTS += -Dx11=enabled
GST1_VAAPI_DEPENDENCIES += xlib_libX11 xlib_libXrandr
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
GST1_VAAPI_CONF_OPTS += -Dglx=enabled
else
GST1_VAAPI_CONF_OPTS += -Dglx=disabled
endif
else
GST1_VAAPI_CONF_OPTS += -Dx11=disabled -Dglx=disabled
endif
$(eval $(meson-package))

View File

@@ -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

View File

@@ -0,0 +1,18 @@
config BR2_PACKAGE_GSTD
bool "gstd"
depends on BR2_USE_WCHAR # libglib2 -> gettext, libedit, libsoup
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libsoup
depends on BR2_USE_MMU # libdaemon, libedit, 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_LIBEDIT
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBSOUP
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

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 d9d3205551482acd6b7ec2a865407b60efce252e8f747553628401c84f88c556 gstd-0.15.2.tar.gz
sha256 10162be9f7ddb9e98c22c3edd0f78d62ab88f0ca8b1cc968bd85d5d665489d90 COPYING

View File

@@ -0,0 +1,40 @@
################################################################################
#
# gstd
#
################################################################################
GSTD_VERSION = 0.15.2
GSTD_SITE = $(call github,RidgeRun,gstd-1.x,v$(GSTD_VERSION))
GSTD_LICENSE_FILES = COPYING
GSTD_LICENSE = LGPL-2.1+
GSTD_DEPENDENCIES = \
$(BR2_COREUTILS_HOST_DEPENDENCY) \
gstreamer1 \
jansson \
json-glib \
libdaemon \
libedit \
libglib2 \
libsoup
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
GSTD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
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))

View File

@@ -0,0 +1,17 @@
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_VIDEOCONVERTSCALE # runtime
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC # 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

View File

@@ -0,0 +1,6 @@
# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.24.13.tar.xz.sha256sum
sha256 e9792ecff0df0b1dbbf90cfb271b9ce840bc048148c2d9d49fb6c6062bd18f4d gst-editing-services-1.24.13.tar.xz
# Hashes for license files:
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB

View File

@@ -0,0 +1,37 @@
################################################################################
#
# gstreamer1-editing-services
#
################################################################################
GSTREAMER1_EDITING_SERVICES_VERSION = 1.24.13
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))

View File

@@ -0,0 +1 @@
include $(sort $(wildcard package/gstreamer1/*/*.mk))

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

View File

@@ -0,0 +1,3 @@
# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.24.13.tar.xz.sha256sum
sha256 ed4678e1d0708db01a469ae5dd31c10cac73c0fb3f7c2c471b0d3cab0affc7d1 gstreamer-1.24.13.tar.xz
sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING

View File

@@ -0,0 +1,61 @@
################################################################################
#
# gstreamer1
#
################################################################################
GSTREAMER1_VERSION = 1.24.13
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.1+
GSTREAMER1_CPE_ID_VENDOR = gstreamer
GSTREAMER1_CPE_ID_PRODUCT = gstreamer
GSTREAMER1_CONF_OPTS = \
-Dexamples=disabled \
-Dtests=disabled \
-Dbenchmarks=disabled \
-Dtools=$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),enabled,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))