From a9316bb6eb71edc6c8b8cd935937b7c2c36ea889 Mon Sep 17 00:00:00 2001 From: Bartek Szady Date: Mon, 3 Jun 2019 18:50:34 +0200 Subject: [PATCH] - updated to 1.16.0 --- gstreamer-plugins-good.spec | 12 +++---- libvpx1.8.patch | 65 ------------------------------------- 2 files changed, 5 insertions(+), 72 deletions(-) delete mode 100644 libvpx1.8.patch diff --git a/gstreamer-plugins-good.spec b/gstreamer-plugins-good.spec index 1fd0021..db218e3 100644 --- a/gstreamer-plugins-good.spec +++ b/gstreamer-plugins-good.spec @@ -16,20 +16,19 @@ %define gstname gst-plugins-good %define major_ver 1.0 -%define gst_req_ver 1.14.4 -%define gstpb_req_ver 1.14.4 +%define gst_req_ver 1.16.0 +%define gstpb_req_ver 1.16.0 %include /usr/lib/rpm/macros.gstreamer Summary: Good GStreamer Streaming-media framework plugins Summary(pl.UTF-8): Dobre wtyczki do środowiska obróbki strumieni GStreamer Name: gstreamer-plugins-good -Version: 1.14.4 -Release: 2 +Version: 1.16.0 +Release: 1 License: LGPL v2+ Group: Libraries Source0: https://gstreamer.freedesktop.org/src/gst-plugins-good/%{gstname}-%{version}.tar.xz -# Source0-md5: 6e3b247097366cf2639f22abfece7113 -Patch0: libvpx1.8.patch +# Source0-md5: d1a7b442994d9522418de4af4330e034 URL: https://gstreamer.freedesktop.org/ BuildRequires: autoconf >= 2.69 BuildRequires: automake >= 1:1.14 @@ -568,7 +567,6 @@ Xlib. %prep %setup -q -n %{gstname}-%{version} -%patch0 -p1 %build %{__libtoolize} diff --git a/libvpx1.8.patch b/libvpx1.8.patch deleted file mode 100644 index db858f6..0000000 --- a/libvpx1.8.patch +++ /dev/null @@ -1,65 +0,0 @@ -From b6e6f1ae73375ef66a5748069843aaed1a83e6a6 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" -Date: Tue, 5 Feb 2019 22:14:18 +0100 -Subject: [PATCH] vpx: Fix build against libvpx 1.8 - -The deprecated debug visualizer was removed. ---- - configure.ac | 4 ++++ - ext/vpx/gstvpxdec.c | 2 ++ - ext/vpx/meson.build | 4 ++++ - 3 files changed, 10 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 5e4cff126..8c20e5081 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1054,6 +1054,10 @@ AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [ - AC_DEFINE(HAVE_VPX_1_4, 1, [Defined if the VPX library version is 1.4 or bigger]) - ], [true]) - -+ PKG_CHECK_MODULES(VPX_180, vpx >= 1.8.0, [ -+ AC_DEFINE(HAVE_VPX_1_8, 1, [Defined if the VPX library version is 1.8 or bigger]) -+ ], [true]) -+ - LIBS="$OLD_LIBS" - CFLAGS="$OLD_CFLAGS" - fi -diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c -index c3f0f625f..da4322513 100644 ---- a/ext/vpx/gstvpxdec.c -+++ b/ext/vpx/gstvpxdec.c -@@ -62,6 +62,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) - {C_FLAGS (VP8_DEBLOCK), "Deblock", "deblock"}, - {C_FLAGS (VP8_DEMACROBLOCK), "Demacroblock", "demacroblock"}, - {C_FLAGS (VP8_ADDNOISE), "Add noise", "addnoise"}, -+#ifndef HAVE_VPX_1_8 - {C_FLAGS (VP8_DEBUG_TXT_FRAME_INFO), - "Print frame information", - "visualize-frame-info"}, -@@ -74,6 +75,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) - {C_FLAGS (VP8_DEBUG_TXT_RATE_INFO), - "Print video rate info", - "visualize-rate-info"}, -+#endif - {C_FLAGS (VP8_MFQE), "Multi-frame quality enhancement", "mfqe"}, - {0, NULL, NULL} - }; -diff --git a/ext/vpx/meson.build b/ext/vpx/meson.build -index 6ed440728..0d2340b32 100644 ---- a/ext/vpx/meson.build -+++ b/ext/vpx/meson.build -@@ -48,6 +48,10 @@ if vpx_dep.found() - vpx_args += '-DHAVE_VPX_1_4' - endif - -+ if dependency('vpx', version : '>=1.8.0', required : false).found() -+ vpx_args += '-DHAVE_VPX_1_8' -+ endif -+ - gstvpx = library('gstvpx', - vpx_sources, - c_args : gst_plugins_good_args + vpx_args, --- -2.18.1 - -- 2.43.0