diff --git a/contrib/osx/make_osx b/contrib/osx/make_osx index 95f513011edf..d4f32b0ab77a 100755 --- a/contrib/osx/make_osx +++ b/contrib/osx/make_osx @@ -127,7 +127,7 @@ info "generating locale" info "Installing some build-time deps for compilation..." -brew install autoconf automake libtool gettext coreutils pkgconfig +brew install autoconf automake libtool gettext coreutils pkgconfig swig if [ ! -f "$PROJECT_ROOT"/electrum/libsecp256k1.0.dylib ]; then info "Building libsecp256k1 dylib..." diff --git a/contrib/osx/osx.spec b/contrib/osx/osx.spec index 700ed44322fa..5c22824319a4 100644 --- a/contrib/osx/osx.spec +++ b/contrib/osx/osx.spec @@ -30,6 +30,7 @@ hiddenimports += collect_submodules('keepkeylib') hiddenimports += collect_submodules('websocket') hiddenimports += collect_submodules('ckcc') hiddenimports += collect_submodules('bitbox02') +hiddenimports += collect_submodules('smartcard') # Satochip hiddenimports += ['PyQt5.QtPrintSupport'] # needed by Revealer datas = [ @@ -47,6 +48,7 @@ datas += collect_data_files('btchip') datas += collect_data_files('keepkeylib') datas += collect_data_files('ckcc') datas += collect_data_files('bitbox02') +datas += collect_data_files('pysatochip') # Add libusb so Trezor and Safe-T mini will work binaries = [(electrum + "contrib/osx/libusb-1.0.dylib", ".")] @@ -75,6 +77,7 @@ a = Analysis([electrum+ MAIN_SCRIPT, electrum+'electrum/plugins/keepkey/qt.py', electrum+'electrum/plugins/ledger/qt.py', electrum+'electrum/plugins/coldcard/qt.py', + electrum+'electrum/plugins/satochip/qt.py', ], binaries=binaries, datas=datas,