From: gruve-p <gruve-p@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: groestlcoin-22.0
Date: Sun, 17 Apr 2022 12:50:03 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36733@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
There is a new 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: 3064 bytes --]
From 595b439f2b51cb0c14ab07e798abb6cf12a0ea2f Mon Sep 17 00:00:00 2001
From: gruve-p <groestlcoin@gmail.com>
Date: Sun, 17 Apr 2022 12:48:55 +0200
Subject: [PATCH] New package: groestlcoin-22.0
---
srcpkgs/groestlcoin/template | 73 ++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
create mode 100644 srcpkgs/groestlcoin/template
diff --git a/srcpkgs/groestlcoin/template b/srcpkgs/groestlcoin/template
new file mode 100644
index 000000000000..e466c5bae15c
--- /dev/null
+++ b/srcpkgs/groestlcoin/template
@@ -0,0 +1,73 @@
+# 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() {
+ rm "${DESTDIR}"/usr/bin/{test,bench}_groestlcoin
+
+ 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
+ }
+}
next reply other threads:[~2022-04-17 10:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-17 10:50 gruve-p [this message]
2022-04-17 17:27 ` [PR PATCH] [Updated] " gruve-p
2022-04-17 17:27 ` gruve-p
2022-04-17 19:00 ` gruve-p
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36733@inbox.vuxu.org \
--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).