Github messages for voidlinux
 help / color / mirror / Atom feed
From: shizonic <shizonic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gn-0.0.20201019
Date: Thu, 22 Oct 2020 12:39:18 +0200	[thread overview]
Message-ID: <20201022103918.WQNBskoj11YNZHjk_aJ14BaI75mmMfkaOvM0wqkMDGg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25735@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

There is an updated pull request by shizonic against master on the void-packages repository

https://github.com/shizonic/void-packages gn
https://github.com/void-linux/void-packages/pull/25735

New package: gn-0.0.20201019


A patch file from https://github.com/void-linux/void-packages/pull/25735.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gn-25735.patch --]
[-- Type: text/x-diff, Size: 1362 bytes --]

From ddde82f57fa439d0973c7ca8280f8347169b4732 Mon Sep 17 00:00:00 2001
From: Toby Merz <realtiaz@gmail.com>
Date: Thu, 15 Oct 2020 12:06:53 +0200
Subject: [PATCH] New package: gn-0.0.20201022

---
 srcpkgs/gn/template | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/gn/template

diff --git a/srcpkgs/gn/template b/srcpkgs/gn/template
new file mode 100644
index 00000000000..ae54fb17f2c
--- /dev/null
+++ b/srcpkgs/gn/template
@@ -0,0 +1,32 @@
+# Template file for 'gn'
+pkgname=gn
+version=0.0.20201022
+revision=1
+_githash=f5f465b52e5df6d4de9fbe67cc79f1914ba4dbfc
+create_wrksrc=yes
+hostmakedepends="python3 ninja"
+short_desc="Meta-build system that generates build files for Ninja"
+maintainer="shizonic <realtiaz@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://gn.googlesource.com/gn/"
+distfiles="https://gn.googlesource.com/gn/+archive/${_githash}.tar.gz"
+checksum=@3ef35abf6ff8530e55cd145c7f9498d6e08169d5fea9d9ce4ece29ff4b7fb14a
+
+post_extract() {
+	printf '#define LAST_COMMIT_POSITION "%s"\n' "$version" >src/gn/last_commit_position.h
+	printf '#define LAST_COMMIT_POSITION_NUM 0\n' >>src/gn/last_commit_position.h
+}
+
+do_build() {
+	./build/gen.py --no-last-commit-position
+	ninja -C out
+}
+
+do_check() {
+	./out/gn_unittests
+}
+
+do_install() {
+	vbin out/gn
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-10-22 10:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-19 11:33 [PR PATCH] " shizonic
2020-10-22  4:04 ` shizonic
2020-10-22  4:13 ` ericonr
2020-10-22  4:13 ` ericonr
2020-10-22  4:53 ` shizonic
2020-10-22  5:14 ` ericonr
2020-10-22  5:23 ` shizonic
2020-10-22 10:36 ` [PR PATCH] [Updated] " shizonic
2020-10-22 10:39 ` shizonic [this message]
2020-10-22 12:27 ` New package: gn-0.0.20201022 shizonic
2020-10-22 12:27 ` [PR PATCH] [Closed]: " shizonic

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=20201022103918.WQNBskoj11YNZHjk_aJ14BaI75mmMfkaOvM0wqkMDGg@z \
    --to=shizonic@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).