[FFmpeg-devel] [PATCH]Do not require pkg-config for libx265

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 26 10:42:47 CEST 2014


Hi!

As HEVC gets more common, this is starting to hit users.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/Changelog b/Changelog
index 3d416c4..d52f4ea 100644
--- a/Changelog
+++ b/Changelog
@@ -26,6 +26,7 @@ version <next>:
 - native Opus decoder
 - display matrix export and rotation api
 - WebVTT encoder
+- Do not require pkg-config for x265
 
 
 version 2.2:
diff --git a/configure b/configure
index fae2f77..af88b79 100755
--- a/configure
+++ b/configure
@@ -4695,7 +4695,7 @@ enabled libwebp           && require_pkg_config libwebp webp/encode.h WebPGetEnc
 enabled libx264           && require libx264 x264.h x264_encoder_encode -lx264 &&
                              { check_cpp_condition x264.h "X264_BUILD >= 118" ||
                                die "ERROR: libx264 must be installed and version must be >= 0.118."; }
-enabled libx265           && require_pkg_config x265 x265.h x265_encoder_encode &&
+enabled libx265           && require libx265 x265.h x265_encoder_encode -lx265 -lstdc++ &&
                              { check_cpp_condition x265.h "X265_BUILD >= 13" ||
                                die "ERROR: libx265 version must be >= 13."; }
 enabled libxavs           && require libxavs xavs.h xavs_encoder_encode -lxavs


More information about the ffmpeg-devel mailing list