mirror of
https://github.com/namecoin/ncdns-repro
synced 2024-11-10 07:10:29 +00:00
electrum-nmc: Don't include qrcode if GUI disabled
This commit is contained in:
parent
ccb8fe011c
commit
ba977fa612
@ -10,7 +10,7 @@ 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', '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', 'six', 'typing_extensions', 'yarl'] -%]
|
||||
tar -C . -xf $rootdir/[% c('input_files_by_name/' _ dep) %]
|
||||
[% END -%]
|
||||
|
||||
@ -18,6 +18,10 @@ cd packages
|
||||
tar -C . -xf $rootdir/[% c('input_files_by_name/' _ 'qdarkstyle') %]
|
||||
[% END %]
|
||||
|
||||
[% IF c("var/enable_qt") || c("var/enable_kivy") %]
|
||||
tar -C . -xf $rootdir/[% c('input_files_by_name/' _ 'qrcode') %]
|
||||
[% END %]
|
||||
|
||||
tar -C . -xf $rootdir/[% c('input_files_by_name/protobuf') %]/python-protobuf.tar.gz
|
||||
|
||||
cd ../
|
||||
|
@ -52,6 +52,7 @@ input_files:
|
||||
enable: '[% c("var/enable_qt") %]'
|
||||
- project: qrcode
|
||||
name: qrcode
|
||||
enable: '[% c("var/enable_qt") || c("var/enable_kivy") %]'
|
||||
- project: six
|
||||
name: six
|
||||
- project: typing_extensions
|
||||
|
Loading…
Reference in New Issue
Block a user