|
|
@ -1,13 +1,9 @@
|
|
|
|
# 2.1.0 release
|
|
|
|
|
|
|
|
%global commit0 a60e28efe227ea8ea760b1e29a8943e371ebe4b3
|
|
|
|
|
|
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# To get the gmp-api commit to use, run:
|
|
|
|
# To get the gmp-api commit to use, run:
|
|
|
|
# rm -rf gmp-api;make gmp-bootstrap;cd gmp-api;git rev-parse HEAD
|
|
|
|
# rm -rf gmp-api;make gmp-bootstrap;cd gmp-api;git rev-parse HEAD
|
|
|
|
%global commit1 c5f1d0f3213178818cbfb3e16f31d07328980560
|
|
|
|
%global commit1 c5f1d0f3213178818cbfb3e16f31d07328980560
|
|
|
|
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
|
|
|
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
|
|
%global openh264_version 2.1.0
|
|
|
|
%global openh264_version 2.1.1
|
|
|
|
%global gst_version 1.16.2
|
|
|
|
%global gst_version 1.16.2
|
|
|
|
|
|
|
|
|
|
|
|
Name: openh264
|
|
|
|
Name: openh264
|
|
|
@ -18,7 +14,7 @@ Summary: H.264 codec library
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://www.openh264.org/
|
|
|
|
URL: http://www.openh264.org/
|
|
|
|
Source0: https://github.com/cisco/openh264/archive/%{commit0}/openh264-%{shortcommit0}.tar.gz
|
|
|
|
Source0: https://github.com/cisco/openh264/archive/v%{openh264_version}/openh264-%{openh264_version}.tar.gz
|
|
|
|
Source1: https://github.com/mozilla/gmp-api/archive/%{commit1}/gmp-api-%{shortcommit1}.tar.gz
|
|
|
|
Source1: https://github.com/mozilla/gmp-api/archive/%{commit1}/gmp-api-%{shortcommit1}.tar.gz
|
|
|
|
# The source is:
|
|
|
|
# The source is:
|
|
|
|
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%%{gst_version}.tar.xz
|
|
|
|
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%%{gst_version}.tar.xz
|
|
|
@ -59,7 +55,7 @@ browsers.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n gstreamer1-plugin-openh264
|
|
|
|
%package -n gstreamer1-plugin-openh264
|
|
|
|
Version: %{gst_version}
|
|
|
|
Version: %{gst_version}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: GStreamer H.264 plugin
|
|
|
|
Summary: GStreamer H.264 plugin
|
|
|
|
|
|
|
|
|
|
|
|
%description -n gstreamer1-plugin-openh264
|
|
|
|
%description -n gstreamer1-plugin-openh264
|
|
|
@ -70,7 +66,7 @@ This package contains the H.264 plugin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -qn openh264-%{commit0}
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
# Extract gmp-api archive
|
|
|
|
# Extract gmp-api archive
|
|
|
|
tar -xf %{S:1}
|
|
|
|
tar -xf %{S:1}
|
|
|
@ -205,7 +201,7 @@ popd
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{_libdir}/libopenh264.so.5
|
|
|
|
%{_libdir}/libopenh264.so.6
|
|
|
|
%{_libdir}/libopenh264.so.%{openh264_version}
|
|
|
|
%{_libdir}/libopenh264.so.%{openh264_version}
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
@ -227,6 +223,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri May 22 2020 Kalev Lember <klember@redhat.com> - 2.1.1-1
|
|
|
|
|
|
|
|
- Update to 2.1.1
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 2.1.0-1
|
|
|
|
* Tue Mar 10 2020 Kalev Lember <klember@redhat.com> - 2.1.0-1
|
|
|
|
- Update to 2.1.0
|
|
|
|
- Update to 2.1.0
|
|
|
|
- Update gstreamer plugin to 1.16.2
|
|
|
|
- Update gstreamer plugin to 1.16.2
|
|
|
|