Skip to content

Commit 3f272cb

Browse files
committed
photoqt: 4.5 -> 4.6
1 parent 0eedcb2 commit 3f272cb

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

pkgs/by-name/ph/photoqt/package.nix

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
stdenv.mkDerivation rec {
1919
pname = "photoqt";
20-
version = "4.5";
20+
version = "4.6";
2121

2222
src = fetchurl {
2323
url = "https://photoqt.org/pkgs/photoqt-${version}.tar.gz";
24-
hash = "sha256-QFziMNRhiM4LaNJ8RkJ0iCq/8J82wn0F594qJeSN3Lw=";
24+
hash = "sha256-5VbGMJ1B9yDbTiri7SZ+r+c9LdfG/C1c0/01QBUvbCY=";
2525
};
2626

2727
nativeBuildInputs = [
@@ -31,30 +31,35 @@ stdenv.mkDerivation rec {
3131
qt6.wrapQtAppsHook
3232
];
3333

34-
buildInputs = [
35-
exiv2
36-
graphicsmagick
37-
libarchive
38-
libraw
39-
mpv
40-
pugixml
41-
qt6.qtbase
42-
qt6.qtcharts
43-
qt6.qtdeclarative
44-
qt6.qtimageformats
45-
qt6.qtlocation
46-
qt6.qtmultimedia
47-
qt6.qtpositioning
48-
qt6.qtsvg
49-
qt6Packages.poppler
50-
zxing-cpp
51-
] ++ lib.optionals stdenv.isLinux [ qt6.qtwayland ];
34+
buildInputs =
35+
[
36+
exiv2
37+
graphicsmagick
38+
libarchive
39+
libraw
40+
pugixml
41+
qt6.qtbase
42+
qt6.qtcharts
43+
qt6.qtdeclarative
44+
qt6.qtimageformats
45+
qt6.qtlocation
46+
qt6.qtmultimedia
47+
qt6.qtpositioning
48+
qt6.qtsvg
49+
qt6Packages.poppler
50+
zxing-cpp
51+
]
52+
++ lib.optionals stdenv.isLinux [
53+
mpv
54+
qt6.qtwayland
55+
];
5256

5357
cmakeFlags = [
5458
(lib.cmakeBool "DEVIL" false)
5559
(lib.cmakeBool "CHROMECAST" false)
5660
(lib.cmakeBool "FREEIMAGE" false)
5761
(lib.cmakeBool "IMAGEMAGICK" false)
62+
(lib.cmakeBool "VIDEO_MPV" (!stdenv.isDarwin))
5863
];
5964

6065
env.MAGICK_LOCATION = "${graphicsmagick}/include/GraphicsMagick";

0 commit comments

Comments
 (0)