[ usr/local/include ])
PKG_3RD([libwebp],[auto],
- [libwebp-1.1.0],
- [ usr/local/lib*/libwebp*.a ],
- [ usr/local/include ])
+ [libwebp-1.3.2],
+ [ usr/local/lib*/libwebp*.a \
+ usr/local/lib*/libsharpyuv*.a ],
+ [ usr/local/include/webp \
+ usr/local/include/ ])
PKG_3RD([ffnvcodec],[auto],
[ffnvcodec],
esound.mak_vars+= CFLAGS=""
esound.ldflags=" -lm -lstdc++"
fftw.cfg_params= --disable-fortran --enable-shared=no
+ffmpeg.cfg_vars?= PKG_CONFIG_PATH="$(call bld_path,libwebp)/usr/local/lib/pkgconfig"
ffmpeg.cfg_params= \
--enable-pthreads --disable-avdevice --enable-gpl --disable-ffplay \
$(call if_want,VAAPI,--enable-vaapi,--disable-vaapi) \
libaom.mak_params?= ; $(MAKE) -C libaom*/aom.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?= mkdir build && cd build && $(call cmake_config,..)
-libwebp.mak_params?= -C build all install DESTDIR=$(call bld_path,libwebp)
+libwebp.cfg_vars?= ./autogen.sh;
+libwebp.cfg_params?= --prefix=$(call bld_path,libwebp)usr/local --enable-static --disable-shared --disable-libwebpdemux --disable-libwebpmux; \
+ make install;
mjpegtools.cflags?="$(call inc_path,libjpeg) $(call ld_path,libjpeg,build)"
mjpegtools.cfg_vars?= ./autogen.sh; export CXXFLAGS+="-std=c++11";
mjpegtools.cfg_params?= --enable-shared=no --without-libquicktime --without-libdv \
--- /dev/null
+--- libwebp-1.3.2/src/libwebp.pc.in.orig 2023-09-15 19:52:28.960943568 +0300
++++ libwebp-1.3.2/src/libwebp.pc.in 2023-09-15 19:55:00.828943460 +0300
+@@ -6,7 +6,7 @@
+ Name: libwebp
+ Description: Library for the WebP graphics format
+ Version: @PACKAGE_VERSION@
+-Requires.private: libsharpyuv
++Requires: libsharpyuv
+ Cflags: -I${includedir}
+-Libs: -L${libdir} -l@webp_libname_prefix@webp
++Libs: -L${libdir} -l@webp_libname_prefix@webp -lsharpyuv
+ Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@