commit
a560fc79ac
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ffmpeg'
|
# Template file for 'ffmpeg'
|
||||||
pkgname=ffmpeg
|
pkgname=ffmpeg
|
||||||
version=2.8.4
|
version=2.8.4
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Decoding, encoding and streaming software"
|
short_desc="Decoding, encoding and streaming software"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3"
|
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
|
libcdio-paranoia-devel libvpx-devel librtmp-devel freetype-devel libmodplug-devel
|
||||||
speex-devel celt-devel harfbuzz-devel libass-devel opus-devel pulseaudio-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)
|
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="x265 v4l2 vaapi vdpau"
|
||||||
build_options_default="v4l2"
|
build_options_default="v4l2"
|
||||||
|
@ -51,7 +51,8 @@ do_configure() {
|
||||||
--enable-postproc --enable-opencl ${_args} \
|
--enable-postproc --enable-opencl ${_args} \
|
||||||
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
|
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
|
||||||
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
|
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
|
||||||
$(vopt_enable vaapi) $(vopt_enable vdpau)
|
$(vopt_enable vaapi) $(vopt_enable vdpau) \
|
||||||
|
--enable-libbs2b
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
rm ${XBPS_WRAPPERDIR}/strip
|
rm ${XBPS_WRAPPERDIR}/strip
|
||||||
|
|
Loading…
Reference in New Issue