From 067498885283420a51cb0bffccebcd5632c04aae Mon Sep 17 00:00:00 2001 From: Spencer Hill Date: Thu, 21 Jan 2016 18:38:54 -0500 Subject: [PATCH] New package: libavresample-2.8.5 --- common/shlibs | 1 + srcpkgs/ffmpeg/template | 13 ++++++++++--- srcpkgs/libavresample | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/libavresample diff --git a/common/shlibs b/common/shlibs index dc0ffaacabf..c2365b13b0a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2331,3 +2331,4 @@ libmill.so.12 libmill-1.4_1 libykneomgr.so.0 libykneomgr-0.1.8_1 libopenshot-audio.so.3 libopenshot-audio-0.0.6_1 libopenshot.so.6 libopenshot-0.0.9_1 +libavresample.so.2 libavresample-2.8.5_3 diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index ba0762b2b46..f42314f0607 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -1,7 +1,7 @@ # Template file for 'ffmpeg' pkgname=ffmpeg version=2.8.5 -revision=2 +revision=3 short_desc="Decoding, encoding and streaming software" maintainer="Juan RP " license="GPL-3" @@ -52,7 +52,7 @@ do_configure() { $(vopt_if x265 '--enable-libx265' '--disable-libx265') \ $(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \ $(vopt_enable vaapi) $(vopt_enable vdpau) \ - --enable-libbs2b + --enable-libbs2b --enable-avresample } do_build() { rm ${XBPS_WRAPPERDIR}/strip @@ -75,6 +75,12 @@ libavdevice_package() { vmove "usr/lib/libavdevice.so.*" } } +libavresample_package() { + short_desc="FFmpeg audio resampling library" + pkg_install() { + vmove "usr/lib/libavresample.so.*" + } +} libavformat_package() { short_desc="FFmpeg file format library" pkg_install() { @@ -120,7 +126,8 @@ ffmpeg-devel_package() { libavfilter>=${version}_${revision} libpostproc>=${version}_${revision} libswscale>=${version}_${revision} - libswresample>=${version}_${revision}" + libswresample>=${version}_${revision} + libavresample>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include diff --git a/srcpkgs/libavresample b/srcpkgs/libavresample new file mode 120000 index 00000000000..a9f1eea092d --- /dev/null +++ b/srcpkgs/libavresample @@ -0,0 +1 @@ +ffmpeg \ No newline at end of file