# pkg-config names
pc_libaom=aom
+pc_libsvtav1=SvtAv1Enc
pc_dav1d=dav1d
pc_libwebp=libwebp libwebpmux
pc_opus=opus
$(call if_ena,openjpeg,--enable-libopenjpeg) \
$(call if_ena,lame,--enable-libmp3lame) \
$(call if_ena,libaom,--enable-libaom) \
+ $(call if_ena,libsvtav1,--enable-libsvtav1) \
$(call if_ena,dav1d,--enable-libdav1d) \
$(call if_ena,libwebp,--enable-libwebp) \
$(call if_ena,opus,--enable-libopus) \
$(call inc_path,twolame) \
$(call inc_path,lame) \
$(call inc_path,libaom) \
+ $(call inc_path,libsvtav1) \
$(call inc_path,dav1d) \
$(call inc_path,libwebp) \
$(call inc_path,openjpeg) \
$(call ld_path,twolame,libtwolame/.libs) \
$(call ld_path,lame,libmp3lame/.libs) \
$(call ld_path,libaom,usr/local/lib) \
+ $(call ld_path,libsvtav1,usr/local/lib) \
$(call ld_path,dav1d,usr/local/lib) \
$(call ld_path,libwebp,usr/local/lib) \
$(call ld_path,openjpeg,bin) \
libaom.cfg_params?= -DENABLE_TESTS=no -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=no -DENABLE_SHARED=no -DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_EXAMPLES=no -DCMAKE_INSTALL_PREFIX=$(call bld_path,libaom)/usr/local
libaom.mak_params?= ; $(MAKE) -C libaom*/aom.build install
+libsvtav1.cfg_vars?= mkdir libsvtav1.build && cd libsvtav1.build && $(call cmake_config,..)
+libsvtav1.cfg_params?= -DENABLE_TESTS=no -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=no -DENABLE_DOCS=no -DENABLE_SHARED=no -DCMAKE_INSTALL_LIBDIR=lib \
+ -DENABLE_EXAMPLES=no -DCMAKE_INSTALL_PREFIX=$(call bld_path,libsvtav1)/usr/local
+libsvtav1.mak_params?= ; $(MAKE) -C libsvtav1*/libsvtav1.build install
dav1d.cfg_vars?=echo "echo dav1d custom make" >> configure; chmod +x ./configure;
dav1d.mak_params?=; $(MAKE) -C dav1d* install DESTDIR="$(call bld_path,dav1d)"
libwebp.cfg_vars?= ./autogen.sh;
$(call rules,$(call std-build,encore))
$(call rules,$(call std-build,esound,audiofile))
$(call rules,$(call std-build,ffmpeg, twolame lame openjpeg opus \
- libtheora x264 x265 libvpx libaom dav1d libwebp \
+ libtheora x264 x265 libvpx libaom libsvtav1 dav1d libwebp \
$(call if_want,NV, ffnvcodec)))
$(call rules,$(call std-build,fftw))
$(call rules,$(call std-build,flac,libogg))
$(call rules,$(call std-build,ladspa))
$(call rules,$(call std-build,lame))
$(call rules,$(call std-build,libaom))
+$(call rules,$(call std-build,libsvtav1))
$(call rules,$(call std-build,dav1d))
$(call rules,$(call std-build,libwebp))
$(call rules,$(call std-build,libavc1394,libraw1394))
https://download.osgeo.org/libtiff/tiff-4.6.0.tar.xz
https://sourceforge.net/projects/libuuid/files/latest/download?source=directory - 1.0.3
https://code.videolan.org/videolan/x264/-/tree/stable/x264-stable.tar.gz (Jan. 2023 version r3106)
-https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz
+https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz (snapshot 17122023)
https://ffmpeg.org/releases/ffmpeg-6.1.tar.bz2
https://github.com/webmproject/libvpx/archive/v1.13.1.tar.gz
https://code.videolan.org/videolan/dav1d/-/archive/0.5.1/dav1d-0.5.1.tar.gz
https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz
#https://github.com/webmproject/libwebp = libwebp-1.3.2
https://github.com/webmproject/libwebp/archive/refs/tags/v1.3.2.tar.gz
-https://github.com/mozilla/aom = libaom-v3.4.0
+https://github.com/mozilla/aom = libaom-v3.8.0 (need v3.4.0 for ubuntu 16)
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git ??
https://github.com/FFmpeg/nv-codec-headers/releases/download/n10.0.26.0/nv-codec-headers-10.0.26.0.tar.gz
+https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases (v.1.8.0)
https://gitlab.com/drobilla/lv2/-/archive/v1.18.0/lv2-v1.18.0.tar.gz
http://download.drobilla.net/suil-0.10.6.tar.bz2