kdenlive_kf6, add (disabled) recipes for 25.08.3 and 25.12.0 (#13464)

This commit is contained in:
Schrijvers Luc
2025-12-22 17:08:25 +01:00
committed by GitHub
parent bdc65f0032
commit 3f1ce249a3
2 changed files with 226 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdenlive-$portVersion.tar.xz"
CHECKSUM_SHA256="f86206b9f86fe5693121723d0bb1750f96c295e9b6c7eb1fea2b408f56cc30d6"
CHECKSUM_SHA256="81ba4e911147d5dbd33bcf464b2f0ae9f57b8824dbfc7fab21f3c11bb6433783"
SOURCE_DIR="kdenlive-$portVersion"
ADDITIONAL_FILES="kdenlive.rdef.in"
@@ -19,6 +19,7 @@ PROVIDES="
kdenlive_kf6$secondaryArchSuffix = $portVersion
cmd:kdenlive$secondaryArchSuffix = $portVersion
cmd:kdenlive_render$secondaryArchSuffix = $portVersion
devel:libkdenliveLibplugin$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -89,16 +90,17 @@ CONFLICTS="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libavcodec$secondaryArchSuffix >= 60
devel:libavformat$secondaryArchSuffix >= 60
devel:libavutil$secondaryArchSuffix >= 58
ffmpeg8${secondaryArchSuffix}_devel
# devel:libavcodec$secondaryArchSuffix >= 60
# devel:libavformat$secondaryArchSuffix >= 60
# devel:libavutil$secondaryArchSuffix >= 58
devel:frei0r$secondaryArchSuffix
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
devel:libImath_3_1$secondaryArchSuffix
devel:libmediainfo$secondaryArchSuffix
devel:libmlt++_7$secondaryArchSuffix
devel:libopentimelineio$secondaryArchSuffix
devel:libswresample$secondaryArchSuffix >= 4
# devel:libswresample$secondaryArchSuffix >= 4
# KF6
extra_cmake_modules$secondaryArchSuffix
devel:libKF6Archive$secondaryArchSuffix
@@ -128,6 +130,7 @@ BUILD_REQUIRES="
devel:libKF6WindowSystem$secondaryArchSuffix
devel:libKF6XmlGui$secondaryArchSuffix
# Qt6
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Multimedia$secondaryArchSuffix
devel:libQt6NetworkAuth$secondaryArchSuffix
@@ -136,6 +139,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:doxygen
cmd:g++$secondaryArchSuffix
cmd:make
cmd:msgfmt$secondaryArchSuffix
@@ -154,12 +158,10 @@ BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_DATAROOTDIR=$dataDir \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DBUILD_QCH=ON \
-DFETCH_OTIO=OFF \
-DBUILD_TESTING=OFF
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
}
@@ -191,6 +193,8 @@ INSTALL()
addResourcesToBinaries kdenlive.rdef $prefix/bin/kdenlive
addAppDeskbarSymlink $prefix/bin/kdenlive Kdenlive
prepareInstalledDevelLib libkdenliveLibplugin
}
TEST()

View File

@@ -0,0 +1,212 @@
SUMMARY="Free and open source video editor"
DESCRIPTION="Through the MLT framework, Kdenlive integrates many plugin effects for video and \
sound processing or creation. Furthermore Kdenlive brings a powerful titling tool, a DVD \
authoring (menus) solution, and can then be used as a complete studio for video creation. \
Video effects are provided by freior while audio effects use ladspa."
HOMEPAGE="https://invent.kde.org/multimedia/kdenlive"
COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdenlive-$portVersion.tar.xz"
CHECKSUM_SHA256="cafee9d8ec29e99f507720f28d60bfc0963a8733f67a0ffd6a684273b8242ca5"
SOURCE_DIR="kdenlive-$portVersion"
ADDITIONAL_FILES="kdenlive.rdef.in"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
kdenlive_kf6$secondaryArchSuffix = $portVersion
cmd:kdenlive = $portVersion
cmd:kdenlive_render = $portVersion
devel:libkdenliveLibplugin$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
frei0r$secondaryArchSuffix
cmd:mediainfo
lib:libavcodec$secondaryArchSuffix
lib:libavformat$secondaryArchSuffix
lib:libavutil$secondaryArchSuffix
lib:libImath_3_1$secondaryArchSuffix
lib:libkddockwidgets_qt6$secondaryArchSuffix
lib:libmlt++_7$secondaryArchSuffix
lib:libopentime$secondaryArchSuffix
lib:libopentimelineio$secondaryArchSuffix
lib:libswresample$secondaryArchSuffix
# KF6
lib:libGL$secondaryArchSuffix
lib:libopenal$secondaryArchSuffix
lib:libKF6Archive$secondaryArchSuffix
lib:libKF6Attica$secondaryArchSuffix
lib:libKF6AuthCore$secondaryArchSuffix
lib:libKF6Bookmarks$secondaryArchSuffix
lib:libKF6Codecs$secondaryArchSuffix
lib:libKF6ColorScheme$secondaryArchSuffix
lib:libKF6Completion$secondaryArchSuffix
lib:libKF6ConfigCore$secondaryArchSuffix
lib:libKF6ConfigGui$secondaryArchSuffix
lib:libKF6ConfigWidgets$secondaryArchSuffix
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libKF6Crash$secondaryArchSuffix
lib:libKF6FileMetaData$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6IconThemes$secondaryArchSuffix
lib:libKF6ItemViews$secondaryArchSuffix
lib:libKF6KIOCore$secondaryArchSuffix
lib:libKF6KIOFileWidgets$secondaryArchSuffix
lib:libKF6KIOGui$secondaryArchSuffix
lib:libKF6KIOWidgets$secondaryArchSuffix
lib:libKF6JobWidgets$secondaryArchSuffix
lib:libKF6NewStuffCore$secondaryArchSuffix
lib:libKF6NewStuffWidgets$secondaryArchSuffix
lib:libKF6Notifications$secondaryArchSuffix
lib:libKF6NotifyConfig$secondaryArchSuffix
lib:libKF6Package$secondaryArchSuffix
lib:libKF6Purpose$secondaryArchSuffix
lib:libKF6PurposeWidgets$secondaryArchSuffix
lib:libKF6Service$secondaryArchSuffix
lib:libKF6Solid$secondaryArchSuffix
lib:libKF6SonnetUi$secondaryArchSuffix
lib:libKF6TextWidgets$secondaryArchSuffix
lib:libKF6WidgetsAddons$secondaryArchSuffix
lib:libKF6WindowSystem$secondaryArchSuffix
lib:libKF6XmlGui$secondaryArchSuffix
# Qt6
lib:libQt6Core$secondaryArchSuffix
lib:libQt6DBus$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Multimedia$secondaryArchSuffix
lib:libQt6NetworkAuth$secondaryArchSuffix
lib:libQt6Qml$secondaryArchSuffix
lib:libQt6Quick$secondaryArchSuffix
lib:libQt6Svg$secondaryArchSuffix
lib:libQt6Widgets$secondaryArchSuffix
lib:libQt6Xml$secondaryArchSuffix
"
CONFLICTS="
kdenlive$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
ffmpeg8${secondaryArchSuffix}_devel
# devel:libavcodec$secondaryArchSuffix >= 60
# devel:libavformat$secondaryArchSuffix >= 60
# devel:libavutil$secondaryArchSuffix >= 58
devel:frei0r$secondaryArchSuffix
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
devel:libImath_3_1$secondaryArchSuffix
devel:libkddockwidgets_qt6$secondaryArchSuffix
devel:libmediainfo$secondaryArchSuffix
devel:libmlt++_7$secondaryArchSuffix
devel:libopentimelineio$secondaryArchSuffix
# devel:libswresample$secondaryArchSuffix >= 4
# KF6
extra_cmake_modules$secondaryArchSuffix
devel:libKF6Archive$secondaryArchSuffix
devel:libKF6Attica$secondaryArchSuffix
devel:libKF6Bookmarks$secondaryArchSuffix
devel:libKF6Codecs$secondaryArchSuffix
devel:libKF6Colorscheme$secondaryArchSuffix
devel:libKF6Completion$secondaryArchSuffix
devel:libKF6ConfigCore$secondaryArchSuffix
devel:libKF6ConfigWidgets$secondaryArchSuffix
devel:libKF6CoreAddons$secondaryArchSuffix
devel:libKF6Crash$secondaryArchSuffix
devel:libKF6FileMetaData$secondaryArchSuffix
devel:libKF6GuiAddons$secondaryArchSuffix
devel:libKF6IconThemes$secondaryArchSuffix
devel:libKF6ItemViews$secondaryArchSuffix
devel:libKF6JobWidgets$secondaryArchSuffix
devel:libKF6KIOCore$secondaryArchSuffix
devel:libKF6NewStuffCore$secondaryArchSuffix
devel:libKF6Notifications$secondaryArchSuffix
devel:libKF6NotifyConfig$secondaryArchSuffi
devel:libKF6Purpose$secondaryArchSuffix
devel:libKF6Service$secondaryArchSuffix
devel:libKF6Solid$secondaryArchSuffix
devel:libKF6TextWidgets$secondaryArchSuffix
devel:libKF6WidgetsAddons$secondaryArchSuffix
devel:libKF6WindowSystem$secondaryArchSuffix
devel:libKF6XmlGui$secondaryArchSuffix
# Qt6
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Multimedia$secondaryArchSuffix
devel:libQt6NetworkAuth$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
devel:libQt6Svg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:doxygen
cmd:g++$secondaryArchSuffix
cmd:make
cmd:msgfmt$secondaryArchSuffix
cmd:msgmerge$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:python3
"
PATCH()
{
# use Haiku's icon theme
sed -e 's,\ KIconTheme::initTheme();,\// KIconTheme::initTheme();,g' -i src/main.cpp
}
BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$prefix/bin \
-DBUILD_QCH=ON \
-DFETCH_OTIO=OFF \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
}
INSTALL()
{
make -C build install
# cleanup
rm -rf $dataDir/{applications,icons,knotifications6,metainfo}
rm -rf $dataDir/mime/{aliases,generic-icons,globs,globs2,icons,magic}
rm -rf $dataDir/mime/{mime.cache,subclasses,treemagic,types,version,XMLnamespaces}
mkdir -p $appsDir
mv $prefix/bin/kdenlive $appsDir/Kdenlive
ln -s $appsDir/Kdenlive $prefix/bin/kdenlive
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local APP_NAME="Kdenlive"
local LONG_INFO="$SUMMARY"
local APP_SIGNATURE="application/x-vnd.kdenlive"
sed \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
-e "s|@APP_NAME@|$APP_NAME|" \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
$portDir/additional-files/kdenlive.rdef.in > kdenlive.rdef
addResourcesToBinaries kdenlive.rdef $appsDir/Kdenlive
addAppDeskbarSymlink $appsDir Kdenlive
prepareInstalledDevelLib libkdenliveLibplugin
}
TEST()
{
# 82% tests passed, 5 tests failed out of 28
ctest --test-dir build --output-on-failure
}