From 5d6f061278a53bb8eca2677a5e90d76f6f73c7d1 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 13 Jul 2018 00:00:48 -0300 Subject: [PATCH] libextractor: update to 1.7. --- srcpkgs/libextractor/patches/ffmpeg4.patch | 21 --------------------- srcpkgs/libextractor/template | 10 +++++----- 2 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/libextractor/patches/ffmpeg4.patch diff --git a/srcpkgs/libextractor/patches/ffmpeg4.patch b/srcpkgs/libextractor/patches/ffmpeg4.patch deleted file mode 100644 index 4100eb81884..00000000000 --- a/srcpkgs/libextractor/patches/ffmpeg4.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- src/plugins/thumbnailffmpeg_extractor.c.orig 2018-05-09 23:14:02.721105141 +0200 -+++ src/plugins/thumbnailffmpeg_extractor.c 2018-05-09 23:14:48.491629162 +0200 -@@ -107,7 +107,7 @@ - /** - * Number of bytes to feed to libav in one go, with padding (padding is zeroed). - */ --#define PADDED_BUFFER_SIZE (BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE) -+#define PADDED_BUFFER_SIZE (BUFFER_SIZE + AV_INPUT_BUFFER_PADDING_SIZE) - - /** - * Global handle to MAGIC data. -@@ -355,7 +355,7 @@ - encoder_codec_ctx->mb_lmin = encoder_codec_ctx->qmin * FF_QP2LAMBDA; - encoder_codec_ctx->mb_lmax = encoder_codec_ctx->qmax * FF_QP2LAMBDA; - #endif -- encoder_codec_ctx->flags = CODEC_FLAG_QSCALE; -+ encoder_codec_ctx->flags = AV_CODEC_FLAG_QSCALE; - encoder_codec_ctx->global_quality = encoder_codec_ctx->qmin * FF_QP2LAMBDA; - - dst_frame->pts = 1; - diff --git a/srcpkgs/libextractor/template b/srcpkgs/libextractor/template index 2e0fa49bdfb..e4c180e7893 100644 --- a/srcpkgs/libextractor/template +++ b/srcpkgs/libextractor/template @@ -1,7 +1,7 @@ # Template file for 'libextractor' pkgname=libextractor -version=1.6 -revision=2 +version=1.7 +revision=1 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config" @@ -12,8 +12,8 @@ short_desc="Library used to extract meta data from files" maintainer="Martin Riese " license="GPL-3" homepage="https://www.gnu.org/software/libextractor/" -distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" -checksum=26d4adca2e381d2a0c8b3037ec85e094ac5d40485623794466cfc176f5bbf69d +distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=e0a6fde824cf2212c4f217a5e0fc03391251cfb46ca000117f66cf7ae4368e8f post_install() { sed -i "s|\(-specs=.*hardened-ld\)||g" ${DESTDIR}/usr/lib/pkgconfig/libextractor.pc @@ -24,7 +24,7 @@ libextractor-devel_package() { depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include - vmove usr/lib/*.so + vmove "usr/lib/*.so" vmove usr/lib/pkgconfig vmove usr/share/man/man3 vmove usr/share/info