From b90de7c5875a847c8d732ef5dbe144a006cb1df2 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Mon, 3 Apr 2023 00:41:03 +0100 Subject: [PATCH] shotcut: update to 22.12.21. --- srcpkgs/shotcut/template | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/srcpkgs/shotcut/template b/srcpkgs/shotcut/template index c5dad59246f3..32583277dab2 100644 --- a/srcpkgs/shotcut/template +++ b/srcpkgs/shotcut/template @@ -1,29 +1,21 @@ # Template file for 'shotcut' pkgname=shotcut -version=22.01.30 +version=22.12.21 revision=1 -build_style=qmake -configure_args="SHOTCUT_VERSION=VOID-$version DEFINES+=SHOTCUT_NOUPGRADE" -hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-host-tools" +build_style=cmake +configure_args="-DSHOTCUT_VERSION=${version}" +hostmakedepends="pkg-config qt5-tools-devel" 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" + qt5-quickcontrols2-devel qt5-websockets-devel qt5-x11extras-devel x264-devel + qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" +depends="ffmpeg frei0r-plugins qt5-graphicaleffects qt5-quickcontrols" short_desc="Free, open source, cross-platform video editor" maintainer="John " 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=cdb86384c9cd30cd6548a0252d2fb45dfae6d92cc7c8c231705d0cf0ee98437b +checksum=1b9a4f87b16a9751f9cb41588f22af4c00f085105d82cf21d095d9f3c280bc86 -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 -} +CXXFLAGS="-DHAVE_LOCALE_H=1 -DSHOTCUT_NOUPGRADE"