shotcut does not use webkit since
a44fe75a4d
.
no revbump because this is purely build-time change.
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# Template file for 'shotcut'
|
|
pkgname=shotcut
|
|
version=21.06.29
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="SHOTCUT_VERSION=VOID-$version DEFINES+=SHOTCUT_NOUPGRADE"
|
|
hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-host-tools"
|
|
makedepends="gstreamer1-devel lame-devel libvpx-devel mlt7-devel mlt7-python3
|
|
qt5-declarative-devel qt5-graphicaleffects qt5-multimedia-devel
|
|
qt5-quickcontrols2-devel qt5-websockets-devel qt5-x11extras-devel
|
|
x264-devel"
|
|
depends="frei0r-plugins qt5-graphicaleffects qt5-quickcontrols"
|
|
short_desc="Free, open source, cross-platform video editor"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.shotcut.org"
|
|
distfiles="https://github.com/mltframework/shotcut/archive/v${version}.tar.gz"
|
|
checksum=115876b68749c8fb119b664668f9d17e9af2f4a42c49ec588b35eca00a2002e4
|
|
|
|
CXXFLAGS="-DHAVE_LOCALE_H=1"
|
|
|
|
post_configure() {
|
|
# Hack to make sure that the build_style does not override the
|
|
# value of LINK when calling the translations Makefile
|
|
cd translations
|
|
qmake-qt5 PREFIX=/usr
|
|
cd ${wrksrc}
|
|
vsed -i -e 's/^LINK/override LINK/g' translations/Makefile
|
|
}
|