From 6bf02c3b0eb3b560cc38c467bda3cc8dbf466ac6 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 11 Sep 2018 20:47:32 +0200 Subject: [PATCH] shotcut: update to 18.08.14. --- srcpkgs/shotcut/template | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/srcpkgs/shotcut/template b/srcpkgs/shotcut/template index 677e0d5823..3cd9f5bc6c 100644 --- a/srcpkgs/shotcut/template +++ b/srcpkgs/shotcut/template @@ -1,27 +1,32 @@ # Template file for 'shotcut' pkgname=shotcut -version=18.05.08 +version=18.08.14 revision=1 build_style=qmake -hostmakedepends="qt5-tools pkg-config" -makedepends=" - qt5-declarative-devel qt5-graphicaleffects - qt5-multimedia-devel qt5-quickcontrols qt5-webkit-devel - qt5-websockets-devel qt5-x11extras-devel - mlt-devel mlt-python movit-devel ffmpeg-devel - x264-devel libvpx-devel lame-devel - ladspa-sdk jack-devel libexif-devel - gstreamer1-devel SDL_image-devel" +configure_args="SHOTCUT_VERSION=$version" +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" short_desc="Free, open source, cross-platform video editor" maintainer="Linux CompITech " license="GPL-3.0-or-later" homepage="https://www.shotcut.org" distfiles="https://github.com/mltframework/shotcut/archive/v${version}.tar.gz" -checksum=a78ba95bc6fbb7de82ba2ac0ea65beb9a0b6e5bbcb48b5026f26399c6033272f +checksum=1e7b63d7472518a5c131a802b3141555249d3ccbc7c9ace919b25d5c5265f365 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 + cd ${wrksrc} + sed -i -e 's/^LINK/override LINK/g' translations/Makefile +}