From patchwork Tue Aug 1 15:14:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashish Singh X-Patchwork-Id: 4575 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.46.211 with SMTP id u202csp89467vsu; Tue, 1 Aug 2017 08:17:14 -0700 (PDT) X-Received: by 10.28.73.193 with SMTP id w184mr1844812wma.178.1501600634467; Tue, 01 Aug 2017 08:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501600634; cv=none; d=google.com; s=arc-20160816; b=1FJtJIZhfh81wZvvHK+YK8FWA+XSLSIKjOxQV0FUCr81x45c7oIlAsoXY3YTMGaeeM LdUQu2mARwRxFcp67b0kjmKwhV4niHACpvYtwCB9rh5P0RHoY7RYNijxPC2N/yPl7MF1 y0y2E7sGyA+n01xwyzScsG3delyWLP2X52nusGw5g/M11JxehyMkLMKurzDKJY2lW8a+ cX07iK5DIRBFiHHj2zncGEcVM7377EF2mPTYrX4ZULzU/8njbw7q9PCzSUUQ5GI3Q2PU uGj6DT91HoxUB+NqqgxyIw8bF4EtJfUVZdlZOdx3LLg+9JaC1JvJqqmpQoQK6RXKilYz z3Og== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=7lzJ7CLg1K9rycch1L/bzHQU0qFSz8hQfZYL+NPMiVM=; b=oy+GpiJc8GjHuHch+QAty3TxDwyoz5d89755r5f1J3Ka6tbuUJSRI3bNYjoeLUBgeD REnEo+1f7NNNCAep2hAC9boPHkvRs3Cp5G++8TP2wSpy/3vFwP4vf5oiuDygWnTL25K+ lTagIQ96J/CEK+vJNj1uhG85/VsIXZRfXN9lVIH9iKWRxvTcS16DPATzrxv6xbG8GYx0 bVH90vgZ9RDmf16sdXKNoTVMaBCfflgaPiaIgwNbOwuI2ppv5paxYr5oGqo0nfnF55Ve /isgYeTwvb6Zk6m0HT55OjYR3BiYmk4D2OstKesYPXfgOVThMdBMxe5CjxkjD0L1xiAM cZzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=CXcYTzH3; 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 59si19549736wrp.7.2017.08.01.08.17.13; Tue, 01 Aug 2017 08:17:14 -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=CXcYTzH3; 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 E321168A499; Tue, 1 Aug 2017 18:17:08 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4289D68A469 for ; Tue, 1 Aug 2017 18:17:02 +0300 (EEST) Received: by mail-pf0-f196.google.com with SMTP id j68so2081910pfc.2 for ; Tue, 01 Aug 2017 08:17:05 -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:in-reply-to:references; bh=Hu8vIxQYrjbgw7S4D9eVvn5lszL3/5L7lC757NuZKfw=; b=CXcYTzH3N/qNa0aH6z1nEN49UClyEOIPs4EIKGK/VSHOXqPoWZM96hoNQ39gzGw1oX +jdDM4Ri9sQNj6qXZ1CjvpVBoSfLXsg47KKWnc1BhR2Fs5Q6xuIi4G1HxjikyOR+TNZT 1HHTdwVAIXW33zO/kxINx5CfAKu9tdjCyhGQ4tn6Xo5swt0FKQd76vt7I3YjOvUG2Y/8 hVfOgYTZNHva01JNRs/9YpGvqnEo5ESSdgK4On/UkzepnGUwq5tUb7NYWJzYeYMY1yby b67KCqGSG6lKysz7QUA1pWNQ7Eiqpo2dBLB7LyWh5E3qqh6KA4ebIg6/7gkpyuxpFXZw wEGA== 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:in-reply-to :references; bh=Hu8vIxQYrjbgw7S4D9eVvn5lszL3/5L7lC757NuZKfw=; b=NgCrTC+av4cE1SNG2OzUlyp8ibQ+cAEejknsOf7p4DsBZAl7xbL+UP+Dqe7KzlfBpa DyjsPMalSuIwxGayIEJCAhjJXoRho2KfGbqIvp7yTphU1RtKurZj8ni4V2Wcf65+9/Lb l2+vjzTn6f2tqsip6i6MBM13/5IVrf0sm8/SMXai8YJByp5juCsV+NAYbT9W9NE2NzSn Q5/NiFVMLEj3qIXTcjXndqxEfRgkYNVx6cy23+fWJpcr3kLYn/FNJCZP5L9Go7OvpGm0 a6BIITPwnP0eQ8E9Vfsz5vs5ZoHgCzBGk3QDFOliPC802ZCGwx/DN5vlY+lxjGK8BIB3 J71Q== X-Gm-Message-State: AIVw112KW16zZQ4/EyQzVbeb6/zkuBM/OJObGOJQS5jqmZIyKYuNFd/z LBLRcDDKqhfPGTAG X-Received: by 10.98.14.93 with SMTP id w90mr19859183pfi.298.1501600623071; Tue, 01 Aug 2017 08:17:03 -0700 (PDT) Received: from localhost.localdomain ([117.244.39.154]) by smtp.gmail.com with ESMTPSA id x29sm10424562pff.2.2017.08.01.08.17.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Aug 2017 08:17:02 -0700 (PDT) From: Ashish Pratap Singh To: ffmpeg-devel@ffmpeg.org Date: Tue, 1 Aug 2017 20:44:18 +0530 Message-Id: <1501600458-9286-1-git-send-email-ashk43712@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500634119-28731-1-git-send-email-ashk43712@gmail.com> References: <1500634119-28731-1-git-send-email-ashk43712@gmail.com> 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 This patch makes the libvmaf filter use pkg-config to detect and link to 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