LBRY-Vault/contrib/build-wine
Filip Gospodinov 6c7bfe613f contrib: remove git describe workaround (#4683)
`git describe` fails if no tag can be found, leading
to the whole build script to fail. This is not always
desired. To prevent `git describe` from failing in
this case the `--always` flag can be passed which
causes a short commit hash to be output when a tag
is not present.
2018-09-04 22:32:46 +02:00
..
docker wine-build: clarify to use docker for reproducible builds. move parts of readme. 2018-08-15 13:22:24 +02:00
build-electrum-git.sh contrib: remove git describe workaround (#4683) 2018-09-04 22:32:46 +02:00
build-secp256k1.sh wine build: towards deterministic libsecp - strip debug symbols 2018-06-28 22:05:13 +02:00
build.sh build-wine: allow local testing 2018-07-10 13:33:46 +02:00
deterministic.spec include plugins in win/mac binaries 2018-09-04 17:06:42 +02:00
electrum.nsi build-wine: allow local testing 2018-07-10 13:33:46 +02:00
prepare-wine.sh wine build: remove pgp.mit.edu from keyservers 2018-07-19 14:53:04 +02:00
README.md wine-build: clarify to use docker for reproducible builds. move parts of readme. 2018-08-15 13:22:24 +02:00
sign.sh sign.sh: rm signed dir 2018-07-02 09:19:02 +02:00
unsign.sh sign.sh: rm signed dir 2018-07-02 09:19:02 +02:00

Windows Binary Builds

These scripts can be used for cross-compilation of Windows Electrum executables from Linux/Wine.

For reproducible builds, see the docker folder.

Usage:

  1. Install the following dependencies:
  • dirmngr
  • gpg
  • 7Zip
  • Wine (>= v2)
  • (and, for building libsecp256k1)
    • mingw-w64
    • autotools-dev
    • autoconf
    • libtool

For example:

$ sudo apt-get install wine-development dirmngr gnupg2 p7zip-full
$ sudo apt-get install mingw-w64 autotools-dev autoconf libtool

The binaries are also built by Travis CI, so if you are having problems, that script might help.

  1. Make sure /opt is writable by the current user.
  2. Run build.sh.
  3. The generated binaries are in ./dist.