summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-10-13 22:50:02 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-10-14 19:32:29 +0100
commit95e7ae38dc55b7134dcc21772ee3d0dd2b9dc351 (patch)
treebb4a35e252a3e19f62d6dc269e678c7ef0170780
parentnet-p2p/monero: Version bump (diff)
downloadportage-95e7ae38dc55b7134dcc21772ee3d0dd2b9dc351.tar.xz
net-p2p/monero-gui: Version bump
Package-Manager: Portage-2.3.49, Repoman-2.3.11
-rw-r--r--net-p2p/monero-gui/Manifest1
-rw-r--r--net-p2p/monero-gui/files/0.13.0.2-Link-to-libhidapi-rather-than-pcsclite.patch24
-rw-r--r--net-p2p/monero-gui/monero-gui-0.13.0.2.ebuild77
-rw-r--r--net-p2p/monero/monero-0.13.0.2.ebuild3
4 files changed, 104 insertions, 1 deletions
diff --git a/net-p2p/monero-gui/Manifest b/net-p2p/monero-gui/Manifest
index a9f06fe4..55673d76 100644
--- a/net-p2p/monero-gui/Manifest
+++ b/net-p2p/monero-gui/Manifest
@@ -1 +1,2 @@
DIST monero-gui-0.12.3.0.tar.gz 2998087 BLAKE2B c1c1f5322f01d08acd01e876f0f8447a72b017cd16558db17c38b554b85e7340dff9f8cc6d370f69b1e40434d873739ab1d83ca1c8e46e050593c5e0fd41a86d SHA512 2b70cc93e030aacab23c0a63787e7adb35bafc289165d63e4c59b3ffc66721eab5a18b5d3964db319a6014a498ad1334fe03aca1b5edb92bd3a92f1d4c07ef78
+DIST monero-gui-0.13.0.2.tar.gz 2914831 BLAKE2B a1d7aae4401b08e2d9f17fc6bc4af4a209c058cdc5b4365e1303a5d92de899f21566144aaa0b72e8b9270f4076f470371ae71db8418cb519dcb85129125d6aa0 SHA512 d75ec1570b29d5407ae2e3d108260967e97052feee4859372bbc3b78800d3fe0e9c45a9f8a6d42a3d39078dbffc323fcf939d3bfed1218e936fdcf75eabf735d
diff --git a/net-p2p/monero-gui/files/0.13.0.2-Link-to-libhidapi-rather-than-pcsclite.patch b/net-p2p/monero-gui/files/0.13.0.2-Link-to-libhidapi-rather-than-pcsclite.patch
new file mode 100644
index 00000000..079cf0d5
--- /dev/null
+++ b/net-p2p/monero-gui/files/0.13.0.2-Link-to-libhidapi-rather-than-pcsclite.patch
@@ -0,0 +1,24 @@
+From 607ee5254acfbb86a21b096b56156a12647f9d86 Mon Sep 17 00:00:00 2001
+From: Bertrand Jacquin <bertrand@jacquin.bzh>
+Date: Sun, 14 Oct 2018 00:04:19 +0100
+Subject: [PATCH] Link to libhidapi rather than pcsclite
+
+---
+ monero-wallet-gui.pro | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro
+index 25721c7c748c..3f26a5f36360 100644
+--- a/monero-wallet-gui.pro
++++ b/monero-wallet-gui.pro
+@@ -10,8 +10,8 @@ QT += qml quick widgets
+ WALLET_ROOT=$$PWD/monero
+
+ CONFIG += c++11 link_pkgconfig
+-packagesExist(libpcsclite) {
+- PKGCONFIG += libpcsclite
++packagesExist(hidapi-libusb) {
++ PKGCONFIG += hidapi-libusb
+ }
+ !win32 {
+ QMAKE_CXXFLAGS += -fPIC -fstack-protector -fstack-protector-strong
diff --git a/net-p2p/monero-gui/monero-gui-0.13.0.2.ebuild b/net-p2p/monero-gui/monero-gui-0.13.0.2.ebuild
new file mode 100644
index 00000000..086f83a4
--- /dev/null
+++ b/net-p2p/monero-gui/monero-gui-0.13.0.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2018 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-${PV}[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"
+
+PATCHES=( "${FILESDIR}/${PV}-Link-to-libhidapi-rather-than-pcsclite.patch" )
+
+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
+}
diff --git a/net-p2p/monero/monero-0.13.0.2.ebuild b/net-p2p/monero/monero-0.13.0.2.ebuild
index a255bd61..ee0b71c7 100644
--- a/net-p2p/monero/monero-0.13.0.2.ebuild
+++ b/net-p2p/monero/monero-0.13.0.2.ebuild
@@ -35,9 +35,10 @@ PDEPEND="qt5? ( =net-p2p/monero-gui-${PV} )"
PATCHES=( "${FILESDIR}/${PV}-Drop-in-tree-miniupnpc.patch" )
+CMAKE_BUILD_TYPE=Release
+
src_configure () {
local mycmakeargs=(
- -DCMAKE_BUILD_TYPE=Release
-DBUILD_DOCUMENTATION="$(usex doc ON OFF)"
-DBUILD_TESTS=OFF
-DCOVERAGE=OFF