Date: Sun, 14 Feb 2016 17:06:13 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r408870 - in branches/2016Q1/multimedia: avidemux avidemux-plugins avidemux/files Message-ID: <201602141706.u1EH6DIY012917@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sun Feb 14 17:06:13 2016 New Revision: 408870 URL: https://svnweb.freebsd.org/changeset/ports/408870 Log: MFH: r408848 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 Approved by: ports-secteam (feld) Added: branches/2016Q1/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake - copied unchanged from r408848, head/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake Modified: branches/2016Q1/multimedia/avidemux-plugins/pkg-plist branches/2016Q1/multimedia/avidemux/Makefile.common Directory Properties: branches/2016Q1/ (props changed) Modified: branches/2016Q1/multimedia/avidemux-plugins/pkg-plist ============================================================================== --- branches/2016Q1/multimedia/avidemux-plugins/pkg-plist Sun Feb 14 17:01:30 2016 (r408869) +++ branches/2016Q1/multimedia/avidemux-plugins/pkg-plist Sun Feb 14 17:06:13 2016 (r408870) @@ -2,6 +2,7 @@ lib/ADM_plugins6/audioDecoder/libADM_ad_ lib/ADM_plugins6/audioDecoder/libADM_ad_a52.so lib/ADM_plugins6/audioDecoder/libADM_ad_dca.so lib/ADM_plugins6/audioDecoder/libADM_ad_lav.so +%%OPUS%%lib/ADM_plugins6/audioDecoder/libADM_ad_opus.so lib/ADM_plugins6/audioDecoder/libADM_ad_ulaw.so lib/ADM_plugins6/audioDecoder/libADM_ad_ms_adpcm.so lib/ADM_plugins6/audioDecoder/libADM_ad_ima_adpcm.so @@ -12,6 +13,7 @@ lib/ADM_plugins6/audioEncoders/libADM_ae lib/ADM_plugins6/audioEncoders/libADM_ae_lav_mp2.so lib/ADM_plugins6/audioEncoders/libADM_ae_lav_aac.so lib/ADM_plugins6/audioEncoders/libADM_ae_pcm.so +%%TWOLAME%%lib/ADM_plugins6/audioEncoders/libADM_ae_twolame.so lib/ADM_plugins6/videoEncoders/libADM_ve_yv12.so lib/ADM_plugins6/videoEncoders/libADM_ve_png.so lib/ADM_plugins6/videoEncoders/libADM_ve_jpeg.so @@ -37,6 +39,7 @@ lib/ADM_plugins6/videoFilters/libADM_vf_ lib/ADM_plugins6/videoFilters/libADM_vf_median.so lib/ADM_plugins6/videoFilters/libADM_vf_sharpen.so lib/ADM_plugins6/videoFilters/libADM_vf_separateField.so +%%FRIBIDI%%%%FREETYPE%%lib/ADM_plugins6/videoFilters/libADM_vf_ssa.so lib/ADM_plugins6/videoFilters/libADM_vf_mergeField.so lib/ADM_plugins6/videoFilters/libADM_vf_FluxSmooth.so lib/ADM_plugins6/videoFilters/libADM_hf_hflip.so Modified: branches/2016Q1/multimedia/avidemux/Makefile.common ============================================================================== --- branches/2016Q1/multimedia/avidemux/Makefile.common Sun Feb 14 17:01:30 2016 (r408869) +++ branches/2016Q1/multimedia/avidemux/Makefile.common Sun Feb 14 17:06:13 2016 (r408870) @@ -1,5 +1,6 @@ # $FreeBSD$ +PORTREVISION?= 1 AVIDEMUX_VERSION= 2.6.11 MASTER_SITES= \ SF/avidemux/avidemux/${PORTVERSION} @@ -33,12 +34,20 @@ CONFIGURE_ENV+= COMPILER_PATH=${LOCALBAS MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin OPTIONS_DEFINE= QT4 CLI FREETYPE FONTCONFIG OSS ESOUND JACK \ - PULSEAUDIO XVIDEO FAAC \ + PULSEAUDIO XVIDEO FAAC FRIBIDI OPUS TWOLAME \ FAAD X264 X265 VPX XVID SDL AMR VORBIS NLS LAME VAAPI VDPAU OPTIONS_DEFAULT= QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \ SDL FAAD VORBIS +OPTIONS_SUB= yes CLI_DESC= Build CLI tool +FRIBIDI_CMAKE_OFF= -DFRIDIBI:BOOL=OFF +FRIBIDI_LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi +OPUS_CMAKE_OFF= -DOPUS:BOOL=OFF +OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus +TWOLAME_CMAKE_OFF= -DTWOLAME:BOOL=OFF +TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame + .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME FAAC AMR X264 .endif Copied: branches/2016Q1/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake (from r408848, head/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q1/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake Sun Feb 14 17:06:13 2016 (r408870, copy of r408848, head/multimedia/avidemux/files/patch-cmake_admCheckX265.cmake) @@ -0,0 +1,12 @@ +--- 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602141706.u1EH6DIY012917>