[SCM] libav/experimental: configure: use pkg-config for libx264
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:03:27 UTC 2014
The following commit has been merged in the experimental branch:
commit 4321e507564b2d8a5dfc630f8d6fefba6fdc1e92
Author: Vittorio Giovara <vittorio.giovara at gmail.com>
Date: Tue Jun 10 17:46:57 2014 -0400
configure: use pkg-config for libx264
diff --git a/configure b/configure
index 4ed6f16..61cd2d4 100755
--- a/configure
+++ b/configure
@@ -4096,7 +4096,7 @@ enabled libvpx && {
enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx" -lvpx || disable libvpx_vp9_encoder; } }
enabled libwavpack && require libwavpack wavpack/wavpack.h WavpackOpenFileOutput -lwavpack
enabled libwebp && require_pkg_config libwebp webp/encode.h WebPGetEncoderVersion
-enabled libx264 && require libx264 x264.h x264_encoder_encode -lx264 &&
+enabled libx264 && require_pkg_config x264 "stdint.h x264.h" x264_encoder_encode &&
{ check_cpp_condition x264.h "X264_BUILD >= 118" ||
die "ERROR: libx264 version must be >= 0.118."; }
enabled libx265 && require_pkg_config x265 x265.h x265_encoder_encode &&
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list