[BACK]Return to patch-cmake_FindFFMPEG.cmake CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / olive-editor / patches

File: [cvs.NetBSD.org] / pkgsrc / multimedia / olive-editor / patches / patch-cmake_FindFFMPEG.cmake (download)

Revision 1.1, Thu Sep 19 14:28:15 2019 UTC (2 years, 4 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, HEAD

Add multimedia/olive-editor.

Olive is a free non-linear video editor aiming to provide a fully-featured
alternative to high-end professional video editing software.

$NetBSD: patch-cmake_FindFFMPEG.cmake,v 1.1 2019/09/19 14:28:15 nia Exp $

Support pkgsrc's install locations for ffmpeg.

--- cmake/FindFFMPEG.cmake.orig	2019-07-09 15:16:17.000000000 +0000
+++ cmake/FindFFMPEG.cmake
@@ -34,6 +34,7 @@ function (_ffmpeg_find component headern
     NAMES
       "lib${component}/${headername}"
     PATHS
+      "${FFMPEG_INCLUDE_ROOT}"
       "${FFMPEG_ROOT}/include"
       ~/Library/Frameworks
       /Library/Frameworks
@@ -59,6 +60,7 @@ function (_ffmpeg_find component headern
     NAMES
       "${component}"
     PATHS
+      "${FFMPEG_LIB_ROOT}"
       "${FFMPEG_ROOT}/lib"
       ~/Library/Frameworks
       /Library/Frameworks