Update to 1.16.2

This commit is contained in:
Sandro Mani 2020-04-21 02:12:04 +02:00
parent 22a2aaf446
commit 115c3ae4e4
5 changed files with 118 additions and 48 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/gst-plugins-bad-free-1.12.3.tar.xz
/gst-plugins-bad-free-1.14.1.tar.xz
/gst-plugins-bad-free-1.14.2.tar.xz
/gst-plugins-bad-free-1.16.2.tar.xz

View File

@ -1,24 +0,0 @@
diff -rupN gst-plugins-bad-1.14.2/ext/openexr/Makefile.am gst-plugins-bad-1.14.2-new/ext/openexr/Makefile.am
--- gst-plugins-bad-1.14.2/ext/openexr/Makefile.am 2018-03-23 21:45:15.000000000 +0100
+++ gst-plugins-bad-1.14.2-new/ext/openexr/Makefile.am 2019-11-13 19:08:40.282922215 +0100
@@ -6,7 +6,7 @@ libgstopenexr_la_CFLAGS = \
$(OPENEXR_CFLAGS)
libgstopenexr_la_CXXFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) \
- $(OPENEXR_CFLAGS) -std=c++98
+ $(OPENEXR_CFLAGS)
libgstopenexr_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(GST_BASE_LIBS) $(GST_LIBS) $(OPENEXR_LIBS)
diff -rupN gst-plugins-bad-1.14.2/ext/openexr/Makefile.in gst-plugins-bad-1.14.2-new/ext/openexr/Makefile.in
--- gst-plugins-bad-1.14.2/ext/openexr/Makefile.in 2018-07-23 13:09:04.000000000 +0200
+++ gst-plugins-bad-1.14.2-new/ext/openexr/Makefile.in 2019-11-13 19:10:44.830707939 +0100
@@ -762,7 +762,7 @@ libgstopenexr_la_CFLAGS = \
libgstopenexr_la_CXXFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) \
- $(OPENEXR_CFLAGS) -std=c++98
+ $(OPENEXR_CFLAGS)
libgstopenexr_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \

View File

@ -0,0 +1,91 @@
--- gst-plugins-bad-1.16.2/common/glib-gen.mak
+++ gst-plugins-bad-1.16.2/common/glib-gen.mak
@@ -1,11 +1,13 @@
# these are the variables your Makefile.am should set
# the example is based on the colorbalance interface
+H := \#
+
#glib_enum_headers=$(colorbalance_headers)
#glib_enum_define=GST_COLOR_BALANCE
#glib_enum_prefix=gst_color_balance
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
# these are all the rules generating the relevant files
%-marshal.h: %-marshal.list
--- gst-plugins-bad-1.16.2/common/gst-glib-gen.mak
+++ gst-plugins-bad-1.16.2/common/gst-glib-gen.mak
@@ -1,14 +1,16 @@
# these are the variables your Makefile.am should set
# the example is based on the colorbalance interface
+H := \#
+
#glib_enum_headers=$(colorbalance_headers)
#glib_enum_define=GST_COLOR_BALANCE
#glib_gen_prefix=gst_color_balance
#glib_gen_basename=colorbalance
#glib_gen_decl_banner=GST_EXPORT
-#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
+#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
# these are all the rules generating the relevant files
$(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
--- gst-plugins-bad-1.16.2/gst-libs/gst/interfaces/Makefile.am
+++ gst-plugins-bad-1.16.2/gst-libs/gst/interfaces/Makefile.am
@@ -5,13 +5,15 @@
headers_photography = \
photography.h
+H := \#
+
# variables used for enum/marshal generation
glib_enum_headers=$(headers_photography)
glib_enum_define=GST_PHOTOGRAPHY
glib_gen_prefix=gst_photography
glib_gen_basename=photography
glib_gen_decl_banner=GST_PHOTOGRAPHY_API
-glib_gen_decl_include=\#include <gst/interfaces/photography-prelude.h>
+glib_gen_decl_include=$(H)include <gst/interfaces/photography-prelude.h>
built_sources = \
photography-enumtypes.c
--- gst-plugins-bad-1.16.2/gst-libs/gst/mpegts/Makefile.am
+++ gst-plugins-bad-1.16.2/gst-libs/gst/mpegts/Makefile.am
@@ -47,11 +47,13 @@
gst-scte-section.h \
gst-dvb-descriptor.h
+H := \#
+
glib_enum_define=GST_MPEGTS
glib_gen_prefix=gst_mpegts
glib_gen_basename=gstmpegts
glib_gen_decl_banner=GST_MPEGTS_API
-glib_gen_decl_include=\#include <gst/mpegts/mpegts-prelude.h>
+glib_gen_decl_include=$(H)include <gst/mpegts/mpegts-prelude.h>
BUILT_SOURCES = gstmpegts-enumtypes.c gstmpegts-enumtypes.h
nodist_libgstmpegts_@GST_API_VERSION@_la_SOURCES = gstmpegts-enumtypes.c
--- gst-plugins-bad-1.16.2/gst-libs/gst/webrtc/Makefile.am
+++ gst-plugins-bad-1.16.2/gst-libs/gst/webrtc/Makefile.am
@@ -1,11 +1,13 @@
lib_LTLIBRARIES = libgstwebrtc-@GST_API_VERSION@.la
+H := \#
+
glib_enum_headers = dtlstransport.h icetransport.h rtptransceiver.h webrtc_fwd.h
glib_enum_define = GST_WEBRTC
glib_gen_prefix = gst_webrtc
glib_gen_basename = webrtc
glib_gen_decl_banner=GST_WEBRTC_API
-glib_gen_decl_include=\#include <gst/webrtc/webrtc_fwd.h>
+glib_gen_decl_include=$(H)include <gst/webrtc/webrtc_fwd.h>
built_sources = webrtc-enumtypes.c
built_headers = webrtc-enumtypes.h

View File

@ -3,8 +3,8 @@
%global api_version 1.0
Name: mingw-gstreamer1-plugins-bad-free
Version: 1.14.2
Release: 8%{?dist}
Version: 1.16.2
Release: 1%{?dist}
Summary: Cross compiled GStreamer1 plug-ins "bad"
# The freeze and nfs plugins are LGPLv2 (only)
@ -15,12 +15,13 @@ URL: http://gstreamer.freedesktop.org/
# modified with gst1-p-bad-cleanup.sh from SOURCE1
Source0: gst-plugins-bad-free-%{version}.tar.xz
Source1: gst-p-bad-cleanup.sh
# Drop -std=c++98 from the cflags when building openexr support
Patch0: gst-ext-openexr-c++std.patch
# Fix build with Make 4.3
Patch0: gst-plugins-bad-1.16.2-make43.patch
BuildArch: noarch
BuildRequires: autoconf automake
BuildRequires: autoconf automake libtool gettext-devel
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw32-gcc
@ -112,6 +113,8 @@ well enough, or the code is not of good enough quality.
%build
autoreconf -i
# chromaprint was enabled in the !mingw package in 6eadf04
# openal, openjpeg, ofa, webp were enabled in the !mingw package in c609b28
# there are mingw-openjpeg and mingw-webp packages available
@ -138,13 +141,13 @@ well enough, or the code is not of good enough quality.
%install
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
%mingw_make install DESTDIR=%{buildroot}
# Clean out files that should not be part of the rpm.
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/gstreamer-%{api_version}/*.a
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/gstreamer-%{api_version}/*.a
rm -f %{buildroot}%{mingw32_libdir}/gstreamer-%{api_version}/*.a
rm -f %{buildroot}%{mingw64_libdir}/gstreamer-%{api_version}/*.a
find $RPM_BUILD_ROOT -name '*.la' -delete
find %{buildroot} -name '*.la' -delete
%mingw_find_lang gstreamer1-plugins-bad-free --all-name
@ -157,7 +160,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
# libraries
%{mingw32_bindir}/libgstadaptivedemux-1.0-0.dll
%{mingw32_bindir}/libgstbadaudio-1.0-0.dll
%{mingw32_bindir}/libgstbadvideo-1.0-0.dll
%{mingw32_bindir}/libgstbasecamerabinsrc-1.0-0.dll
%{mingw32_bindir}/libgstcodecparsers-1.0-0.dll
%{mingw32_bindir}/libgstinsertbin-1.0-0.dll
@ -165,6 +167,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw32_bindir}/libgstmpegts-1.0-0.dll
%{mingw32_bindir}/libgstphotography-1.0-0.dll
%{mingw32_bindir}/libgstplayer-1.0-0.dll
%{mingw32_bindir}/libgstsctp-1.0-0.dll
%{mingw32_bindir}/libgsturidownloader-1.0-0.dll
%{mingw32_bindir}/libgstwebrtc-1.0-0.dll
@ -185,8 +188,8 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw32_libdir}/gstreamer-%{api_version}/libgstbayer.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstbz2.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstcamerabin.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstclosedcaption.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstcoloreffects.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstcompositor.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstd3d.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstdashdemux.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstdebugutilsbad.dll
@ -219,7 +222,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw32_libdir}/gstreamer-%{api_version}/libgstmxf.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstnetsim.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstopenexr.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstopenglmixers.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstopusparse.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstpcapparse.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstpnm.dll
@ -232,7 +234,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw32_libdir}/gstreamer-%{api_version}/libgstsmooth.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstsmoothstreaming.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstspeed.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgststereo.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstsubenc.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgsttimecode.dll
%{mingw32_libdir}/gstreamer-%{api_version}/libgstttmlsubs.dll
@ -256,13 +257,12 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw32_includedir}/gstreamer-%{api_version}/gst/isoff/
%{mingw32_includedir}/gstreamer-%{api_version}/gst/mpegts/
%{mingw32_includedir}/gstreamer-%{api_version}/gst/player/
%{mingw32_includedir}/gstreamer-%{api_version}/gst/sctp/
%{mingw32_includedir}/gstreamer-%{api_version}/gst/uridownloader/
%{mingw32_includedir}/gstreamer-%{api_version}/gst/video/
%{mingw32_includedir}/gstreamer-%{api_version}/gst/webrtc/
%{mingw32_libdir}/libgstadaptivedemux-1.0.dll.a
%{mingw32_libdir}/libgstbadaudio-1.0.dll.a
%{mingw32_libdir}/libgstbadvideo-1.0.dll.a
%{mingw32_libdir}/libgstbasecamerabinsrc-1.0.dll.a
%{mingw32_libdir}/libgstcodecparsers-1.0.dll.a
%{mingw32_libdir}/libgstinsertbin-1.0.dll.a
@ -270,16 +270,17 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw32_libdir}/libgstmpegts-1.0.dll.a
%{mingw32_libdir}/libgstphotography-1.0.dll.a
%{mingw32_libdir}/libgstplayer-1.0.dll.a
%{mingw32_libdir}/libgstsctp-1.0.dll.a
%{mingw32_libdir}/libgsturidownloader-1.0.dll.a
%{mingw32_libdir}/libgstwebrtc-1.0.dll.a
%{mingw32_libdir}/pkgconfig/gstreamer-bad-audio-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-bad-video-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-codecparsers-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-insertbin-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-mpegts-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-player-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-plugins-bad-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-sctp-1.0.pc
%{mingw32_libdir}/pkgconfig/gstreamer-webrtc-1.0.pc
%{mingw32_datadir}/gstreamer-1.0/presets/GstFreeverb.prs
@ -293,7 +294,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
# libraries
%{mingw64_bindir}/libgstadaptivedemux-1.0-0.dll
%{mingw64_bindir}/libgstbadaudio-1.0-0.dll
%{mingw64_bindir}/libgstbadvideo-1.0-0.dll
%{mingw64_bindir}/libgstbasecamerabinsrc-1.0-0.dll
%{mingw64_bindir}/libgstcodecparsers-1.0-0.dll
%{mingw64_bindir}/libgstinsertbin-1.0-0.dll
@ -301,6 +301,7 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw64_bindir}/libgstmpegts-1.0-0.dll
%{mingw64_bindir}/libgstphotography-1.0-0.dll
%{mingw64_bindir}/libgstplayer-1.0-0.dll
%{mingw64_bindir}/libgstsctp-1.0-0.dll
%{mingw64_bindir}/libgsturidownloader-1.0-0.dll
%{mingw64_bindir}/libgstwebrtc-1.0-0.dll
@ -321,8 +322,8 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw64_libdir}/gstreamer-%{api_version}/libgstbayer.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstbz2.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstcamerabin.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstclosedcaption.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstcoloreffects.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstcompositor.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstd3d.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstdashdemux.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstdebugutilsbad.dll
@ -355,7 +356,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw64_libdir}/gstreamer-%{api_version}/libgstmxf.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstnetsim.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstopenexr.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstopenglmixers.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstopusparse.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstpcapparse.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstpnm.dll
@ -368,7 +368,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw64_libdir}/gstreamer-%{api_version}/libgstsmooth.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstsmoothstreaming.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstspeed.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgststereo.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstsubenc.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgsttimecode.dll
%{mingw64_libdir}/gstreamer-%{api_version}/libgstttmlsubs.dll
@ -392,13 +391,12 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw64_includedir}/gstreamer-%{api_version}/gst/isoff/
%{mingw64_includedir}/gstreamer-%{api_version}/gst/mpegts/
%{mingw64_includedir}/gstreamer-%{api_version}/gst/player/
%{mingw64_includedir}/gstreamer-%{api_version}/gst/sctp/
%{mingw64_includedir}/gstreamer-%{api_version}/gst/uridownloader/
%{mingw64_includedir}/gstreamer-%{api_version}/gst/video/
%{mingw64_includedir}/gstreamer-%{api_version}/gst/webrtc/
%{mingw64_libdir}/libgstadaptivedemux-1.0.dll.a
%{mingw64_libdir}/libgstbadaudio-1.0.dll.a
%{mingw64_libdir}/libgstbadvideo-1.0.dll.a
%{mingw64_libdir}/libgstbasecamerabinsrc-1.0.dll.a
%{mingw64_libdir}/libgstcodecparsers-1.0.dll.a
%{mingw64_libdir}/libgstinsertbin-1.0.dll.a
@ -406,22 +404,26 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{mingw64_libdir}/libgstmpegts-1.0.dll.a
%{mingw64_libdir}/libgstphotography-1.0.dll.a
%{mingw64_libdir}/libgstplayer-1.0.dll.a
%{mingw64_libdir}/libgstsctp-1.0.dll.a
%{mingw64_libdir}/libgsturidownloader-1.0.dll.a
%{mingw64_libdir}/libgstwebrtc-1.0.dll.a
%{mingw64_libdir}/pkgconfig/gstreamer-bad-audio-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-bad-video-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-codecparsers-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-insertbin-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-mpegts-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-player-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-plugins-bad-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-sctp-1.0.pc
%{mingw64_libdir}/pkgconfig/gstreamer-webrtc-1.0.pc
%{mingw64_datadir}/gstreamer-1.0/presets/GstFreeverb.prs
%changelog
* Mon Apr 20 2020 Sandro Mani <manisandro@gmail.com> - 1.16.2-1
- Update to 1.16.2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gst-plugins-bad-free-1.14.2.tar.xz) = 8b55521b64a2929d5fb7caea91d7f75efa6d4be25885e5902b5f487691ef33459baefb0e1ffc61a8a9b5023d533031a42464957261fec3b6e66280ea23ab3ded
SHA512 (gst-plugins-bad-free-1.16.2.tar.xz) = 6115773c1bb2a2689860fd153d5c84fee9337338d36076f44f772fd6017e04f5843d51e76db63d5517199dcb9310c0edb33eb65269a2962e292cc84d4fa560a7