zbar: wrap Qt frontend
This commit is contained in:
@@ -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 = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user