zbar: wrap Qt frontend
This commit is contained in:
parent
da135c2704
commit
61fdd203d6
|
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
|
||||||
xmlto
|
xmlto
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
docbook_xsl
|
docbook_xsl
|
||||||
|
qt5.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -61,6 +62,12 @@ stdenv.mkDerivation rec {
|
||||||
"--without-qt"
|
"--without-qt"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
|
postFixup = lib.optionalString enableVideo ''
|
||||||
|
wrapQtApp "$out/bin/zbarcam-qt"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Bar code reader";
|
description = "Bar code reader";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue