ports/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake
Thomas Zander 4e70493b38 Fix dependencies: x265, opus, twolame, fribidi
x265 was not correctly detected due to link attempt to libdl.
Also avidemux now automatically detects the presence of opus,
twolame and fribidi during configure and builds additional
plugins for them.
This changeset introduces new OPTIONS FRIBIDI OPUS TWOLAME
(all non-default) and fixes plugins pkg-plist.
Bump PORTREVISION for avidemux-*

PR:		206945
Submitted by:	mi
Reviewed by:	riggs
MFH:		2016Q1
2016-02-14 07:43:40 +00:00

12 lines
603 B
CMake

--- cmake/admCheckX265.cmake.orig 2016-01-29 08:47:25 UTC
+++ cmake/admCheckX265.cmake
@@ -19,9 +19,6 @@ MACRO(checkX265)
MESSAGE("WARNING: x265 core version is too old. At least version 9 is required.")
SET(X265_FOUND 0)
ELSE (x265_version LESS 9)
- IF(NOT WIN32)
- SET(DL dl)
- ENDIF(NOT WIN32)
FIND_HEADER_AND_LIB(X265 x265.h x265 x265_encoder_open_${x265_version} ${DL})
ENDIF (x265_version LESS 9)
ELSE (_X265_FOUND AND _X265_CONFIG_FOUND)