Merge pull request #115963 from OPNA2608/update/megapixels-0.15.0/21.05
megapixels: 0.14.0 -> 0.15.0
This commit is contained in:
commit
a5d6ab4932
|
@ -7,10 +7,11 @@
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, gtk3
|
, gtk3
|
||||||
, gnome3
|
, gnome3
|
||||||
|
, zbar
|
||||||
, tiffSupport ? true
|
, tiffSupport ? true
|
||||||
, libraw
|
, libraw
|
||||||
, jpgSupport ? true
|
, jpgSupport ? true
|
||||||
, imagemagick
|
, graphicsmagick
|
||||||
, exiftool
|
, exiftool
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -20,24 +21,24 @@ let
|
||||||
inherit (lib) makeBinPath optional optionals optionalString;
|
inherit (lib) makeBinPath optional optionals optionalString;
|
||||||
runtimePath = makeBinPath (
|
runtimePath = makeBinPath (
|
||||||
optional tiffSupport libraw
|
optional tiffSupport libraw
|
||||||
++ optionals jpgSupport [ imagemagick exiftool ]
|
++ optionals jpgSupport [ graphicsmagick exiftool ]
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "megapixels";
|
pname = "megapixels";
|
||||||
version = "0.14.0";
|
version = "0.15.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.sr.ht/~martijnbraam/megapixels";
|
url = "https://git.sr.ht/~martijnbraam/megapixels";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "136rv9sx0kgfkpqn5s90j7j4qhb8h04p14g5qhqshb89kmmsmxiw";
|
sha256 = "1y8irwi8lbjs948j90gpic96dx5wjmwacd41hb3d9vzhkyni2dvb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
|
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ gtk3 gnome3.adwaita-icon-theme ]
|
buildInputs = [ gtk3 gnome3.adwaita-icon-theme zbar ]
|
||||||
++ optional tiffSupport libraw
|
++ optional tiffSupport libraw
|
||||||
++ optional jpgSupport imagemagick;
|
++ optional jpgSupport graphicsmagick;
|
||||||
|
|
||||||
preFixup = optionalString (tiffSupport || jpgSupport) ''
|
preFixup = optionalString (tiffSupport || jpgSupport) ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
|
|
Loading…
Reference in New Issue