shotcut: 20.10.31 -> 20.11.25

- see https://github.com/mltframework/shotcut/releases
- reformat
- remove qtwebkit
- qtquickcontrols -> qtquickcontrols2
This commit is contained in:
Frank Doepper 2020-09-27 21:21:55 +02:00 committed by Frank Doepper
parent e95cc8519b
commit 7ccd47f80e

View File

@ -1,6 +1,23 @@
{ stdenv, fetchFromGitHub, fetchpatch, mkDerivation, SDL2, frei0r, gettext, mlt { stdenv
, jack1, pkgconfig, qtbase, qtmultimedia, qtwebkit, qtx11extras, qtwebsockets , fetchFromGitHub
, qtquickcontrols, qtgraphicaleffects, libmlt, qmake, qttools, genericUpdater , fetchpatch
, mkDerivation
, SDL2
, frei0r
, gettext
, mlt
, jack1
, pkgconfig
, qtbase
, qtmultimedia
, qtx11extras
, qtwebsockets
, qtquickcontrols2
, qtgraphicaleffects
, libmlt
, qmake
, qttools
, genericUpdater
, common-updater-scripts , common-updater-scripts
}: }:
@ -9,20 +26,28 @@ assert stdenv.lib.versionAtLeast mlt.version "6.22.1";
mkDerivation rec { mkDerivation rec {
pname = "shotcut"; pname = "shotcut";
version = "20.10.31"; version = "20.11.25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mltframework"; owner = "mltframework";
repo = "shotcut"; repo = "shotcut";
rev = "v${version}"; rev = "v${version}";
sha256 = "16ypq1v396pibhh33nm78p6hr5fz3h74l0ykg9f72b8whw23jyz6"; sha256 = "1nm71gnjd082m7bxlmrkngn079m3fdrb059f7wy23qj7khgpi3iz";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig qmake ]; nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [ buildInputs = [
SDL2 frei0r gettext mlt libmlt SDL2
qtbase qtmultimedia qtwebkit qtx11extras qtwebsockets qtquickcontrols frei0r
gettext
mlt
libmlt
qtbase
qtmultimedia
qtx11extras
qtwebsockets
qtquickcontrols2
qtgraphicaleffects qtgraphicaleffects
]; ];
@ -43,9 +68,9 @@ mkDerivation rec {
qtWrapperArgs = [ qtWrapperArgs = [
"--prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1" "--prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1"
"--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [jack1 SDL2]}" "--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL2 ]}"
"--prefix PATH : ${mlt}/bin" "--prefix PATH : ${mlt}/bin"
]; ];
postInstall = '' postInstall = ''
mkdir -p $out/share/shotcut mkdir -p $out/share/shotcut