diff --git a/.gitignore b/.gitignore index eb6c1d4..1bed52b 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /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 diff --git a/openh264.spec b/openh264.spec index fcb2f04..e586465 100644 --- a/openh264.spec +++ b/openh264.spec @@ -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: # rm -rf gmp-api;make gmp-bootstrap;cd gmp-api;git rev-parse HEAD %global commit1 c5f1d0f3213178818cbfb3e16f31d07328980560 %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 Name: openh264 @@ -18,7 +14,7 @@ Summary: H.264 codec library License: BSD 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 # The source is: # 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 Version: %{gst_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: GStreamer H.264 plugin %description -n gstreamer1-plugin-openh264 @@ -70,7 +66,7 @@ This package contains the H.264 plugin. %prep -%setup -qn openh264-%{commit0} +%setup -q # Extract gmp-api archive tar -xf %{S:1} @@ -205,7 +201,7 @@ popd %files %license LICENSE %doc README.md -%{_libdir}/libopenh264.so.5 +%{_libdir}/libopenh264.so.6 %{_libdir}/libopenh264.so.%{openh264_version} %files devel @@ -227,6 +223,9 @@ popd %changelog +* Fri May 22 2020 Kalev Lember - 2.1.1-1 +- Update to 2.1.1 + * Tue Mar 10 2020 Kalev Lember - 2.1.0-1 - Update to 2.1.0 - Update gstreamer plugin to 1.16.2 diff --git a/sources b/sources index f37ffb0..0279331 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (gmp-api-c5f1d0f.tar.gz) = 20bf28b117b4d1d24ee659809940f14e9985757fc09fff1e900feac3f17343033c38248782c4d6c3f15a0eeb1f994c4d91283a3b2131ea94b83e340cd54ef574 SHA512 (gst-plugins-bad-openh264-1.16.2.tar.xz) = 02bbd2bda02b1edc6a7e25d5131107122ddaa963aa1fc94c2b869356290591e704d0f31d6a139099488a4151486183f7bb834e24d67831f72e56965c32fdd86f -SHA512 (openh264-a60e28e.tar.gz) = b0f426e30670edc5c56a6869ee619ac05a2159b6d531ecb239e796159c816617c3656d77fc52bfe933c3c802bc55711627cc11e2227ebd9718bdbfc3e4e128f7 +SHA512 (openh264-2.1.1.tar.gz) = f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79