zbar: wrap Qt frontend

This commit is contained in:
Jan Tojnar 2019-09-10 00:55:11 +02:00
parent da135c2704
commit 61fdd203d6
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

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 = ''