1SUMMARY="A free, open source, cross-platform video editor" 2DESCRIPTION="Major features include support for a wide range of formats." 3HOMEPAGE="https://shotcut.org/" 4COPYRIGHT="2011-2019 by Meltytech, LLC." 5LICENSE="GNU GPL v3" 6REVISION="1" 7SOURCE_URI="https://github.com/mltframework/shotcut/archive/v$portVersion.tar.gz" 8CHECKSUM_SHA256="d342c6a0224d13daa06f99123fdeb7aa5f899e06e886f12e5bd6ecad98a345d6" 9PATCHES="shotcut-$portVersion.patchset" 10 11ARCHITECTURES="?all !x86_gcc2" 12SECONDARY_ARCHITECTURES="?x86" 13 14PROVIDES=" 15 shotcut$secondaryArchSuffix = $portVersion 16 app:Shotcut 17 lib:libcutelogger$secondaryArchSuffix 18 " 19REQUIRES=" 20 haiku$secondaryArchSuffix 21 cmd:ffmpeg 22 cmd:melt 23 frei0r$secondaryArchSuffix 24 ladspa_sdk$secondaryArchSuffix 25 lib:libfftw3$secondaryArchSuffix 26 lib:libGL$secondaryArchSuffix 27 lib:libmlt++_7$secondaryArchSuffix 28 lib:libmlt_7$secondaryArchSuffix 29 lib:libopenal$secondaryArchSuffix 30 lib:libQt6Core$secondaryArchSuffix 31 lib:libQt6Gui$secondaryArchSuffix 32 lib:libQt6Multimedia$secondaryArchSuffix 33 lib:libQt6Network$secondaryArchSuffix 34 lib:libQt6OpenGL$secondaryArchSuffix 35 lib:libQt6Qml$secondaryArchSuffix 36 lib:libQt6Quick$secondaryArchSuffix 37 lib:libQt6Sql$secondaryArchSuffix 38 lib:libQt6Widgets$secondaryArchSuffix 39 lib:libQt6Xml$secondaryArchSuffix 40 lib:libSDL2_2.0$secondaryArchSuffix 41 lib:libsqlite3$secondaryArchSuffix 42 lib:libwebm$secondaryArchSuffix 43 lib:libx264$secondaryArchSuffix 44 " 45 46BUILD_REQUIRES=" 47 haiku${secondaryArchSuffix}_devel 48 frei0r${secondaryArchSuffix}_devel 49 ladspa_sdk${secondaryArchSuffix}_devel 50 devel:libfftw3$secondaryArchSuffix 51 devel:libGL$secondaryArchSuffix 52 devel:libmlt++_7$secondaryArchSuffix 53 devel:libmlt_7$secondaryArchSuffix 54 devel:libopenal$secondaryArchSuffix 55 devel:libQt6Core$secondaryArchSuffix 56 devel:libQt6DBus$secondaryArchSuffix 57 devel:libQt6Gui$secondaryArchSuffix 58 devel:libQt6Multimedia$secondaryArchSuffix 59 devel:libQt6Network$secondaryArchSuffix 60 devel:libQt6OpenGL$secondaryArchSuffix 61 devel:libQt6Qml$secondaryArchSuffix 62 devel:libQt6Quick$secondaryArchSuffix 63 devel:libQt6Sql$secondaryArchSuffix 64 devel:libqt6uitools$secondaryArchSuffix 65 devel:libQt6Widgets$secondaryArchSuffix 66 devel:libQt6Xml$secondaryArchSuffix 67 devel:libSDL2_2.0$secondaryArchSuffix 68 devel:libwebm$secondaryArchSuffix 69 devel:libx264$secondaryArchSuffix 70 " 71BUILD_PREREQUIRES=" 72 cmd:cmake 73 cmd:gcc$secondaryArchSuffix 74 cmd:getconf 75 cmd:lrelease$secondaryArchSuffix >= 5 76 cmd:make 77 cmd:pkg_config$secondaryArchSuffix 78 cmd:qmake6$secondaryArchSuffix 79 " 80 81BUILD() 82{ 83 export CXXFLAGS+=" -DSHOTCUT_NOUPGRADE" 84 cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ 85 $cmakeDirArgs \ 86 -DSHOTCUT_VERSION=$portVersion 87 make -C build $jobArgs 88} 89 90INSTALL() 91{ 92 make -C build install 93 94 rm -rf $dataDir/{applications,icons,metainfo} 95 96 mkdir -p $appsDir 97 mv $binDir/shotcut $appsDir/Shotcut 98 99 addAppDeskbarSymlink $appsDir/Shotcut 100} 101