commit 864997abb10370d5f37523a87349f7dca050b1aa
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Sep 8 17:23:35 2020 +0100
Enable svt-hevc
build_what_we_need_only.patch | 17 ++++++++++++++---
gstreamer1-plugins-bad-freeworld.spec | 8 +++++++-
2 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/build_what_we_need_only.patch b/build_what_we_need_only.patch
index 2508c0d..562996b 100644
--- a/build_what_we_need_only.patch
+++ b/build_what_we_need_only.patch
@@ -1,7 +1,7 @@
diff -uNrp a/ext/meson.build b/ext/meson.build
--- a/ext/meson.build 2020-08-20 16:14:26.000000000 +0100
+++ b/ext/meson.build 2020-08-23 14:38:26.171082319 +0100
-@@ -1,69 +1,9 @@
+@@ -1,69 +1,10 @@
-subdir('assrender')
-subdir('aom')
-subdir('avtp')
@@ -56,7 +56,7 @@ diff -uNrp a/ext/meson.build b/ext/meson.build
-subdir('spandsp')
-subdir('srt')
-subdir('srtp')
--subdir('svthevcenc')
+ subdir('svthevcenc')
-subdir('teletextdec')
-subdir('ttml')
-subdir('voaacenc')
@@ -71,6 +71,7 @@ diff -uNrp a/ext/meson.build b/ext/meson.build
subdir('x265')
-subdir('zxing')
-subdir('zbar')
+
diff -uNrp a/gst/meson.build b/gst/meson.build
--- a/gst/meson.build 2020-08-20 16:14:27.000000000 +0100
+++ b/gst/meson.build 2020-08-23 14:38:26.172082317 +0100
@@ -97,7 +98,16 @@ diff -uNrp a/gst/meson.build b/gst/meson.build
diff -uNrp a/meson.build b/meson.build
--- a/meson.build 2020-08-20 16:14:27.000000000 +0100
+++ b/meson.build 2020-08-23 14:38:26.173082315 +0100
-@@ -461,14 +461,9 @@ if get_option('default_library') == 'sha
+@@ -279,6 +279,8 @@
+ fallback : ['gst-plugins-base', 'app_dep'])
+ gstaudio_dep = dependency('gstreamer-audio-1.0', version : gst_req,
+ fallback : ['gst-plugins-base', 'audio_dep'])
++gstcodecparsers_dep = dependency('gstreamer-codecparsers-1.0', version :
gst_req,
++ fallback : ['gst-plugins-bad', 'codecparsers_dep'])
+ gstfft_dep = dependency('gstreamer-fft-1.0', version : gst_req,
+ fallback : ['gst-plugins-base', 'fft_dep'])
+ gstriff_dep = dependency('gstreamer-riff-1.0', version : gst_req,
+@@ -461,14 +463,9 @@
plugins_pkgconfig_install_dir = disabler()
endif
@@ -112,3 +122,4 @@ diff -uNrp a/meson.build b/meson.build
if have_orcc
update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')
+
diff --git a/gstreamer1-plugins-bad-freeworld.spec
b/gstreamer1-plugins-bad-freeworld.spec
index dc32b26..fec8b74 100644
--- a/gstreamer1-plugins-bad-freeworld.spec
+++ b/gstreamer1-plugins-bad-freeworld.spec
@@ -1,7 +1,7 @@
Summary: GStreamer 1.0 streaming media framework "bad" plug-ins
Name: gstreamer1-plugins-bad-freeworld
Version: 1.17.90
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
URL:
https://gstreamer.freedesktop.org/
Source0: %{url}/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
@@ -11,6 +11,7 @@ BuildRequires: gcc-objc++
BuildRequires: meson
BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gstreamer1-plugins-base-devel >= %{version}
+BuildRequires: gstreamer1-plugins-bad-free-devel >= %{version}
BuildRequires: check
BuildRequires: libXt-devel
BuildRequires: orc-devel
@@ -19,6 +20,7 @@ BuildRequires: faad2-devel
BuildRequires: libmms-devel
BuildRequires: mjpegtools-devel >= 2.0.0
BuildRequires: librtmp-devel
+BuildRequires: svt-hevc-devel
BuildRequires: vo-amrwbenc-devel
#BuildRequires: vo-aacenc-devel
BuildRequires: libusbx-devel
@@ -76,12 +78,16 @@ rm -rf %{buildroot}%{_datadir}/gstreamer-1.0/encoding-profiles/
%{_libdir}/gstreamer-1.0/libgstmpeg2enc.so
%{_libdir}/gstreamer-1.0/libgstmplex.so
%{_libdir}/gstreamer-1.0/libgstrtmp.so
+%{_libdir}/gstreamer-1.0/libgstsvthevcenc.so
#%%{_libdir}/gstreamer-1.0/libgstvoaacenc.so
%{_libdir}/gstreamer-1.0/libgstvoamrwbenc.so
%{_libdir}/gstreamer-1.0/libgstx265.so
%changelog
+* Tue Sep 8 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.17.90-2
+- Enable svt-hevc
+
* Sun Aug 23 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.17.90-1
- 1.17.90