# Template file for 'shotcut'
pkgname=shotcut
version=26.6.25
revision=2
build_style=cmake
configure_args="-DSHOTCUT_VERSION=${version}"
hostmakedepends="pkg-config qt6-base qt6-tools"
makedepends="mlt7-devel qt6-declarative-devel qt6-multimedia-devel
 qt6-websockets-devel qt6-plugin-mysql qt6-plugin-odbc
 qt6-plugin-pgsql qt6-plugin-sqlite qt6-charts-devel qt6-declarative-private-devel"
depends="ffmpeg6 frei0r-plugins qt6-declarative"
short_desc="Free, open source, cross-platform video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.shotcut.org"
changelog="https://github.com/mltframework/shotcut/releases"
distfiles="https://github.com/mltframework/shotcut/archive/v${version}.tar.gz"
checksum=e4dd736d2fd5d07ae0c377d7217a2c3bec686f1a0e51b09a3377608ba6de1fe6

CXXFLAGS="-DHAVE_LOCALE_H=1 -DSHOTCUT_NOUPGRADE"
