Merge pull request #3338 from lemmi/ffmpeg

ffmpeg: add libbs2b
This commit is contained in:
Juan RP 2016-01-09 06:30:51 +01:00
commit a560fc79ac
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ffmpeg'
pkgname=ffmpeg
version=2.8.4
revision=1
revision=2
short_desc="Decoding, encoding and streaming software"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
@ -16,7 +16,7 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
libcdio-paranoia-devel libvpx-devel librtmp-devel freetype-devel libmodplug-devel
speex-devel celt-devel harfbuzz-devel libass-devel opus-devel pulseaudio-devel
ocl-icd-devel $(vopt_if x265 x265-devel) $(vopt_if vaapi libva-devel)
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel)"
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel) libbs2b-devel"
build_options="x265 v4l2 vaapi vdpau"
build_options_default="v4l2"
@ -51,7 +51,8 @@ do_configure() {
--enable-postproc --enable-opencl ${_args} \
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
$(vopt_enable vaapi) $(vopt_enable vdpau)
$(vopt_enable vaapi) $(vopt_enable vdpau) \
--enable-libbs2b
}
do_build() {
rm ${XBPS_WRAPPERDIR}/strip