diff options
-rw-r--r-- | net-p2p/monero-gui/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/monero-gui/monero-gui-0.14.0.0.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/net-p2p/monero-gui/Manifest b/net-p2p/monero-gui/Manifest index 4b200ab8..436d506f 100644 --- a/net-p2p/monero-gui/Manifest +++ b/net-p2p/monero-gui/Manifest @@ -1 +1,2 @@ DIST monero-gui-0.13.0.4.tar.gz 2916441 BLAKE2B bda16151451a7bf3ed974e28311c19339f48563b17ad07ffe6d7a6840dd7be158b6ab9f6d24107cb2c9d5f82fab6cb41666d414dc131e5cc2895f8a9c05fcb5f SHA512 d4f49cedb3f4f997c126d40c002102e05cd81d894523d2619ce144ad21ab81693fdde7f9e27cd938b37417472a2939988072964f738a8c251b20e8b94c502e00 +DIST monero-gui-0.14.0.0.tar.gz 4101218 BLAKE2B 3456a8222b1e1abb41ac9c8019832243c5c88a6300fa19417af1e95009044e3172cae05b53c8d4076fd295c6ce6e402a39d3e239dab73713ef955656a842822a SHA512 5a73bcf368cb92d292a7c6728c296a9583c514e9505f8f3394d30efc591b153886bf88efd2062b9b83a824bab0d42d9ee027164b3a3078a415280d3204fad57e diff --git a/net-p2p/monero-gui/monero-gui-0.14.0.0.ebuild b/net-p2p/monero-gui/monero-gui-0.14.0.0.ebuild new file mode 100644 index 00000000..c4e4ea6c --- /dev/null +++ b/net-p2p/monero-gui/monero-gui-0.14.0.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit qmake-utils toolchain-funcs + +DESCRIPTION="GUI for net-p2p/monero" +HOMEPAGE="https://getmonero.org" +SRC_URI="https://github.com/monero-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="NEWLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="qrcode smartcard unwind" + +COMMON_DEPEND="net-p2p/monero:=[qt5,smartcard?,unwind?] + dev-db/lmdb:= + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdeclarative:5[xml] + dev-qt/qtwidgets:5 + dev-libs/boost:= + dev-libs/openssl:0 + unwind? ( sys-libs/libunwind[lzma] ) + qrcode? ( + dev-qt/qtmultimedia:5 + media-gfx/zbar + ) + smartcard? ( dev-libs/hidapi:= )" +DEPEND="${COMMON_DEPEND} + dev-qt/linguist-tools:5" +RDEPEND="${COMMON_DEPEND} + dev-qt/qtquickcontrols:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtgraphicaleffects:5" + +src_prepare () { + cat > "${S}/version.js" <<-EOF || die + var GUI_VERSION = "${PV}" + var GUI_MONERO_VERSION = "${PV}" + EOF + + export AR=$(tc-getAR) + export CC=$(tc-getCC) + export CXX=$(tc-getCXX) + + default +} + +src_configure () { + local myconf=( "release" ) + + if use qrcode ; then + myconf+=( "WITH_SCANNER" ) + fi + + if ! use unwind ; then + myconf+=( "libunwind_off" ) + fi + + # CONFIG is expected to be a single argument, + eqmake5 "CONFIG+=${myconf[*]}" +} + +src_compile () { + emake -C src/zxcvbn-c + + default +} + +src_install () { + dobin release/bin/monero-wallet-gui + dodoc README.md +} |