Merge pull request #136509 from OPNA2608/fix/megapixels-schemas/21.11

This commit is contained in:
Artturi 2021-09-11 02:12:00 +03:00 committed by GitHub
commit b72ad04a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
, meson
, ninja
, pkg-config
, glib
, wrapGAppsHook
, epoxy
, gtk4
@ -35,7 +36,13 @@ stdenv.mkDerivation rec {
sha256 = "0jnfzwvq58p4ksyifma10i158r2fb7fv72ymibgcxbnx596xpjb2";
};
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
nativeBuildInputs = [
meson
ninja
pkg-config
glib
wrapGAppsHook
];
buildInputs = [
epoxy
@ -43,6 +50,10 @@ stdenv.mkDerivation rec {
zbar
];
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
preFixup = optionalString (tiffSupport || jpgSupport) ''
gappsWrapperArgs+=(
--prefix PATH : ${runtimePath}