This interactive Bash script automates building DogecoinEV's daemon and Qt wallet on Ubuntu-based systems and macOS. It includes full support for advanced packaging, launcher creation, and Berkeley DB patching. Perfect for developers and users who want to build or distribute DogecoinEV with minimal effort.
π οΈ Features β Interactive Menu β Choose between:
- Daemon-only build
- Qt Wallet-only build
- Full build (Daemon + Qt Wallet)
β Optional Steps (Ubuntu only, toggleable):
- Strip compiled binaries for smaller size
- Create
.tar.gzpackage - Create
.debinstaller - Create
.desktoplauncher shortcut - Generate full desktop-integrated Qt Wallet
.deb, including multi-size icons
β macOS Support:
- Native
.appbundle generation - Signed
.dmgdisk image creation - Auto-patches deprecated Boost and Qt methods
- Installs Protobuf 3.6.1 locally for compatibility
- Works on Apple Silicon and Intel Macs
β Automatic Berkeley DB 4.8 Setup:
- Downloads, configures, and compiles Berkeley DB 4.8
- Includes a patch to support newer GCC/Clang versions (
__atomic_compare_exchangefix)
β Source Handling:
- Clones the latest DogecoinEV repo (or updates if already cloned)
- Fully automates autogen and configure steps
β Qt Wallet Launcher Integration (Ubuntu Only):
- Downloads a PNG icon and auto-resizes it to standard resolutions (16x16 to 512x512)
- Embeds icon and
.desktopfile into a proper.debpackage for desktop launchers
After running, all binaries and generated packages are located in:
compiled_wallets/ # Ubuntu
compiled_wallets_macos/ # macOSPossible files include:
dogecoinevd,dogecoinev-cli,dogecoinev-tx,dogecoinev-qtdogecoinev_wallet.tar.gz(if selected)dogecoinev_wallet.deb(CLI+Daemon wallet)dogecoinev-qt-launcher.deb(Full desktop.debfor Qt wallet)DogecoinEV-Qt.dmg(Full macOS drag-and-drop installer)DogecoinEV-Qt.app(Native macOS app bundle)
Script auto-installs all required dependencies, including:
- Qt5 libraries
- Berkeley DB 4.8
- Boost
- Protobuf
- libevent, libssl, miniupnpc, etc.
- Xcode + Command Line Tools
- Homebrew (for dependency management)
- Supports both Intel and Apple Silicon chips
- Installs Protobuf 3.6.1 locally to avoid incompatibility
chmod +x build_dogecoinev_ubuntu.sh
./build_dogecoinev_ubuntu.shchmod +x build_dogecoinev_mac.sh
./build_dogecoinev_mac.shJust follow the prompts to customize your build. The script handles everything else!