Update to 1.0.5

el8
leigh123linux 5 years ago
parent ab1ef893a4
commit 0da32d666e

1
.gitignore vendored

@ -1,3 +1,4 @@
/libde265-1.0.2.tar.gz
/libde265-1.0.3.tar.gz
/libde265-1.0.4.tar.gz
/libde265-1.0.5.tar.gz

@ -1,15 +0,0 @@
Description: Replace deprecated FFmpeg API
Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Last-Update: <2015-11-02>
--- libde265-1.0.2.orig/sherlock265/VideoDecoder.cc
+++ libde265-1.0.2/sherlock265/VideoDecoder.cc
@@ -219,7 +219,7 @@ void VideoDecoder::convert_frame_swscale
}
width = img->get_width();
height = img->get_height();
- sws = sws_getContext(width, height, PIX_FMT_YUV420P, width, height, PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
+ sws = sws_getContext(width, height, AV_PIX_FMT_YUV420P, width, height, AV_PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
}
int stride[3];

@ -1,10 +1,11 @@
Name: libde265
Summary: Open H.265 video codec implementation
Version: 1.0.4
Version: 1.0.5
Release: 1%{?dist}
License: LGPLv3+
Source: https://github.com/strukturag/libde265/releases/download/v%{version}/%{name}-%{version}.tar.gz
URL: http://www.libde265.org/
URL: https://www.libde265.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -14,9 +15,6 @@ BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(sdl)
# Fix compatibiliy when compiling against FFmpeg 2.9 and newer.
Patch0: ffmpeg_2.9.patch
%description
libde265 is an open source implementation of the H.265 video codec.
@ -62,8 +60,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%install
%make_install
find %{buildroot} -type f -name '*.a' -exec rm -f {} \;
find %{buildroot} -type f -name '*.la' -exec rm -f {} \;
find %buildroot -name '*.la' -or -name '*.a' | xargs rm -f
mv %{buildroot}%{_bindir}/dec265 %{buildroot}%{_bindir}/libde265-dec265
mv %{buildroot}%{_bindir}/sherlock265 %{buildroot}%{_bindir}/libde265-sherlock265
# Don't package internal development tools.
@ -96,6 +93,9 @@ rm %{buildroot}%{_bindir}/yuv-distortion
%{_bindir}/acceleration_speed
%changelog
* Sat Jan 18 2020 Leigh Scott <leigh123linux@googlemail.com> - 1.0.5-1
- Update to 1.0.5
* Sun Dec 22 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.0.4-1
- Update to 1.0.4

@ -1 +1 @@
SHA512 (libde265-1.0.4.tar.gz) = 1c57a0b543d17a09928ce126b957b71d3d92add24936f724767d0fff13a137036e9b053fb3aaa6f8f9c5e3e60cb76d9ad816384a7bb626f7fe0cd1aad6d13ec1
SHA512 (libde265-1.0.5.tar.gz) = 57506ef8833014cd8c911aeb218946f77b657db5d506031b22f61c4162a574e2d329f2355a512177592a6df30d183a2ab8009520ae79984b86caef8a8eaf5ac2

Loading…
Cancel
Save