From 0685a7a78f28aa088c480ff8557fa42087bf95b3 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 9 Nov 2018 13:58:34 +0200 Subject: [PATCH] bs1770gain: update to 0.5.1 --- packages/bs1770gain/build.sh | 5 ++- .../bs1770gain/ffmpeg-4-compatibility.patch | 36 ------------------- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 packages/bs1770gain/ffmpeg-4-compatibility.patch diff --git a/packages/bs1770gain/build.sh b/packages/bs1770gain/build.sh index 37a4d4843..cf586381e 100644 --- a/packages/bs1770gain/build.sh +++ b/packages/bs1770gain/build.sh @@ -1,8 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://bs1770gain.sourceforge.net/ TERMUX_PKG_DESCRIPTION="Tool to normalize the loudness of different audio files to the same level" -TERMUX_PKG_VERSION=0.4.12 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_VERSION=0.5.1 TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/bs1770gain/bs1770gain/${TERMUX_PKG_VERSION}/bs1770gain-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=cafc5440cf4940939c675e98c8dbeb839f4965d60f74270a37d4ee70559b3a59 +TERMUX_PKG_SHA256=06749f866417e6bcdb9fb24883cb08ae54248333a532380c7ddc56f7a45a8e64 TERMUX_PKG_DEPENDS="ffmpeg, sox" diff --git a/packages/bs1770gain/ffmpeg-4-compatibility.patch b/packages/bs1770gain/ffmpeg-4-compatibility.patch deleted file mode 100644 index 1dcd3fe02..000000000 --- a/packages/bs1770gain/ffmpeg-4-compatibility.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -u -r ../bs1770gain-0.4.12/libffsox-2/ffsox_frame.c ./libffsox-2/ffsox_frame.c ---- ../bs1770gain-0.4.12/libffsox-2/ffsox_frame.c 2015-06-23 07:38:44.000000000 +0000 -+++ ./libffsox-2/ffsox_frame.c 2018-06-24 00:20:40.757492455 +0000 -@@ -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; -diff -u -r ../bs1770gain-0.4.12/libffsox-2/ffsox_frame_writer.c ./libffsox-2/ffsox_frame_writer.c ---- ../bs1770gain-0.4.12/libffsox-2/ffsox_frame_writer.c 2015-06-23 07:38:44.000000000 +0000 -+++ ./libffsox-2/ffsox_frame_writer.c 2018-06-24 00:20:40.757492455 +0000 -@@ -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; -diff -u -r ../bs1770gain-0.4.12/libffsox-2/ffsox_packet_writer.c ./libffsox-2/ffsox_packet_writer.c ---- ../bs1770gain-0.4.12/libffsox-2/ffsox_packet_writer.c 2015-06-23 07:38:44.000000000 +0000 -+++ ./libffsox-2/ffsox_packet_writer.c 2018-06-24 00:20:59.189280111 +0000 -@@ -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");