Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: clickclack-0.2.2
Date: Mon, 09 May 2022 22:20:09 +0200	[thread overview]
Message-ID: <20220509202009.IrcncgS9CGJPfZW6yUo73PQ7lC7-zAVxV-NsTgODTig@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36915@inbox.vuxu.org>

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

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

https://github.com/Eloitor/void-packages clickclack
https://github.com/void-linux/void-packages/pull/36915

New Package: clickclack-0.2.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


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

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

From 227c46c133e52dce753ddf9d2da538420819c0da Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 30 Apr 2022 00:19:44 +0200
Subject: [PATCH] New Package: clickclack-0.2.2

---
 .../patches/support-cross-compilation.patch   | 22 +++++++++++++++++++
 srcpkgs/clickclack/template                   | 16 ++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/clickclack/patches/support-cross-compilation.patch
 create mode 100644 srcpkgs/clickclack/template

diff --git a/srcpkgs/clickclack/patches/support-cross-compilation.patch b/srcpkgs/clickclack/patches/support-cross-compilation.patch
new file mode 100644
index 000000000000..ec0a57c38128
--- /dev/null
+++ b/srcpkgs/clickclack/patches/support-cross-compilation.patch
@@ -0,0 +1,22 @@
+ Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index b593b7f..1bf7a8e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,12 +2,13 @@ PREFIX:=/usr
+ 
+ PROGRAMS = clickclack
+ 
++CC ?= $(CROSS_COMPILE)gcc
+ CFLAGS ?= -O2
+ 
+ all: $(PROGRAMS)
+ 
+ clickclack: clickclack.c
+-	gcc $(CFLAGS) -o clickclack clickclack.c -l SDL2
++	$(CC) $(CFLAGS) -o clickclack clickclack.c -l SDL2
+ 
+ clean:
+ 	rm -f clickclack
diff --git a/srcpkgs/clickclack/template b/srcpkgs/clickclack/template
new file mode 100644
index 000000000000..c7c883453319
--- /dev/null
+++ b/srcpkgs/clickclack/template
@@ -0,0 +1,16 @@
+# Template file for 'clickclack'
+pkgname=clickclack
+version=0.2.2
+revision=1
+build_style=gnu-makefile
+makedepends="SDL2-devel"
+short_desc="Simple haptic feedback and audio feedback tool"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license=MIT
+homepage=https://git.sr.ht/~proycon/clickclack
+distfiles="https://git.sr.ht/~proycon/clickclack/archive/${version}.tar.gz"
+checksum=0d2b1e55a59a0b7dc32dae60d7f2d420111b52d30fe2e0871a284436aa2ffcbd
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2022-05-09 20:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29 20:22 [PR PATCH] " Eloitor
2022-04-29 20:25 ` [PR PATCH] [Updated] " Eloitor
2022-05-09 16:01 ` [PR REVIEW] " JamiKettunen
2022-05-09 16:02 ` JamiKettunen
2022-05-09 16:34 ` [PR PATCH] [Updated] " Eloitor
2022-05-09 16:48 ` Eloitor
2022-05-09 20:20 ` Eloitor [this message]
2022-05-09 20:20 ` Eloitor
2022-05-09 21:52 ` [PR REVIEW] " paper42
2022-05-09 21:52 ` paper42
2022-05-09 21:52 ` paper42
2022-05-10 11:10 ` JamiKettunen
2022-05-10 11:11 ` JamiKettunen
2022-05-10 12:27 ` JamiKettunen
2022-05-10 20:54 ` [PR PATCH] [Updated] " Eloitor
2022-05-10 20:54 ` [PR REVIEW] " Eloitor
2022-05-10 22:30 ` JamiKettunen
2022-05-12  8:12 ` [PR PATCH] [Updated] " Eloitor
2022-05-12  8:14 ` Eloitor
2022-05-13 19:18 ` [PR PATCH] [Merged]: New Package: clickclack-0.2.3 paper42

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=20220509202009.IrcncgS9CGJPfZW6yUo73PQ7lC7-zAVxV-NsTgODTig@z \
    --to=eloitor@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).