From 7c8c8f6607b069135bce533d9232a02b907cce8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Koutensk=C3=BD?= Date: Thu, 23 Aug 2018 20:53:29 +0200 Subject: [PATCH] bs1770gain: update to 0.5.0.beta.5. (#1885) --- srcpkgs/bs1770gain/patches/ffmpeg4.patch | 33 ------------------------ srcpkgs/bs1770gain/template | 12 +++++---- 2 files changed, 7 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/bs1770gain/patches/ffmpeg4.patch diff --git a/srcpkgs/bs1770gain/patches/ffmpeg4.patch b/srcpkgs/bs1770gain/patches/ffmpeg4.patch deleted file mode 100644 index 89deff65f2f..00000000000 --- a/srcpkgs/bs1770gain/patches/ffmpeg4.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- libffsox-2/ffsox_frame.c.orig 2018-05-03 16:26:40.651562783 +0200 -+++ libffsox-2/ffsox_frame.c 2018-05-03 16:27:43.450930824 +0200 -@@ -48,7 +48,7 @@ - goto frame; - } - -- if (NULL!=codec&&(codec->capabilities&CODEC_CAP_VARIABLE_FRAME_SIZE)) -+ if (NULL!=codec&&(codec->capabilities&AV_CODEC_CAP_VARIABLE_FRAME_SIZE)) - nb_samples=10000; - else - nb_samples=cc->frame_size; ---- libffsox-2/ffsox_frame_writer.c.orig 2018-05-03 16:27:03.067335575 +0200 -+++ libffsox-2/ffsox_frame_writer.c 2018-05-03 16:28:05.418712077 +0200 -@@ -66,7 +66,7 @@ - goto open; - - if (fw->so.fc->oformat->flags&AVFMT_GLOBALHEADER) -- fw->so.cc->flags|=CODEC_FLAG_GLOBAL_HEADER; -+ fw->so.cc->flags|=AV_CODEC_FLAG_GLOBAL_HEADER; - - fw->so.st->time_base=fw->so.cc->time_base; - //fw->so.st->time_base=fr->si.st->time_base; ---- libffsox-2/ffsox_packet_writer.c.orig 2018-05-03 16:27:24.836116183 +0200 -+++ libffsox-2/ffsox_packet_writer.c 2018-05-03 16:28:19.530571557 +0200 -@@ -65,7 +65,7 @@ - pw->so.cc->codec_tag=0; - - if (pw->so.fc->oformat->flags&AVFMT_GLOBALHEADER) -- pw->so.cc->flags|=CODEC_FLAG_GLOBAL_HEADER; -+ pw->so.cc->flags|=AV_CODEC_FLAG_GLOBAL_HEADER; - - if (ffsox_sink_append(so,&pw->si,&pw->so)<0) { - DMESSAGE("appending output stream"); diff --git a/srcpkgs/bs1770gain/template b/srcpkgs/bs1770gain/template index 92ed366691d..80c93209611 100644 --- a/srcpkgs/bs1770gain/template +++ b/srcpkgs/bs1770gain/template @@ -1,12 +1,14 @@ # Template file for 'bs1770gain' pkgname=bs1770gain -version=0.4.12 -revision=2 +version=0.5.0.beta.5 +revision=1 +_real_version=0.5.0-beta-5 +wrksrc="${pkgname}-${_real_version}" build_style=gnu-configure makedepends="ffmpeg-devel sox-devel" short_desc="A loudness scanner compliant with ITU-R BS.1770" maintainer="Michal Koutenský " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://bs1770gain.sourceforge.net" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=cafc5440cf4940939c675e98c8dbeb839f4965d60f74270a37d4ee70559b3a59 +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${_real_version}.tar.gz" +checksum=27babaaf257b7d5c8890d82c30594103281c64b85efa231989c66afa09ae804d