6549738a01
resolves #9495
32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'shotcut'
|
|
pkgname=shotcut
|
|
version=19.02.28
|
|
revision=2
|
|
build_style=qmake
|
|
configure_args="SHOTCUT_VERSION=VOID-$version DEFINES+=SHOTCUT_NOUPGRADE"
|
|
hostmakedepends="pkg-config qt5-tools"
|
|
makedepends="gstreamer1-devel lame-devel libvpx-devel mlt-devel mlt-python
|
|
qt5-declarative-devel qt5-graphicaleffects qt5-multimedia-devel
|
|
qt5-quickcontrols qt5-webkit-devel qt5-websockets-devel qt5-x11extras-devel
|
|
x264-devel"
|
|
depends="frei0r-plugins qt5-quickcontrols qt5-graphicaleffects"
|
|
short_desc="Free, open source, cross-platform video editor"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.shotcut.org"
|
|
distfiles="https://github.com/mltframework/shotcut/archive/v${version}.tar.gz"
|
|
checksum=04b52bf0c7d9d42b3311e3d0a17930d47f93ce9eea1b7ab5ab77bafaa4afb4a6
|
|
|
|
CXXFLAGS="-DHAVE_LOCALE_H=1"
|
|
|
|
nocross="https://travis-ci.org/voidlinux/void-packages/jobs/292589547#L1332
|
|
https://travis-ci.org/voidlinux/void-packages/jobs/292589548#L1337"
|
|
|
|
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 PREFIX=/usr
|
|
cd ${wrksrc}
|
|
sed -i -e 's/^LINK/override LINK/g' translations/Makefile
|
|
}
|