From owner-svn-ports-all@freebsd.org Mon Feb 17 02:32:06 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0116524A276; Mon, 17 Feb 2020 02:32:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LSg952Vhz3Fly; Mon, 17 Feb 2020 02:32:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A04212FC37; Mon, 17 Feb 2020 02:32:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01H2W5Jt018641; Mon, 17 Feb 2020 02:32:05 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01H2W45E018637; Mon, 17 Feb 2020 02:32:04 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202002170232.01H2W45E018637@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 17 Feb 2020 02:32:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526335 - in head/multimedia/libopenshot: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/multimedia/libopenshot: . files X-SVN-Commit-Revision: 526335 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2020 02:32:06 -0000 Author: yuri Date: Mon Feb 17 02:32:04 2020 New Revision: 526335 URL: https://svnweb.freebsd.org/changeset/ports/526335 Log: multimedia/libopenshot: Update 0.2.3-595 -> 0.2.4-29 PR: 244063 Submitted by: Tatsuki Makino (maintainer) Modified: head/multimedia/libopenshot/Makefile head/multimedia/libopenshot/distinfo head/multimedia/libopenshot/files/patch-src_CMakeLists.txt head/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp head/multimedia/libopenshot/pkg-plist Modified: head/multimedia/libopenshot/Makefile ============================================================================== --- head/multimedia/libopenshot/Makefile Mon Feb 17 02:22:57 2020 (r526334) +++ head/multimedia/libopenshot/Makefile Mon Feb 17 02:32:04 2020 (r526335) @@ -2,10 +2,10 @@ PORTNAME= libopenshot DISTVERSIONPREFIX= v -DISTVERSION= 0.2.3-595 -PORTREVISION= 2 -DISTVERSIONSUFFIX= -ga1158ee +DISTVERSION= 0.2.4-29 +DISTVERSIONSUFFIX= -g9bb5d93 CATEGORIES= multimedia +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= OpenShot Video Library @@ -24,7 +24,7 @@ USES= cmake compiler:c++11-lang pkgconfig python:3.5+ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= OpenShot -USE_PYTHON= noflavors +USE_PYTHON= flavors USE_QT= core gui network multimedia widgets qmake_build buildtools_build CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ @@ -32,6 +32,7 @@ CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ CMAKE_DISABLE_FIND_PACKAGE_Doxygen\ CMAKE_DISABLE_FIND_PACKAGE_RESVG\ CMAKE_DISABLE_FIND_PACKAGE_Ruby +CMAKE_OFF= ENABLE_COVERAGE CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_ImageMagick:BOOL=ON OPTIONS_DEFAULT= FFMPEG OPTIONS_RADIO= IMAGEMAGICK @@ -48,7 +49,7 @@ IMAGEMAGICK7_CMAKE_ON= -DCMAKE_DISABLE_FIND_PACKAGE_Im LIBAV_LIB_DEPENDS= libavformat.so:multimedia/libav .if !exists(/usr/lib/libomp.so) -LIB_DEPENDS+= libomp.so:devel/openmp +IGNORE= openmp of base system is required .endif .include Modified: head/multimedia/libopenshot/distinfo ============================================================================== --- head/multimedia/libopenshot/distinfo Mon Feb 17 02:22:57 2020 (r526334) +++ head/multimedia/libopenshot/distinfo Mon Feb 17 02:32:04 2020 (r526335) @@ -1,3 +1,3 @@ -TIMESTAMP = 1577502000 -SHA256 (OpenShot-libopenshot-v0.2.3-595-ga1158ee_GH0.tar.gz) = b924dea93cfe4cf067ea1beba76ad1c57a385531b92d221de5e4da35111213e7 -SIZE (OpenShot-libopenshot-v0.2.3-595-ga1158ee_GH0.tar.gz) = 10290486 +TIMESTAMP = 1581390000 +SHA256 (OpenShot-libopenshot-v0.2.4-29-g9bb5d93_GH0.tar.gz) = 5858d87556858c54de75144a40eee0f7e5e52d66d8968b7f15e36d6c1dc3242d +SIZE (OpenShot-libopenshot-v0.2.4-29-g9bb5d93_GH0.tar.gz) = 10296027 Modified: head/multimedia/libopenshot/files/patch-src_CMakeLists.txt ============================================================================== --- head/multimedia/libopenshot/files/patch-src_CMakeLists.txt Mon Feb 17 02:22:57 2020 (r526334) +++ head/multimedia/libopenshot/files/patch-src_CMakeLists.txt Mon Feb 17 02:32:04 2020 (r526335) @@ -1,34 +1,16 @@ ---- src/CMakeLists.txt.orig 2019-12-19 13:04:31 UTC +--- src/CMakeLists.txt.orig 2020-02-10 17:52:00 UTC +++ src/CMakeLists.txt -@@ -358,6 +358,11 @@ if (TARGET cppzmq) +@@ -364,7 +364,13 @@ if (TARGET RESVG::resvg) + set(CMAKE_SWIG_FLAGS "-DUSE_RESVG=1") endif() - +find_library(EXECINFO_LIBRARY NAMES execinfo) +if(NOT EXECINFO_LIBRARY) + message(FATAL_ERROR "${EXECINFO_LIBRARY}") +endif(NOT EXECINFO_LIBRARY) -+ ############### LINK LIBRARY ################# ++target_link_libraries(openshot PUBLIC ${EXECINFO_LIBRARY}) ++ # Link remaining dependency libraries target_link_libraries(openshot PUBLIC -@@ -396,9 +401,11 @@ target_compile_definitions(openshot-example PRIVATE - - # Link test executable to the new library - target_link_libraries(openshot-example openshot) -+target_link_libraries(openshot-example ${EXECINFO_LIBRARY}) - - add_executable(openshot-html-test examples/ExampleHtml.cpp) - target_link_libraries(openshot-html-test openshot Qt5::Gui) -+target_link_libraries(openshot-html-test ${EXECINFO_LIBRARY}) - - ############### PLAYER EXECUTABLE ################ - # Create test executable -@@ -406,6 +413,7 @@ add_executable(openshot-player Qt/demo/main.cpp) - - # Link test executable to the new library - target_link_libraries(openshot-player openshot) -+target_link_libraries(openshot-player ${EXECINFO_LIBRARY}) - - ############### TEST BLACKMAGIC CAPTURE APP ################ - IF (BLACKMAGIC_FOUND) + ${LIBOPENSHOT_AUDIO_LIBRARIES} Modified: head/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp ============================================================================== --- head/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp Mon Feb 17 02:22:57 2020 (r526334) +++ head/multimedia/libopenshot/files/patch-src_FFmpegReader.cpp Mon Feb 17 02:32:04 2020 (r526335) @@ -1,4 +1,4 @@ ---- src/FFmpegReader.cpp.orig 2019-12-19 13:04:31 UTC +--- src/FFmpegReader.cpp.orig 2020-02-10 17:52:00 UTC +++ src/FFmpegReader.cpp @@ -162,7 +162,7 @@ static enum AVPixelFormat get_hw_dec_format(AVCodecCon @@ -9,7 +9,7 @@ // Linux pix formats case AV_PIX_FMT_VAAPI: hw_de_av_pix_fmt_global = AV_PIX_FMT_VAAPI; -@@ -315,7 +315,7 @@ void FFmpegReader::Open() { +@@ -318,7 +318,7 @@ void FFmpegReader::Open() { pCodecCtx->get_format = get_hw_dec_format; if (adapter_num < 3 && adapter_num >=0) { @@ -18,7 +18,7 @@ snprintf(adapter,sizeof(adapter),"/dev/dri/renderD%d", adapter_num+128); adapter_ptr = adapter; i_decoder_hw = openshot::Settings::Instance()->HARDWARE_DECODER; -@@ -378,11 +378,13 @@ void FFmpegReader::Open() { +@@ -381,11 +381,13 @@ void FFmpegReader::Open() { } // Check if it is there and writable Modified: head/multimedia/libopenshot/pkg-plist ============================================================================== --- head/multimedia/libopenshot/pkg-plist Mon Feb 17 02:22:57 2020 (r526334) +++ head/multimedia/libopenshot/pkg-plist Mon Feb 17 02:32:04 2020 (r526335) @@ -73,7 +73,7 @@ include/libopenshot/effects/Saturation.h include/libopenshot/effects/Shift.h include/libopenshot/effects/Wave.h lib/libopenshot.so -lib/libopenshot.so.0.2.3 -lib/libopenshot.so.17 +lib/libopenshot.so.0.2.4 +lib/libopenshot.so.18 %%PYTHON_SITELIBDIR%%/_openshot.so %%PYTHON_SITELIBDIR%%/openshot.py