1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

clipgrab: 3.7.2 -> 3.8.2, qt4 -> qt5

This commit is contained in:
Will Dietz 2019-02-28 16:26:50 -06:00
parent 8a495116a5
commit 82e7322128
2 changed files with 9 additions and 6 deletions

View file

@ -1,17 +1,20 @@
{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4, qmake4Hook }:
{ stdenv, fetchurl, makeDesktopItem, ffmpeg
, qmake, qttools
, qtbase, qtdeclarative, qtlocation, qtquickcontrols2, qtwebchannel, qtwebengine
}:
stdenv.mkDerivation rec {
name = "clipgrab-${version}";
version = "3.7.2";
version = "3.8.2";
src = fetchurl {
sha256 = "1xkap4zgx8k0h0qfcqfwi3lj7s3mqsj0dp1cddiqmxbibbmg3rcc";
sha256 = "0dhiv1mldp5f555im6mkjxdh6iivn1hnx2xdaqa6wxzsrwrvv5dd";
# The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
url = "https://download.clipgrab.org/${name}.tar.gz";
};
buildInputs = [ ffmpeg qt4 ];
nativeBuildInputs = [ qmake4Hook ];
buildInputs = [ ffmpeg qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];
nativeBuildInputs = [ qmake qttools ];
postPatch = stdenv.lib.optionalString (ffmpeg != null) ''
substituteInPlace converter_ffmpeg.cpp \

View file

@ -16456,7 +16456,7 @@ in
cligh = python3Packages.callPackage ../development/tools/github/cligh {};
clipgrab = callPackage ../applications/video/clipgrab { };
clipgrab = qt5.callPackage ../applications/video/clipgrab { };
clipmenu = callPackage ../applications/misc/clipmenu { };