diff --git a/srcpkgs/monero-core b/srcpkgs/monero-core new file mode 120000 index 00000000000..6e7f62767eb --- /dev/null +++ b/srcpkgs/monero-core @@ -0,0 +1 @@ +monero-gui \ No newline at end of file diff --git a/srcpkgs/monero-gui/INSTALL.msg b/srcpkgs/monero-gui/INSTALL.msg new file mode 100644 index 00000000000..06ac937bb78 --- /dev/null +++ b/srcpkgs/monero-gui/INSTALL.msg @@ -0,0 +1,4 @@ +For monero-gui to connect to the network, it needs access to a monero node. +You may either enter a remote node in the application itself or provide +a locally running node for it to work with. The necessary daemon software +to run a local node is available in the 'monero' package. diff --git a/srcpkgs/monero-core/template b/srcpkgs/monero-gui/template similarity index 78% rename from srcpkgs/monero-core/template rename to srcpkgs/monero-gui/template index e2566978247..79d2f89150a 100644 --- a/srcpkgs/monero-core/template +++ b/srcpkgs/monero-gui/template @@ -1,8 +1,7 @@ -# Template file for 'monero-core' -pkgname=monero-core -version=0.11.1.0 -revision=2 -wrksrc="monero-gui-${version}" +# Template file for 'monero-gui' +pkgname=monero-gui +version=0.12.0.0 +revision=1 build_style=qmake hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-quickcontrols qt5-declarative-devel" makedepends="libatomic-devel monero-devel boost-devel libunwind-devel miniupnpc-devel @@ -14,14 +13,14 @@ maintainer="Helmut Pozimski " license="3-clause-BSD" homepage="https://getmonero.org" distfiles="https://github.com/monero-project/monero-gui/archive/v${version}.tar.gz" -checksum=39870b40b81cfe986c4ccd379fdde2cf34dabe8e427f7a9723e73ec9ee4ceae0 +checksum=b915be9ade49e75271033ddfd3ea8956aa3e36ef54d92f99a01532b06a8d3743 pre_configure() { echo "var GUI_VERSION = \"${version}\"" > version.js echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js case "$XBPS_TARGET_MACHINE" in armv[56]*) # armv[56]* need to link libatomic.a for __atomic_fetch_sub_8 - sed -i *.pro -e "s;-lreadline ;-lreadline -latomic ;" + sed -i *.pro -e "s;-leasylogging ;-leasylogging -latomic ;" ;; esac } @@ -42,3 +41,10 @@ do_install() { vbin release/bin/monero-wallet-gui vlicense LICENSE } + +monero-core_package() { + build_style=meta + noarch=yes + depends="monero-gui>=$version" + short_desc+=" - transitional dummy package" +}