# Template file for 'kdenlive'
pkgname=kdenlive
version=19.04.3
revision=1
build_style=cmake
hostmakedepends="
 extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3
 qt5-host-tools qt5-qmake"
makedepends="
 kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel
 kplotting-devel mlt-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel
 v4l-utils-devel ksolid-devel"
depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols
 qt5-quickcontrols2 vlc"
short_desc="Non-linear video editor"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://kdenlive.org"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=c981954ce9759da2878b4c76d97b9bb7aa92fc1f073a9f759142870e287d2a1e

# needed for mlt to work on musl
CXXFLAGS="-DHAVE_LOCALE_H=1"
