ffmpeg: add build option nvenc
This commit is contained in:
parent
24f8d15695
commit
b84952bf5b
|
@ -46,6 +46,7 @@ desc_option_lzo="Enable support for LZO compression format"
|
|||
desc_option_microhttpd="Enable support for microhttpd"
|
||||
desc_option_mpcdec="Enable support for the Musepack decoder"
|
||||
desc_option_notify="Enable support for desktop notifications (libnotify)"
|
||||
desc_option_nvenc="Enable support for NVENC codecs"
|
||||
desc_option_opengl="Enable support for OpenGL"
|
||||
desc_option_openssl="Enable support for SSL with OpenSSL"
|
||||
desc_option_pam="Enable support for PAM"
|
||||
|
|
|
@ -20,9 +20,10 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
|
|||
ocl-icd-devel $(vopt_if x265 x265-devel) $(vopt_if vaapi libva-devel)
|
||||
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel) libbs2b-devel
|
||||
libvidstab-devel $(vopt_if faac faac-devel) $(vopt_if fdk_aac fdk-aac-devel)
|
||||
$(vopt_if vpx libvpx-devel) $(vopt_if aom libaom-devel)"
|
||||
$(vopt_if vpx libvpx-devel) $(vopt_if aom libaom-devel)
|
||||
$(vopt_if nvenc nv-codec-headers)"
|
||||
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom"
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc"
|
||||
build_options_default="x265 v4l2 vpx"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
|
@ -57,7 +58,7 @@ do_configure() {
|
|||
--enable-shared --enable-static --enable-libxcb \
|
||||
--enable-libpulse --enable-libfreetype --enable-libmodplug \
|
||||
--enable-libspeex --enable-libcelt --enable-libass \
|
||||
--enable-libopus --enable-librtmp \
|
||||
--enable-libopus --enable-librtmp $(vopt_enable nvenc) \
|
||||
$(vopt_if faac '--enable-nonfree --enable-libfaac') \
|
||||
$(vopt_if fdk_aac '--enable-nonfree --enable-libfdk-aac') \
|
||||
--disable-libopencore_amrnb --disable-libopencore_amrwb \
|
||||
|
|
Loading…
Reference in New Issue