FreeBSD Bugzilla – Attachment 204300 Details for
Bug 237575
New port: multimedia/libopenshot: OpenShot Video Library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar for multimedia/libopenshot
libopenshot.shar (text/plain), 10.32 KB, created by
Tatsuki Makino
on 2019-05-10 06:49:00 UTC
(
hide
)
Description:
shar for multimedia/libopenshot
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2019-05-10 06:49:00 UTC
Size:
10.32 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># libopenshot ># libopenshot/Makefile ># libopenshot/distinfo ># libopenshot/files ># libopenshot/files/patch-src_CMakeLists.txt ># libopenshot/files/patch-src_FFmpegReader.cpp ># libopenshot/files/patch-src_FFmpegWriter.cpp ># libopenshot/pkg-descr ># libopenshot/pkg-plist ># >echo c - libopenshot >mkdir -p libopenshot > /dev/null 2>&1 >echo x - libopenshot/Makefile >sed 's/^X//' >libopenshot/Makefile << '820df372b257f96258a7de95dbd0707a' >X# $FreeBSD$ >X >XPORTNAME= libopenshot >XDISTVERSIONPREFIX= v >XDISTVERSION= 0.2.3-178 >XDISTVERSIONSUFFIX= -g17a2258 >XCATEGORIES= multimedia >X >XMAINTAINER= tatsuki_makino@hotmail.com >XCOMMENT= OpenShot Video Library >X >XLICENSE= LGPL3+ >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XBUILD_DEPENDS= swig3.0:devel/swig30 \ >X unittest-cpp>=0:devel/unittest-cpp \ >X ${LOCALBASE}/include/zmq.hpp:net/cppzmq >XLIB_DEPENDS= libpython${PYTHON_VER}${PYTHON_ABIVER}.so:${PYTHON_PORTSDIR} \ >X libopenshot-audio.so:audio/libopenshot-audio \ >X libjsoncpp.so:devel/jsoncpp \ >X libomp.so:devel/openmp \ >X libzmq.so:net/libzmq4 >X >XUSES= cmake pkgconfig python:3.5+,build qt:5 >XUSE_LDCONFIG= yes >XUSE_GITHUB= yes >XGH_ACCOUNT= OpenShot >XUSE_PYTHON= noflavors >XUSE_QT= core gui network multimedia widgets qmake_build buildtools_build >X >XCMAKE_ON= USE_SYSTEM_JSONCPP \ >X DISABLE_TESTS \ >X CMAKE_DISABLE_FIND_PACKAGE_Doxygen \ >X CMAKE_DISABLE_FIND_PACKAGE_ImageMagick \ >X CMAKE_DISABLE_FIND_PACKAGE_RESVG \ >X CMAKE_DISABLE_FIND_PACKAGE_Ruby >XOPTIONS_DEFAULT= FFMPEG >XOPTIONS_SINGLE= LIBAVCODEC >XOPTIONS_SINGLE_LIBAVCODEC= FFMPEG LIBAV >XFFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg >XLIBAV_LIB_DEPENDS= libavformat.so:multimedia/libav >X >X.include <bsd.port.mk> >820df372b257f96258a7de95dbd0707a >echo x - libopenshot/distinfo >sed 's/^X//' >libopenshot/distinfo << '710500ecc92415f6b7b11500dbe671a8' >XTIMESTAMP = 1557457200 >XSHA256 (OpenShot-libopenshot-v0.2.3-178-g17a2258_GH0.tar.gz) = c0b59d59a12a40c0f8723ce77f5cfff745e4f8cab31664223d26822320845df9 >XSIZE (OpenShot-libopenshot-v0.2.3-178-g17a2258_GH0.tar.gz) = 10266083 >710500ecc92415f6b7b11500dbe671a8 >echo c - libopenshot/files >mkdir -p libopenshot/files > /dev/null 2>&1 >echo x - libopenshot/files/patch-src_CMakeLists.txt >sed 's/^X//' >libopenshot/files/patch-src_CMakeLists.txt << '7fceda03cc178412bf86227690011f5d' >X--- src/CMakeLists.txt.orig 2019-05-08 19:16:50 UTC >X+++ src/CMakeLists.txt >X@@ -45,6 +45,8 @@ IF (APPLE) >X SET(JUCE_PLATFORM_SPECIFIC_LIBRARIES "-framework Carbon -framework Cocoa -framework CoreFoundation -framework CoreAudio -framework CoreMidi -framework IOKit -framework AGL -framework AudioToolbox -framework QuartzCore -lobjc -framework Accelerate") >X ENDIF(APPLE) >X >X+find_library(EXECINFO_LIBRARY NAMES execinfo) >X+ >X ################ IMAGE MAGICK ################## >X # Set the Quantum Depth that ImageMagick was built with (default to 16 bits) >X IF (MAGICKCORE_QUANTUM_DEPTH) >X@@ -312,6 +314,7 @@ SET ( REQUIRED_LIBRARIES >X ${PROFILER} >X ${JSONCPP_LIBRARY} >X ${ZMQ_LIBRARIES} >X+ ${EXECINFO_LIBRARY} >X ) >X >X IF (AVCODEC_FOUND) >7fceda03cc178412bf86227690011f5d >echo x - libopenshot/files/patch-src_FFmpegReader.cpp >sed 's/^X//' >libopenshot/files/patch-src_FFmpegReader.cpp << 'ca77bdd3a06e1ba4209239ec34d9b559' >X--- src/FFmpegReader.cpp.orig 2019-05-08 19:16:50 UTC >X+++ src/FFmpegReader.cpp >X@@ -159,7 +159,7 @@ static enum AVPixelFormat get_hw_dec_format(AVCodecCon >X >X for (p = pix_fmts; *p != AV_PIX_FMT_NONE; p++) { >X switch (*p) { >X-#if defined(__linux__) >X+#if defined(__unix__) >X // Linux pix formats >X case AV_PIX_FMT_VAAPI: >X hw_de_av_pix_fmt_global = AV_PIX_FMT_VAAPI; >X@@ -312,7 +312,7 @@ void FFmpegReader::Open() { >X pCodecCtx->get_format = get_hw_dec_format; >X >X if (adapter_num < 3 && adapter_num >=0) { >X-#if defined(__linux__) >X+#if defined(__unix__) >X snprintf(adapter,sizeof(adapter),"/dev/dri/renderD%d", adapter_num+128); >X adapter_ptr = adapter; >X i_decoder_hw = openshot::Settings::Instance()->HARDWARE_DECODER; >X@@ -375,11 +375,13 @@ void FFmpegReader::Open() { >X } >X >X // Check if it is there and writable >X-#if defined(__linux__) >X+#if defined(__unix__) >X if( adapter_ptr != NULL && access( adapter_ptr, W_OK ) == 0 ) { >X #elif defined(_WIN32) >X if( adapter_ptr != NULL ) { >X #elif defined(__APPLE__) >X+ if( adapter_ptr != NULL ) { >X+#else >X if( adapter_ptr != NULL ) { >X #endif >X ZmqLogger::Instance()->AppendDebugMethod("Decode Device present using device", "", -1, "", -1, "", -1, "", -1, "", -1, "", -1); >ca77bdd3a06e1ba4209239ec34d9b559 >echo x - libopenshot/files/patch-src_FFmpegWriter.cpp >sed 's/^X//' >libopenshot/files/patch-src_FFmpegWriter.cpp << '597bad1b6f4ebba093637e40758236ae' >X--- src/FFmpegWriter.cpp.orig 2019-05-08 19:16:50 UTC >X+++ src/FFmpegWriter.cpp >X@@ -166,7 +166,7 @@ void FFmpegWriter::SetVideoOptions(bool has_video, str >X AVCodec *new_codec; >X // Check if the codec selected is a hardware accelerated codec >X #if IS_FFMPEG_3_2 >X- #if defined(__linux__) >X+#if defined(__unix__) >X if ( (strcmp(codec.c_str(),"h264_vaapi") == 0)) { >X new_codec = avcodec_find_encoder_by_name(codec.c_str()); >X hw_en_on = 1; >X@@ -225,7 +225,7 @@ void FFmpegWriter::SetVideoOptions(bool has_video, str >X } >X #else // is FFmpeg 3 but not linux >X new_codec = avcodec_find_encoder_by_name(codec.c_str()); >X-#endif //__linux__ >X+#endif //__unix__ >X #else // not ffmpeg 3 >X new_codec = avcodec_find_encoder_by_name(codec.c_str()); >X #endif //IS_FFMPEG_3_2 >X@@ -888,7 +888,7 @@ void FFmpegWriter::close_video(AVFormatContext *oc, AV >X AV_FREE_CONTEXT(video_codec); >X video_codec = NULL; >X #if IS_FFMPEG_3_2 >X- // #if defined(__linux__) >X+ // #if defined(__unix__) >X if (hw_en_on && hw_en_supported) { >X if (hw_device_ctx) { >X av_buffer_unref(&hw_device_ctx); >X@@ -1290,7 +1290,7 @@ void FFmpegWriter::open_video(AVFormatContext *oc, AVS >X adapter_num = openshot::Settings::Instance()->HW_EN_DEVICE_SET; >X fprintf(stderr, "\n\nEncodiing Device Nr: %d\n", adapter_num); >X if (adapter_num < 3 && adapter_num >=0) { >X-#if defined(__linux__) >X+#if defined(__unix__) >X snprintf(adapter,sizeof(adapter),"/dev/dri/renderD%d", adapter_num+128); >X // Maybe 127 is better because the first card would be 1?! >X adapter_ptr = adapter; >X@@ -1298,17 +1298,21 @@ void FFmpegWriter::open_video(AVFormatContext *oc, AVS >X adapter_ptr = NULL; >X #elif defined(__APPLE__) >X adapter_ptr = NULL; >X+#else >X+ adapter_ptr = NULL; >X #endif >X } >X else { >X adapter_ptr = NULL; // Just to be sure >X } >X // Check if it is there and writable >X-#if defined(__linux__) >X+#if defined(__unix__) >X if( adapter_ptr != NULL && access( adapter_ptr, W_OK ) == 0 ) { >X #elif defined(_WIN32) >X if( adapter_ptr != NULL ) { >X #elif defined(__APPLE__) >X+ if( adapter_ptr != NULL ) { >X+#else >X if( adapter_ptr != NULL ) { >X #endif >X ZmqLogger::Instance()->AppendDebugMethod("Encode Device present using device", "", -1, "", -1, "", -1, "", -1, "", -1, "", -1); >597bad1b6f4ebba093637e40758236ae >echo x - libopenshot/pkg-descr >sed 's/^X//' >libopenshot/pkg-descr << '12f1fd1203d31680899bf94fada752f5' >XOpenShot Video Library (libopenshot) is a free, open-source project dedicated >Xto delivering high quality video editing, animation, and playback solutions to >Xthe world. API currently supports C++, Python, and Ruby. >X >XWWW: https://www.openshot.org/ >12f1fd1203d31680899bf94fada752f5 >echo x - libopenshot/pkg-plist >sed 's/^X//' >libopenshot/pkg-plist << '46dbcab14b7a90157200902e5944002b' >Xinclude/libopenshot/AudioBufferSource.h >Xinclude/libopenshot/AudioDeviceInfo.h >Xinclude/libopenshot/AudioReaderSource.h >Xinclude/libopenshot/AudioResampler.h >Xinclude/libopenshot/CacheBase.h >Xinclude/libopenshot/CacheDisk.h >Xinclude/libopenshot/CacheMemory.h >Xinclude/libopenshot/ChannelLayouts.h >Xinclude/libopenshot/ChunkReader.h >Xinclude/libopenshot/ChunkWriter.h >Xinclude/libopenshot/Clip.h >Xinclude/libopenshot/ClipBase.h >Xinclude/libopenshot/Color.h >Xinclude/libopenshot/Coordinate.h >Xinclude/libopenshot/CrashHandler.h >Xinclude/libopenshot/DecklinkInput.h >Xinclude/libopenshot/DecklinkOutput.h >Xinclude/libopenshot/DecklinkReader.h >Xinclude/libopenshot/DecklinkWriter.h >Xinclude/libopenshot/DummyReader.h >Xinclude/libopenshot/EffectBase.h >Xinclude/libopenshot/EffectInfo.h >Xinclude/libopenshot/Effects.h >Xinclude/libopenshot/Enums.h >Xinclude/libopenshot/Exceptions.h >Xinclude/libopenshot/FFmpegReader.h >Xinclude/libopenshot/FFmpegUtilities.h >Xinclude/libopenshot/FFmpegWriter.h >Xinclude/libopenshot/Fraction.h >Xinclude/libopenshot/Frame.h >Xinclude/libopenshot/FrameMapper.h >Xinclude/libopenshot/ImageReader.h >Xinclude/libopenshot/ImageWriter.h >Xinclude/libopenshot/Json.h >Xinclude/libopenshot/KeyFrame.h >Xinclude/libopenshot/OpenMPUtilities.h >Xinclude/libopenshot/OpenShot.h >Xinclude/libopenshot/PlayerBase.h >Xinclude/libopenshot/Point.h >Xinclude/libopenshot/Profiles.h >Xinclude/libopenshot/Qt/AudioPlaybackThread.h >Xinclude/libopenshot/Qt/PlayerDemo.h >Xinclude/libopenshot/Qt/PlayerPrivate.h >Xinclude/libopenshot/Qt/VideoCacheThread.h >Xinclude/libopenshot/Qt/VideoPlaybackThread.h >Xinclude/libopenshot/Qt/VideoRenderWidget.h >Xinclude/libopenshot/Qt/VideoRenderer.h >Xinclude/libopenshot/QtImageReader.h >Xinclude/libopenshot/QtPlayer.h >Xinclude/libopenshot/ReaderBase.h >Xinclude/libopenshot/RendererBase.h >Xinclude/libopenshot/Settings.h >Xinclude/libopenshot/Tests.h >Xinclude/libopenshot/TextReader.h >Xinclude/libopenshot/Timeline.h >Xinclude/libopenshot/Version.h >Xinclude/libopenshot/WriterBase.h >Xinclude/libopenshot/ZmqLogger.h >Xinclude/libopenshot/effects/Bars.h >Xinclude/libopenshot/effects/Blur.h >Xinclude/libopenshot/effects/Brightness.h >Xinclude/libopenshot/effects/ChromaKey.h >Xinclude/libopenshot/effects/ColorShift.h >Xinclude/libopenshot/effects/Crop.h >Xinclude/libopenshot/effects/Deinterlace.h >Xinclude/libopenshot/effects/Hue.h >Xinclude/libopenshot/effects/Mask.h >Xinclude/libopenshot/effects/Negate.h >Xinclude/libopenshot/effects/Pixelate.h >Xinclude/libopenshot/effects/Saturation.h >Xinclude/libopenshot/effects/Shift.h >Xinclude/libopenshot/effects/Wave.h >Xlib/libopenshot.so >Xlib/libopenshot.so.0.2.3 >Xlib/libopenshot.so.17 >X%%PYTHON_SITELIBDIR%%/_openshot.so >X%%PYTHON_SITELIBDIR%%/openshot.py >46dbcab14b7a90157200902e5944002b >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
tatsuki_makino
:
maintainer-approval+
Actions:
View
Attachments on
bug 237575
:
204029
|
204032
|
204037
|
204300
|
204301
|
204387