-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
- Loading branch information
Showing
4 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DIST etherwall-3.0.5.tar.gz 312535 BLAKE2B 4247ff3c3c9aed4f962a5ed6ddc0e4ab577aef02ef6a444b51cfc712defe713142ac6265dd241bb90655de111191b786e0ee0e430b3cb416930e4f101ff0e6dc SHA512 6304d41ac0bec09961cdb5d1467e93c33cad89392ee451bfa92578a05d44fb10450b1392d77ce2be78253e3fcba1bee766593d66440b1b5e15bc97495134d418 | ||
DIST ew-node-dcc3d76f833a9be47a094e46a0ffa7503e28d007.tar.gz 57254 BLAKE2B 67ea51f1f8976986c26ba48be3940ba6665799b83b0b498f01d1185a526764ef95422be4cfc943efd31829d9e1f5e0796407608559f87666742fc09ddec5642c SHA512 3c000ac3ed51406b3038592624135ddc5298ecfccc4523b3d343cb4b3a0f0d74a90ee8b2ef76b00af5ee5a056fed1042fe47067d36daad032bb95a1abf19fdfd | ||
DIST trezor-common-db106e8f2766155bc72802e4dc3f9f59c90d9c3e.tar.gz 1360214 BLAKE2B 1c05131d1cfc91675edb2214c99f2fabcc65291110fb7635c212b17636994663bd16e7251723e35afd737023c174cc00fe51edabfb4b58a7e51a151c8d42df4f SHA512 745044fe0686c4f2843a67440e3be8501d8c1d5b8b7275fad7310cfd1110d5cc00378ba4205bed6f5926636a65aa986448594fc6fe276b9f46c902c642ad0373 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit qmake-utils | ||
|
||
DESCRIPTION="Qt5 Etherium Wallet" | ||
HOMEPAGE="https://github.com/almindor/etherwall" | ||
if [[ ${PV} == "9999" ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/almindor/${PN}" | ||
else | ||
EW_NODE_SHA=dcc3d76f833a9be47a094e46a0ffa7503e28d007 | ||
TREZOR_COMMON_SHA=db106e8f2766155bc72802e4dc3f9f59c90d9c3e | ||
SRC_URI=" | ||
https://github.com/almindor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz | ||
https://github.com/almindor/ew-node/archive/${EW_NODE_SHA}.tar.gz -> ew-node-${EW_NODE_SHA}.tar.gz | ||
https://github.com/trezor/trezor-common/archive/${TREZOR_COMMON_SHA}.tar.gz -> trezor-common-${TREZOR_COMMON_SHA}.tar.gz | ||
" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
fi | ||
LICENSE="BSD" | ||
SLOT="0" | ||
|
||
DEPEND=" | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND=" | ||
${BDEPEND} | ||
dev-libs/protobuf | ||
" | ||
|
||
src_prepare() { | ||
default | ||
sed -r \ | ||
-e 's@/opt/\$\$\{TARGET\}@/usr@' \ | ||
-i "${S}/deployment.pri" || die 'Failed to patch install path' | ||
rmdir "${S}/src/ew-node" "${S}/src/trezor/trezor-common" | ||
mv "${WORKDIR}/ew-node-${EW_NODE_SHA}" "${S}/src/ew-node/" || die "Failed to move ew-node" | ||
mv "${WORKDIR}/trezor-common-${TREZOR_COMMON_SHA}" "${S}/src/trezor/trezor-common" || die "Failed to movetrezor-common" | ||
./generate_protobuf.sh || die "Failed to regen protobuf" | ||
} | ||
|
||
src_configure(){ | ||
# local myeqmakeargs=() | ||
eqmake5 ${myeqmakeargs[@]} | ||
} | ||
|
||
src_install(){ | ||
emake INSTALL_ROOT="${D}" install || die | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit qmake-utils | ||
|
||
DESCRIPTION="Qt5 Etherium Wallet" | ||
HOMEPAGE="https://github.com/almindor/etherwall" | ||
if [[ ${PV} == "9999" ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/almindor/${PN}" | ||
else | ||
EW_NODE_SHA=dcc3d76f833a9be47a094e46a0ffa7503e28d007 | ||
TREZOR_COMMON_SHA=db106e8f2766155bc72802e4dc3f9f59c90d9c3e | ||
SRC_URI=" | ||
https://github.com/almindor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz | ||
https://github.com/almindor/ew-node/archive/${EW_NODE_SHA}.tar.gz -> ew-node-${EW_NODE_SHA}.tar.gz | ||
https://github.com/trezor/trezor-common/archive/${TREZOR_COMMON_SHA}.tar.gz -> trezor-common-${TREZOR_COMMON_SHA}.tar.gz | ||
" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
fi | ||
LICENSE="BSD" | ||
SLOT="0" | ||
|
||
DEPEND=" | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND=" | ||
${BDEPEND} | ||
dev-libs/protobuf | ||
" | ||
|
||
src_prepare() { | ||
default | ||
sed -r \ | ||
-e 's@/opt/\$\$\{TARGET\}@/usr@' \ | ||
-i "${S}/deployment.pri" || die 'Failed to patch install path' | ||
rmdir "${S}/src/ew-node" "${S}/src/trezor/trezor-common" | ||
mv "${WORKDIR}/ew-node-${EW_NODE_SHA}" "${S}/src/ew-node/" || die "Failed to move ew-node" | ||
mv "${WORKDIR}/trezor-common-${TREZOR_COMMON_SHA}" "${S}/src/trezor/trezor-common" || die "Failed to movetrezor-common" | ||
./generate_protobuf.sh || die "Failed to regen protobuf" | ||
} | ||
|
||
src_configure(){ | ||
# local myeqmakeargs=() | ||
eqmake5 ${myeqmakeargs[@]} | ||
} | ||
|
||
src_install(){ | ||
emake INSTALL_ROOT="${D}" install || die | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<description>Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name</description> | ||
<name>Vadim A. Misbakh-Soloviov</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">almindor/etherwall</remote-id> | ||
</upstream> | ||
</pkgmetadata> |