From: gruve-p <gruve-p@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: groestlcoin-22.0
Date: Sun, 17 Apr 2022 21:00:18 +0200 [thread overview]
Message-ID: <20220417190018.0a-dGZcxcJc61uUy1Jqhpyy2qfB-sSMOmy5iiF6o2n4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36733@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 797 bytes --]
There is an updated pull request by gruve-p against master on the void-packages repository
https://github.com/Groestlcoin/void-packages core
https://github.com/void-linux/void-packages/pull/36733
New package: groestlcoin-22.0
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/36733.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-core-36733.patch --]
[-- Type: text/x-diff, Size: 3938 bytes --]
From 2b0bf5e7e06abf1c9e47a9f025adcb0368813120 Mon Sep 17 00:00:00 2001
From: gruve-p <groestlcoin@gmail.com>
Date: Sun, 17 Apr 2022 12:48:55 +0200
Subject: [PATCH 1/2] New package: groestlcoin-22.0
---
srcpkgs/groestlcoin/template | 71 ++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
create mode 100644 srcpkgs/groestlcoin/template
diff --git a/srcpkgs/groestlcoin/template b/srcpkgs/groestlcoin/template
new file mode 100644
index 000000000000..a57ce73eb67d
--- /dev/null
+++ b/srcpkgs/groestlcoin/template
@@ -0,0 +1,71 @@
+# Template file for 'groestlcoin'
+pkgname=groestlcoin
+version=22.0
+revision=1
+build_style=gnu-configure
+configure_args="--disable-ccache --disable-static
+ --enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr --with-gui"
+hostmakedepends="automake libtool pkg-config yasm"
+makedepends="db-devel boost-devel miniupnpc-devel qt5-tools-devel
+ libevent-devel qrencode-devel libatomic-devel sqlite-devel"
+short_desc="Groestlcoin is a peer-to-peer network based digital currency"
+maintainer="Groestlcoin developers <groestlcoin@gmail.com>"
+license="MIT"
+homepage="https://www.groestlcoin.org/groestlcoin-core-wallet/"
+distfiles="https://github.com/Groestlcoin/groestlcoin/releases/download/v${version}/groestlcoin-${version}.tar.gz
+ https://raw.githubusercontent.com/Groestlcoin/packaging/${version}/debian/groestlcoin-qt.desktop
+ https://raw.githubusercontent.com/Groestlcoin/groestlcoin/v${version}/share/pixmaps/groestlcoin128.png"
+checksum="6c412361e7ff84e9f7cf6a25be0d18742098ddc0f91688b368b0be3e6daa46f1
+ 134c50eb1fbc3bd635c5e71f72891a144e49833d9f47938e22e446b625c1bc57
+ ceaf8defe048b9eb47d7427c6a20587b6c0d5caabd97387982cf5c30ad59718b"
+skip_extraction="groestlcoin-qt.desktop groestlcoin128.png"
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-host-tools"
+fi
+
+pre_configure() {
+ autoreconf -fi
+ case "$XBPS_TARGET_MACHINE" in
+ aarch64*)
+ CFLAGS=${CFLAGS/armv8-a/armv8-a+crc+crypto}
+ CXXFLAGS=${CXXFLAGS/armv8-a/armv8-a+crc+crypto}
+ ;;
+ esac
+}
+
+pre_build() {
+ export GROESTLCOIN_GENBUILD_NO_GIT=1
+}
+
+post_install() {
+ for b in groestlcoind groestlcoin-cli groestlcoin-tx; do
+ vcompletion contrib/${b}.bash-completion bash $b
+ done
+
+ vlicense COPYING
+}
+
+groestlcoin-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ vdoc doc/shared-libraries.md # Provides information on libgroestlcoinconsensus
+ }
+}
+
+groestlcoin-qt_package() {
+ depends="desktop-file-utils"
+ short_desc+=" - QT GUI"
+ pkg_install() {
+ vmove usr/bin/groestlcoin-qt
+ vmove usr/share/man/man1/groestlcoin-qt.1
+ vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/groestlcoin-qt.desktop 644 usr/share/applications
+ vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/groestlcoin128.png 644 usr/share/pixmaps
+ vlicense COPYING
+ rm "${DESTDIR}"/usr/bin/test_groestlcoin-qt
+ }
+}
From 23c45d41c12606c0cdc470ca7a9b262ac7548189 Mon Sep 17 00:00:00 2001
From: gruve-p <groestlcoin@gmail.com>
Date: Sun, 17 Apr 2022 21:00:13 +0200
Subject: [PATCH 2/2] fix
---
srcpkgs/groestlcoin-devel/groestlcoin | 1 +
srcpkgs/groestlcoin-qt/groestlcoin | 1 +
2 files changed, 2 insertions(+)
create mode 120000 srcpkgs/groestlcoin-devel/groestlcoin
create mode 120000 srcpkgs/groestlcoin-qt/groestlcoin
diff --git a/srcpkgs/groestlcoin-devel/groestlcoin b/srcpkgs/groestlcoin-devel/groestlcoin
new file mode 120000
index 000000000000..77a0da53be6b
--- /dev/null
+++ b/srcpkgs/groestlcoin-devel/groestlcoin
@@ -0,0 +1 @@
+groestlcoin
\ No newline at end of file
diff --git a/srcpkgs/groestlcoin-qt/groestlcoin b/srcpkgs/groestlcoin-qt/groestlcoin
new file mode 120000
index 000000000000..77a0da53be6b
--- /dev/null
+++ b/srcpkgs/groestlcoin-qt/groestlcoin
@@ -0,0 +1 @@
+groestlcoin
\ No newline at end of file
next prev parent reply other threads:[~2022-04-17 19:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-17 10:50 [PR PATCH] " gruve-p
2022-04-17 17:27 ` [PR PATCH] [Updated] " gruve-p
2022-04-17 17:27 ` gruve-p
2022-04-17 19:00 ` gruve-p [this message]
2022-04-17 19:00 ` gruve-p
2022-04-17 19:11 ` gruve-p
2022-04-17 19:11 ` gruve-p
2022-04-19 7:34 ` gruve-p
2022-04-19 10:31 ` gruve-p
2022-04-19 10:33 ` gruve-p
2022-04-19 18:42 ` [PR PATCH] [Closed]: " gruve-p
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220417190018.0a-dGZcxcJc61uUy1Jqhpyy2qfB-sSMOmy5iiF6o2n4@z \
--to=gruve-p@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).