Merge pull request #204698 from wegank/zbar-darwin
zbar: fix build on darwin
This commit is contained in:
commit
477580bb20
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
||||||
# see https://github.com/mchehab/zbar/issues/104
|
# see https://github.com/mchehab/zbar/issues/104
|
||||||
, enableDbus ? false
|
, enableDbus ? false
|
||||||
, libintl
|
, libintl
|
||||||
|
, libiconv
|
||||||
|
, Foundation
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -50,6 +52,9 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
imagemagickBig
|
imagemagickBig
|
||||||
libintl
|
libintl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
libiconv
|
||||||
|
Foundation
|
||||||
] ++ lib.optionals enableDbus [
|
] ++ lib.optionals enableDbus [
|
||||||
dbus
|
dbus
|
||||||
] ++ lib.optionals withXorg [
|
] ++ lib.optionals withXorg [
|
||||||
|
|
|
@ -13307,6 +13307,7 @@ with pkgs;
|
||||||
zbackup = callPackage ../tools/backup/zbackup {};
|
zbackup = callPackage ../tools/backup/zbackup {};
|
||||||
|
|
||||||
zbar = libsForQt5.callPackage ../tools/graphics/zbar {
|
zbar = libsForQt5.callPackage ../tools/graphics/zbar {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
autoreconfHook = buildPackages.autoreconfHook269;
|
autoreconfHook = buildPackages.autoreconfHook269;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue