From patchwork Fri Jul 21 10:48:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashish Singh X-Patchwork-Id: 4413 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.1.76 with SMTP id 73csp760005vsb; Fri, 21 Jul 2017 03:56:31 -0700 (PDT) X-Received: by 10.223.131.130 with SMTP id 2mr4423038wre.51.1500634591417; Fri, 21 Jul 2017 03:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500634591; cv=none; d=google.com; s=arc-20160816; b=cdIcXWnt6cip7fnaRRYBk5fkL+tArbQxICiLW4NyegXXTF3xuRlJ+1XJw3L//Qx57s b3B8/THvLZQKm2wp5nmv7DZbR01vZw/kNNceCf/h7NlEWvQBt+OPxNfXhGvMzLCPia9I dtA+QKIMDbdxrHvILDdVmU/Xh/YGtawygkMCh7kdBL4D+JgCW5b7nV9TQf3Zetq8xN2x Q4iwI1RV8xu9BgYMgL1XDrhv1fiWm8Z3Bl2YFSV0qgb9NFfXNiYAf2DU+cu1NI5/Shxv GD+vuH5AY8KVano4Iqm7ckUenOiT3/ToKHZ/fN7tT5e2yLLzqjaAG1WgpELaekj7IS+r 78KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=E4gYmYFe5JiOBUhYApl2/FgwN6Le9eid/Cw86BBOxMk=; b=E7fzvNqfyN9QjHLcsqQPXAPDu763I3B2CNPVfcnoLHW50H3P7i1PNHBfUk4s0p3ivD 72ZPuK8qDRHeCqTt4Gdl2DIuntPzY8oXTLW3I9LDTjN+21MqqlJ6tEtLfZY2xjDSOMz9 SpRWHCmCtLpxWy763XzeGBZIMbWO0SeVwM3t4gfnWHHnI/WyX1bDGQ4UupoKE0eK8Xq0 9PEW5Nm6hrTcvxKWGLXfzDX7lYo8PaKESNUfyb00P0PumFlV8F3WpckbovLf+C9Zh9bV Xls5aDfV2rIUa0EolF85H8zD38zaT6Tp9Cp7WXvNjBnmOgiT4K9Gh++ICldBbFo2vUeW aPTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=kzbNNDlQ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id x4si821181wmx.83.2017.07.21.03.56.30; Fri, 21 Jul 2017 03:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=kzbNNDlQ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 736B0680A78; Fri, 21 Jul 2017 13:56:19 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F37FC680A78 for ; Fri, 21 Jul 2017 13:56:12 +0300 (EEST) Received: by mail-pf0-f193.google.com with SMTP id o88so4601947pfk.1 for ; Fri, 21 Jul 2017 03:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1lfU+uD0i0lbtSW4gLiArndEbOaX+jbooBlLEnsACz8=; b=kzbNNDlQxAd8J/mjF4sCL60ar2ihtnKQ7iS7PZxGbCtSzRLdUJA7Kw+04afc5t6wfJ VYsVV+gUHEJpqVOOeFqgCyDjgDvrFuV6djnOJ4rSTYB4JZMlINSctc/VjwVXbXN/l/Ny zQ5WQv6O6lHrjPZMvEiiu1+5d5pA1l93cCyPVRyJcJTtG7pGtiwuVV1FzWwy935nbwsE uubvPE5oRO63BEA3xuQm4155hjNP6Hqb3YJ9/0sMY2VfjP6dbzl2kqWZSjUY+Qplmb33 kx8KeKKRrh/WrFZHdvPAGZjzJyEWV7V5E8/RfpXJGgZisnSzDa/UUoFlOPzeE00Aq2Gd iHUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1lfU+uD0i0lbtSW4gLiArndEbOaX+jbooBlLEnsACz8=; b=Nrr6Vy5u0ComWD2mcxolFPlRIuLyAhfLYG4E5P6YHqCnrJgVSZ4iGAVzy8ut04bgL0 ShSaPkrhbvytMcrNf2NoZxgoLCCQAxqciZLT4jZEXF5tPYvCKqnITqEX5+z2OpErTUrc MlFL7bxBVtSFeq6OlgFIgB2adnkAyRybfLLNV5WdRvdga0syTS6BTNKZ0MmCCnxrdVhr T8sFT65fKK0GiLNWxnrrFf5zJSUqvRcHhOuPglYmvXmgb11G2Xfdj/XpF+EoMwM2jvb/ QOkUjOLmYy6MrWkh9PZ3JmJ1yCIaQBUaQzN9bna/0MysSaNj1fsq9/Zh2yuSF9hhqva0 RI2A== X-Gm-Message-State: AIVw112de6D7Mmbypx7to2ADF5pYBJ0mfDfW2wS1tEDfkw/rLt6utYMs 1jjjeuinrvhKrVaD X-Received: by 10.98.96.66 with SMTP id u63mr7215090pfb.68.1500634129749; Fri, 21 Jul 2017 03:48:49 -0700 (PDT) Received: from localhost.localdomain ([117.244.49.154]) by smtp.gmail.com with ESMTPSA id n184sm7753530pga.89.2017.07.21.03.48.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Jul 2017 03:48:49 -0700 (PDT) From: Ashish Pratap Singh To: ffmpeg-devel@ffmpeg.org Date: Fri, 21 Jul 2017 16:18:39 +0530 Message-Id: <1500634119-28731-1-git-send-email-ashk43712@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [FFmpeg-devel] [PATCH] configure: require pkg-config for libvmaf X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Ashish Singh MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Ashish Singh Hi, libvmaf now has a pkg-config file. This patch makes libvmaf filter link to pkg-config of libvmaf. Signed-off-by: Ashish Singh --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index 57694f3..aa8a785 100755 --- a/configure +++ b/configure @@ -5848,8 +5848,7 @@ enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; } enabled libv4l2 && require_pkg_config libv4l2 libv4l2.h v4l2_ioctl enabled libvidstab && require_pkg_config "vidstab >= 0.98" vid.stab/libvidstab.h vsMotionDetectInit -enabled libvmaf && { check_lib libvmaf "libvmaf.h" "compute_vmaf" -lvmaf -lstdc++ -lpthread -lm || - die "ERROR: libvmaf must be installed"; } +enabled libvmaf && require_pkg_config libvmaf libvmaf.h compute_vmaf enabled libvo_amrwbenc && require libvo_amrwbenc vo-amrwbenc/enc_if.h E_IF_init -lvo-amrwbenc enabled libvorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg