Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gn-0.0.20201019
@ 2020-10-19 11:33 shizonic
  2020-10-22  4:04 ` shizonic
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: shizonic @ 2020-10-19 11:33 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1353 bytes --]

From 798653843558685e17f4124f55e8b20e1a5c524b 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.20201019

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

diff --git a/srcpkgs/gn/template b/srcpkgs/gn/template
new file mode 100644
index 00000000000..bbd8fe14f66
--- /dev/null
+++ b/srcpkgs/gn/template
@@ -0,0 +1,29 @@
+# Template file for 'gn'
+pkgname=gn
+version=0.0.20201019
+revision=1
+_githash=3281c6697cbb7d5488f5e650dfce60b1999bcfab
+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=@4ef14b01ef9d1d7b7b9926206325ac679850a83721f543e6d115f617e01847b2
+
+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
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-22 12:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 11:33 [PR PATCH] New package: gn-0.0.20201019 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
2020-10-22 12:27 ` [PR PATCH] [Closed]: New package: gn-0.0.20201022 shizonic
2020-10-22 12:27 ` shizonic

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).