c10-beta
imports/c10-beta/gstreamer1-plugins-bad-free-1.24.6-1.el10
commit
06a6ec6eeb
@ -0,0 +1 @@
|
|||||||
|
SOURCES/gst-plugins-bad-free-1.24.6.tar.xz
|
@ -0,0 +1 @@
|
|||||||
|
8243002ac884b0689f2b4fd3274df3b9eab97abd SOURCES/gst-plugins-bad-free-1.24.6.tar.xz
|
@ -0,0 +1,200 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Process a gst-plugins-bad tarball to remove
|
||||||
|
# unwanted GStreamer plugins.
|
||||||
|
#
|
||||||
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=532470
|
||||||
|
# for details
|
||||||
|
#
|
||||||
|
# Bastien Nocera <bnocera@redhat.com> - 2010
|
||||||
|
#
|
||||||
|
|
||||||
|
SOURCE="$1"
|
||||||
|
NEW_SOURCE=`echo $SOURCE | sed 's/bad-/bad-free-/'`
|
||||||
|
DIRECTORY=`echo $SOURCE | sed 's/\.tar\.xz//'`
|
||||||
|
|
||||||
|
ALLOWED="
|
||||||
|
aacparse
|
||||||
|
accurip
|
||||||
|
adpcmdec
|
||||||
|
adpcmenc
|
||||||
|
aiff
|
||||||
|
aiffparse
|
||||||
|
amrparse
|
||||||
|
asfmux
|
||||||
|
audiobuffersplit
|
||||||
|
audiofxbad
|
||||||
|
audiolatency
|
||||||
|
audiomixer
|
||||||
|
audiomixmatrix
|
||||||
|
audioparsers
|
||||||
|
audiovisualizers
|
||||||
|
autoconvert
|
||||||
|
bayer
|
||||||
|
camerabin
|
||||||
|
camerabin2
|
||||||
|
cdxaparse
|
||||||
|
codecalpha
|
||||||
|
codectimestamper
|
||||||
|
coloreffects
|
||||||
|
colorspace
|
||||||
|
compositor
|
||||||
|
dataurisrc
|
||||||
|
dccp
|
||||||
|
debugutils
|
||||||
|
dtmf
|
||||||
|
dvbsubenc
|
||||||
|
dvbsuboverlay
|
||||||
|
faceoverlay
|
||||||
|
festival
|
||||||
|
fieldanalysis
|
||||||
|
freeverb
|
||||||
|
freeze
|
||||||
|
frei0r
|
||||||
|
gaudieffects
|
||||||
|
gdp
|
||||||
|
geometrictransform
|
||||||
|
h264parse
|
||||||
|
hdvparse
|
||||||
|
hls
|
||||||
|
id3tag
|
||||||
|
insertbin
|
||||||
|
inter
|
||||||
|
interlace
|
||||||
|
invtelecine
|
||||||
|
ivfparse
|
||||||
|
ivtc
|
||||||
|
jpegformat
|
||||||
|
jp2kdecimator
|
||||||
|
legacyresample
|
||||||
|
librfb
|
||||||
|
liveadder
|
||||||
|
midi
|
||||||
|
mse
|
||||||
|
mve
|
||||||
|
mpegdemux
|
||||||
|
mpeg4videoparse
|
||||||
|
mpegpsmux
|
||||||
|
mpegtsdemux
|
||||||
|
mpegtsmux
|
||||||
|
mpegvideoparse
|
||||||
|
mxf
|
||||||
|
netsim
|
||||||
|
nsf
|
||||||
|
nuvdemux
|
||||||
|
onvif
|
||||||
|
openh264
|
||||||
|
patchdetect
|
||||||
|
pcapparse
|
||||||
|
pnm
|
||||||
|
proxy
|
||||||
|
qtmux
|
||||||
|
rawparse
|
||||||
|
removesilence
|
||||||
|
rist
|
||||||
|
rtmp2
|
||||||
|
rtp
|
||||||
|
rtpmux
|
||||||
|
rtpvp8
|
||||||
|
scaletempo
|
||||||
|
sdi
|
||||||
|
sdp
|
||||||
|
segmentclip
|
||||||
|
selector
|
||||||
|
siren
|
||||||
|
smooth
|
||||||
|
speed
|
||||||
|
stereo
|
||||||
|
subenc
|
||||||
|
switchbin
|
||||||
|
timecode
|
||||||
|
transcode
|
||||||
|
tta
|
||||||
|
unixfd
|
||||||
|
valve
|
||||||
|
videofilters
|
||||||
|
videoframe_audiolevel
|
||||||
|
videomaxrate
|
||||||
|
videomeasure
|
||||||
|
videoparsers
|
||||||
|
videosignal
|
||||||
|
vmnc
|
||||||
|
yadif
|
||||||
|
y4m
|
||||||
|
"
|
||||||
|
|
||||||
|
NOT_ALLOWED="
|
||||||
|
dvdspu
|
||||||
|
"
|
||||||
|
|
||||||
|
error()
|
||||||
|
{
|
||||||
|
MESSAGE=$1
|
||||||
|
echo $MESSAGE
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
check_allowed()
|
||||||
|
{
|
||||||
|
MODULE=$1
|
||||||
|
for i in $ALLOWED ; do
|
||||||
|
if test x$MODULE = x$i ; then
|
||||||
|
return 0;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
# Ignore errors coming from ext/ directory
|
||||||
|
# they require external libraries so are ineffective anyway
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
check_not_allowed()
|
||||||
|
{
|
||||||
|
MODULE=$1
|
||||||
|
for i in $NOT_ALLOWED ; do
|
||||||
|
if test x$MODULE = x$i ; then
|
||||||
|
return 0;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
rm -rf $DIRECTORY
|
||||||
|
tar xJf $SOURCE || error "Cannot unpack $SOURCE"
|
||||||
|
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""
|
||||||
|
|
||||||
|
unknown=""
|
||||||
|
for subdir in gst ext sys; do
|
||||||
|
for dir in $subdir/* ; do
|
||||||
|
# Don't touch non-directories
|
||||||
|
if ! [ -d $dir ] ; then
|
||||||
|
continue;
|
||||||
|
fi
|
||||||
|
MODULE=`basename $dir`
|
||||||
|
if ( check_not_allowed $MODULE ) ; then
|
||||||
|
echo "**** Removing $MODULE ****"
|
||||||
|
echo "Removing directory $dir"
|
||||||
|
rm -r $dir || error "Cannot remove $dir"
|
||||||
|
echo
|
||||||
|
elif test $subdir = ext || test $subdir = sys; then
|
||||||
|
# Ignore library or system non-blacklisted plugins
|
||||||
|
continue;
|
||||||
|
elif ! ( check_allowed $MODULE ) ; then
|
||||||
|
echo "Unknown module in $dir"
|
||||||
|
unknown="$unknown $dir"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
if test "x$unknown" != "x"; then
|
||||||
|
echo -n "Aborting due to unkown modules: "
|
||||||
|
echo "$unknown" | sed "s/ /\n /g"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
tar cJf $NEW_SOURCE $DIRECTORY
|
||||||
|
echo "$NEW_SOURCE is ready to use"
|
||||||
|
|
@ -0,0 +1,45 @@
|
|||||||
|
From b13e925daa574fb07aac0271f2b51c25ecb9d483 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kalev Lember <klember@redhat.com>
|
||||||
|
Date: Wed, 8 Nov 2023 14:41:14 +0100
|
||||||
|
Subject: [PATCH 1/1] openh264: Add LICENSE file
|
||||||
|
|
||||||
|
The openh264 plugin is BSD-licensed, different from the rest of the
|
||||||
|
gst-plugins-bad. This commit splits the license text out in its own file
|
||||||
|
to make it easier for binary distributions to distribute the license
|
||||||
|
text.
|
||||||
|
---
|
||||||
|
.../gst-plugins-bad/ext/openh264/LICENSE | 22 +++++++++++++++++++
|
||||||
|
1 file changed, 22 insertions(+)
|
||||||
|
create mode 100644 subprojects/gst-plugins-bad/ext/openh264/LICENSE
|
||||||
|
|
||||||
|
diff --git a/subprojects/gst-plugins-bad/ext/openh264/LICENSE b/subprojects/gst-plugins-bad/ext/openh264/LICENSE
|
||||||
|
new file mode 100644
|
||||||
|
index 00000000000..e57601b4fb6
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/subprojects/gst-plugins-bad/ext/openh264/LICENSE
|
||||||
|
@@ -0,0 +1,22 @@
|
||||||
|
+Copyright (c) 2014, Ericsson AB. All rights reserved.
|
||||||
|
+
|
||||||
|
+Redistribution and use in source and binary forms, with or without modification,
|
||||||
|
+are permitted provided that the following conditions are met:
|
||||||
|
+
|
||||||
|
+1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
+list of conditions and the following disclaimer.
|
||||||
|
+
|
||||||
|
+2. Redistributions in binary form must reproduce the above copyright notice, this
|
||||||
|
+list of conditions and the following disclaimer in the documentation and/or other
|
||||||
|
+materials provided with the distribution.
|
||||||
|
+
|
||||||
|
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||||
|
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
||||||
|
+OF SUCH DAMAGE.
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue