Merge pull request #9761 from eduarrrd/photoqt

Photoqt bump

+15 -6
+2 -2
pkgs/applications/graphics/graphicsmagick/default.nix
··· 2 2 , libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz 3 3 , libX11, quantumdepth ? 8}: 4 4 5 - let version = "1.3.18"; in 5 + let version = "1.3.21"; in 6 6 7 7 stdenv.mkDerivation { 8 8 name = "graphicsmagick-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz"; 12 - sha256 = "1axh4j2jr3l92dan15b2nmx9da4l7i0rcz9b5bvfd4q742zfwj7x"; 12 + sha256 = "07rwpxy62r9m4r2cg6yll2nr698mxyvbji8vgsivcxhpk56k0ich"; 13 13 }; 14 14 15 15 configureFlags = "--enable-shared --with-quantum-depth=" + toString quantumdepth;
+13 -4
pkgs/applications/graphics/photoqt/default.nix
··· 1 - { stdenv, fetchurl, cmake, qt5, exiv2, graphicsmagick }: 1 + { stdenv, fetchurl, cmake, makeWrapper, qt5, exiv2, graphicsmagick }: 2 2 3 3 let 4 - version = "1.2"; 4 + version = "1.3"; 5 + qmlPath = stdenv.lib.makeSearchPath "lib/qt5/qml/" [ 6 + qt5.quickcontrols 7 + qt5.declarative 8 + qt5.multimedia 9 + ]; 5 10 in 6 11 stdenv.mkDerivation rec { 7 12 name = "photoqt-${version}"; 8 13 src = fetchurl { 9 14 url = "http://photoqt.org/pkgs/photoqt-${version}.tar.gz"; 10 - sha256 = "1dnnj2h3j517hcbjxlzk035fis44wdmqq7dvhwpmq1rcr0v32aaa"; 15 + sha256 = "0j2kvxfb5pd9abciv161nkcsyam6n8kfqs8ymwj2mxiqflwbmfl1"; 11 16 }; 12 17 13 - buildInputs = [ cmake qt5.base qt5.tools exiv2 graphicsmagick ]; 18 + buildInputs = [ cmake makeWrapper qt5.base qt5.tools exiv2 graphicsmagick ]; 14 19 15 20 preConfigure = '' 16 21 export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick" 22 + ''; 23 + 24 + postInstall = '' 25 + wrapProgram $out/bin/photoqt --set QML2_IMPORT_PATH "${qmlPath}" 17 26 ''; 18 27 19 28 meta = {