mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #138015 from hrhino/fix/shotcut
shotcut: 21.03.21 -> 21.09.20 and clarify license
This commit is contained in:
commit
5eaa177945
@ -25,13 +25,13 @@ assert lib.versionAtLeast mlt.version "6.24.0";
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "shotcut";
|
||||
version = "21.03.21";
|
||||
version = "21.09.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mltframework";
|
||||
repo = "shotcut";
|
||||
rev = "v${version}";
|
||||
sha256 = "UdeHbNkJ0U9FeTmpbcU4JxiyIHkrlC8ErhtY6zdCZEk=";
|
||||
sha256 = "1y46n5gmlayfl46l0vhg5g5dbbc0sg909mxb68sia0clkaas8xrh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config qmake ];
|
||||
@ -57,7 +57,7 @@ mkDerivation rec {
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
sed 's_shotcutPath, "melt"_"${mlt}/bin/melt"_' -i src/jobs/meltjob.cpp
|
||||
sed 's_shotcutPath, "melt[^"]*"_"${mlt}/bin/melt"_' -i src/jobs/meltjob.cpp
|
||||
sed 's_shotcutPath, "ffmpeg"_"${mlt.ffmpeg}/bin/ffmpeg"_' -i src/jobs/ffmpegjob.cpp
|
||||
sed 's_qApp->applicationDirPath(), "ffmpeg"_"${mlt.ffmpeg}/bin/ffmpeg"_' -i src/docks/encodedock.cpp
|
||||
NICE=$(type -P nice)
|
||||
@ -94,7 +94,7 @@ mkDerivation rec {
|
||||
please use the official build from shotcut.org instead.
|
||||
'';
|
||||
homepage = "https://shotcut.org";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ goibhniu woffs peti ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user