electrum-nmc: Don't include qdarkstyle if Qt disabled

This commit is contained in:
JeremyRand 2019-10-02 04:45:01 +00:00 committed by JeremyRand
parent 9897709bdc
commit ccb8fe011c
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570
2 changed files with 6 additions and 1 deletions

View File

@ -10,10 +10,14 @@ cd /var/tmp/build/[% project %]/[% project %]-*
mkdir packages
cd packages
[% FOREACH dep = ['aiohttp', 'aiohttp_socks', 'aiorpcx', 'async_timeout', 'attr', 'certifi', 'chardet', 'colorama', 'dns', 'ecdsa', 'idna', 'idna_ssl', 'jsonrpclib', 'multidict', 'pyaes', 'qdarkstyle', 'qrcode', 'six', 'typing_extensions', 'yarl'] -%]
[% FOREACH dep = ['aiohttp', 'aiohttp_socks', 'aiorpcx', 'async_timeout', 'attr', 'certifi', 'chardet', 'colorama', 'dns', 'ecdsa', 'idna', 'idna_ssl', 'jsonrpclib', 'multidict', 'pyaes', 'qrcode', 'six', 'typing_extensions', 'yarl'] -%]
tar -C . -xf $rootdir/[% c('input_files_by_name/' _ dep) %]
[% END -%]
[% IF c("var/enable_qt") %]
tar -C . -xf $rootdir/[% c('input_files_by_name/' _ 'qdarkstyle') %]
[% END %]
tar -C . -xf $rootdir/[% c('input_files_by_name/protobuf') %]/python-protobuf.tar.gz
cd ../

View File

@ -49,6 +49,7 @@ input_files:
name: pyaes
- project: qdarkstyle
name: qdarkstyle
enable: '[% c("var/enable_qt") %]'
- project: qrcode
name: qrcode
- project: six