From 0da32d666e670a20bdb130e1f14859c20585fb11 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Sat, 18 Jan 2020 12:08:05 +0000 Subject: [PATCH] Update to 1.0.5 --- .gitignore | 1 + ffmpeg_2.9.patch | 15 --------------- libde265.spec | 14 +++++++------- sources | 2 +- 4 files changed, 9 insertions(+), 23 deletions(-) delete mode 100644 ffmpeg_2.9.patch diff --git a/.gitignore b/.gitignore index 81adf8a..826658f 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/ffmpeg_2.9.patch b/ffmpeg_2.9.patch deleted file mode 100644 index 2c08cb0..0000000 --- a/ffmpeg_2.9.patch +++ /dev/null @@ -1,15 +0,0 @@ -Description: Replace deprecated FFmpeg API -Author: Andreas Cadhalpun -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]; diff --git a/libde265.spec b/libde265.spec index 854cbf3..a6fd07a 100644 --- a/libde265.spec +++ b/libde265.spec @@ -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 - 1.0.5-1 +- Update to 1.0.5 + * Sun Dec 22 2019 Leigh Scott - 1.0.4-1 - Update to 1.0.4 diff --git a/sources b/sources index d763a95..28a96e5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libde265-1.0.4.tar.gz) = 1c57a0b543d17a09928ce126b957b71d3d92add24936f724767d0fff13a137036e9b053fb3aaa6f8f9c5e3e60cb76d9ad816384a7bb626f7fe0cd1aad6d13ec1 +SHA512 (libde265-1.0.5.tar.gz) = 57506ef8833014cd8c911aeb218946f77b657db5d506031b22f61c4162a574e2d329f2355a512177592a6df30d183a2ab8009520ae79984b86caef8a8eaf5ac2