Compare commits

...

1 Commits
epel9 ... i10ce

Author SHA1 Message Date
Arkady L. Shane 18357cca14
import
1 month ago

@ -0,0 +1,3 @@
de8f6395a21b2005d04e105642538b68cfa07049 SOURCES/gmp-api-e7d30b9.tar.gz
f7bf74442f52a0ce01e5db81e29a778e4fabc1d7 SOURCES/gst-plugins-bad-openh264-1.22.9.tar.xz
4c12ca6790c66900ecd24c12a624fa01490e823b SOURCES/openh264-2.4.1.tar.gz

37
.gitignore vendored

@ -1,34 +1,3 @@
/gmp-api-c5f1d0f.tar.gz
/gst-plugins-bad-openh264-1.8.1.tar.xz
/openh264-2706e36.tar.gz
/gst-plugins-bad-openh264-1.8.3.tar.xz
/openh264-1.6.0.tar.gz
/gst-plugins-bad-openh264-1.9.2.tar.xz
/gst-plugins-bad-openh264-1.10.2.tar.xz
/gst-plugins-bad-openh264-1.10.3.tar.xz
/gst-plugins-bad-openh264-1.10.4.tar.xz
/openh264-1.7.0.tar.gz
/gst-plugins-bad-openh264-1.12.0.tar.xz
/gst-plugins-bad-openh264-1.12.1.tar.xz
/gst-plugins-bad-openh264-1.12.2.tar.xz
/gst-plugins-bad-openh264-1.12.3.tar.xz
/gst-plugins-bad-openh264-1.12.4.tar.xz
/gst-plugins-bad-openh264-1.13.90.tar.xz
/openh264-1.8.0.tar.gz
/gst-plugins-bad-openh264-1.14.1.tar.xz
/gst-plugins-bad-openh264-1.14.2.tar.xz
/gst-plugins-bad-openh264-1.15.1.tar.xz
/openh264-2.0.0.tar.gz
/gst-plugins-bad-openh264-1.16.0.tar.xz
/openh264-a60e28e.tar.gz
/gst-plugins-bad-openh264-1.16.2.tar.xz
/openh264-2.1.1.tar.gz
/gst-plugins-bad-openh264-1.18.2.tar.xz
/openh264-2.2.0.tar.gz
/gmp-api-3a01c08.tar.gz
/openh264-2.3.0.tar.gz
/openh264-2.3.1.tar.gz
/gst-plugins-bad-openh264-1.22.1.tar.xz
/openh264-2.4.0.tar.gz
/gmp-api-e7d30b9.tar.gz
/openh264-2.4.1.tar.gz
SOURCES/gmp-api-e7d30b9.tar.gz
SOURCES/gst-plugins-bad-openh264-1.22.9.tar.xz
SOURCES/openh264-2.4.1.tar.gz

@ -0,0 +1,200 @@
#!/bin/sh
# Process a gst-plugins-bad tarball to remove
# unwanted GStreamer plugins.
#
# This script here is taken from Fedora gstreamer1-plugins-bad-free repo, with
# only change being openh264 addition.
#
# 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-openh264-/'`
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
inter
interlace
invtelecine
ivfparse
ivtc
jpegformat
jp2kdecimator
legacyresample
librfb
liveadder
midi
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
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"

@ -4,7 +4,7 @@
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
%global openh264_version 2.4.1
%global gst_version 1.22.1
%global gst_version 1.22.9
# Filter out soname provides for the mozilla plugin
%global __provides_exclude_from ^%{_libdir}/mozilla/plugins/
@ -66,7 +66,7 @@ browsers.
%package -n gstreamer1-plugin-openh264
Version: %{gst_version}
Release: 3%{?dist}
Release: 1%{?dist}
Summary: GStreamer H.264 plugin
%description -n gstreamer1-plugin-openh264
@ -234,8 +234,12 @@ popd
%changelog
* Wed Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> -
- Rebuilt for MSVSphere 10
* Fri Feb 02 2024 Kalev Lember <klember@redhat.com> - 2.4.1-1
- Update to 2.4.1
- Update gstreamer plugin to 1.22.9
* Mon Dec 04 2023 Kalev Lember <klember@redhat.com> - 2.4.0-2
- Fix off by one regression in decoder
@ -243,6 +247,7 @@ popd
* Fri Nov 24 2023 Kalev Lember <klember@redhat.com> - 2.4.0-1
- Update to 2.4.0
- Update gstreamer plugin to 1.22.7
- Obsolete noopenh264 stub package
- Use SPDX license identifiers
@ -260,11 +265,19 @@ popd
* Thu Sep 29 2022 Kalev Lember <klember@redhat.com> - 2.3.1-1
- Update to 2.3.1
* Wed Aug 10 2022 Kalev Lember <klember@redhat.com> - 2.3.0-2
- Rebuild
* Mon Aug 01 2022 Kalev Lember <klember@redhat.com> - 2.3.0-1
- Update to 2.3.0
- Update gstreamer plugin to 1.20.3
* Wed Mar 16 2022 David King <amigadave@amigadave.com> - 2.2.0-1
- Update to 2.2.0
- Update gstreamer plugin to 1.20.0
* Tue Sep 07 2021 Kalev Lember <klember@redhat.com> - 2.1.1-3
- Update gstreamer plugin to 1.19.1
* Thu Feb 11 2021 Kalev Lember <klember@redhat.com> - 2.1.1-2
- Update gstreamer plugin to 1.18.2

@ -1,3 +0,0 @@
SHA512 (gmp-api-e7d30b9.tar.gz) = f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
SHA512 (gst-plugins-bad-openh264-1.22.1.tar.xz) = 45cfb95beb2467b35d47e312ce567a9ea01f57743d001f21dca42b7e4fa1271c431f53d2fc6862fcfbfa22f067f65ffbce9b0e3de0f05f32bd48a5292ed85e30
SHA512 (openh264-2.4.1.tar.gz) = eb99144addd2e9c352bb95e752366e104ac6b0ddc84311dc7c87dafb803f8e7fe4d1e726833d49f8cc6d3914508e19c3a25ef82637a4993e8af3f504aa005baf
Loading…
Cancel
Save