aports/community/kdenlive/APKBUILD

64 lines
1.7 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kdenlive
pkgver=25.04.0
pkgrel=1
# ppc64le mlt uses 64bit long double while libgcc uses 128bit long double
# ppc64le, s390x and riscv64 blocked by qt6-qtwebengine -> purpose
arch="all !armhf !ppc64le !s390x !riscv64"
url="https://kdenlive.org"
pkgdesc="An intuitive and powerful multi-track video editor, including most recent video technologies"
license="GPL-2.0-or-later"
depends="
ffmpeg
frei0r-plugins
qqc2-desktop-style
"
makedepends="
extra-cmake-modules
kdeclarative-dev
kdoctools-dev
kfilemetadata-dev
knewstuff-dev
knotifyconfig-dev
kxmlgui-dev
mlt-dev
purpose-dev
qt6-qtbase-dev
qt6-qtmultimedia-dev
qt6-qtnetworkauth-dev
qt6-qtsvg-dev
rttr-dev
samurai
"
checkdepends="xvfb-run"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/multimedia/kdenlive.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdenlive-$pkgver.tar.xz"
options="!check" # Segfaulting
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \
-DIMATH_INSTALL=OFF \
-DIMATH_INSTALL_PKG_CONFIG=OFF
cmake --build build
}
check() {
xvfb-run ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
6b362d261414ff8ab4d5a39505db792c8c3a95758100de84f2f8bf84f084abcbcfe4748d02288376a10a2caa810401fbde0269907f003aabd51d2720e82205f0 kdenlive-25.04.0.tar.xz
"