zbar: wrap Qt frontend

This commit is contained in:
Jan Tojnar
2019-09-10 00:55:11 +02:00
parent da135c2704
commit 61fdd203d6

View File

@@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
xmlto
autoreconfHook
docbook_xsl
qt5.wrapQtAppsHook
];
buildInputs = [
@@ -61,6 +62,12 @@ stdenv.mkDerivation rec {
"--without-qt"
];
dontWrapQtApps = true;
postFixup = lib.optionalString enableVideo ''
wrapQtApp "$out/bin/zbarcam-qt"
'';
meta = with lib; {
description = "Bar code reader";
longDescription = ''