Merge pull request #7858 from Hoshpak/monero-core
New package: monero-core-0.11.0.0
This commit is contained in:
commit
4f70e0f7b6
4 changed files with 61 additions and 6 deletions
12
srcpkgs/monero-core/patches/readline.patch
Normal file
12
srcpkgs/monero-core/patches/readline.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- monero-wallet-gui.pro.orig 2017-09-28 10:51:59.106105235 +0200
|
||||||
|
+++ monero-wallet-gui.pro 2017-09-28 10:52:18.144866232 +0200
|
||||||
|
@@ -91,7 +91,8 @@
|
||||||
|
-lwallet_merged \
|
||||||
|
-lepee \
|
||||||
|
-lunbound \
|
||||||
|
- -leasylogging
|
||||||
|
+ -leasylogging \
|
||||||
|
+ -lreadline
|
||||||
|
}
|
||||||
|
|
||||||
|
|
37
srcpkgs/monero-core/template
Normal file
37
srcpkgs/monero-core/template
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Template file for 'monero-core'
|
||||||
|
pkgname=monero-core
|
||||||
|
version=0.11.0.0
|
||||||
|
revision=1
|
||||||
|
build_style=qmake
|
||||||
|
hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-quickcontrols qt5-declarative-devel"
|
||||||
|
makedepends="monero-devel boost-devel libunwind-devel miniupnpc-devel
|
||||||
|
libressl-devel readline-devel qt5-devel qt5-declarative-devel
|
||||||
|
unbound-devel"
|
||||||
|
depends="qt5-graphicaleffects qt5-quickcontrols"
|
||||||
|
short_desc="GUI for the core Monero implementation"
|
||||||
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||||
|
license="3-clause-BSD"
|
||||||
|
homepage="https://getmonero.org"
|
||||||
|
distfiles="https://github.com/monero-project/monero-core/archive/v${version}.tar.gz"
|
||||||
|
checksum=ef63cfee677eccbebeb4cbb5449016d7c54fd67ea27ac9ee316aebb0f89bd942
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
echo "var GUI_VERSION = \"${version}\"" > version.js
|
||||||
|
echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
# The dictgen binary is executed during the build to generate code
|
||||||
|
# but is not included in the binary package. It thus needs to be
|
||||||
|
# built for the host
|
||||||
|
CXX=${CXX_host} CXXFLAGS=${XBPS_CXXFLAGS} LDFLAGS=${XBPS_LDFLAGS} make -j ${XBPS_MAKEJOBS} -C src/zxcvbn-c dictgen
|
||||||
|
|
||||||
|
fi
|
||||||
|
make -j ${XBPS_MAKEJOBS} -C src/zxcvbn-c
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin release/bin/monero-wallet-gui
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
1
srcpkgs/monero-devel
Symbolic link
1
srcpkgs/monero-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
monero
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'monero'
|
# Template file for 'monero'
|
||||||
pkgname=monero
|
pkgname=monero
|
||||||
version=0.11.0.0
|
version=0.11.0.0
|
||||||
revision=1
|
revision=2
|
||||||
conf_files="/etc/monerod.conf"
|
conf_files="/etc/monerod.conf"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -34,15 +34,20 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
vbin build/bin/monerod
|
vlicense LICENSE
|
||||||
vbin build/bin/monero-wallet-cli
|
|
||||||
vbin build/bin/monero-blockchain-import
|
vbin build/bin/monero-blockchain-import
|
||||||
vbin build/bin/monero-blockchain-export
|
vbin build/bin/monero-blockchain-export
|
||||||
vinstall utils/conf/monerod.conf 644 etc
|
vinstall utils/conf/monerod.conf 644 etc
|
||||||
vsv monerod
|
vsv monerod
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
monero-devel_package() {
|
||||||
vlicense LICENSE
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue