Skip to content

Commit

Permalink
build for osx
Browse files Browse the repository at this point in the history
  • Loading branch information
Toporin committed Sep 29, 2021
1 parent 149e4a4 commit 704a726
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/osx/make_osx
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
3 changes: 3 additions & 0 deletions contrib/osx/osx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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", ".")]
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 704a726

Please sign in to comment.