From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: uxn-1.0
Date: Fri, 20 Oct 2023 17:17:17 +0200 [thread overview]
Message-ID: <20231020151717.Ht-FaR-cUWhJvRBtLdL6W5VpW95_ntmGp0yGn0nLkDA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46766@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages uxn
https://github.com/void-linux/void-packages/pull/46766
New package: uxn-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
A patch file from https://github.com/void-linux/void-packages/pull/46766.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-uxn-46766.patch --]
[-- Type: text/x-diff, Size: 1575 bytes --]
From 3f0dacbaad65673018d0a357e928a5df5d769f3a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Wed, 18 Oct 2023 23:38:25 +0200
Subject: [PATCH] New package: uxn-1.0
---
srcpkgs/uxn/template | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 srcpkgs/uxn/template
diff --git a/srcpkgs/uxn/template b/srcpkgs/uxn/template
new file mode 100644
index 0000000000000..797654c9aa33e
--- /dev/null
+++ b/srcpkgs/uxn/template
@@ -0,0 +1,27 @@
+# Template file for 'uxn'
+pkgname=uxn
+version=1.0
+revision=1
+hostmakedepends="SDL2-devel"
+makedepends="SDL2-devel"
+short_desc="Assembler and emulator for the Uxn stack-machine"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://100r.co/site/uxn.html"
+distfiles="https://git.sr.ht/~rabbits/uxn/archive/${version}.tar.gz"
+checksum=29059ee288474e48fae4b9e755bbc8e1b392a9c7ac90449d7a6599385c145460
+
+do_build() {
+ mkdir -p bin
+ export UXNEMU_LDFLAGS="-L/usr/local/lib $(sdl2-config --cflags --libs)"
+ ${CC} ${CFLAGS} src/uxnasm.c -o bin/uxnasm
+ ${CC} ${CFLAGS} src/uxn.c src/devices/system.c src/devices/console.c src/devices/file.c src/devices/datetime.c src/devices/mouse.c src/devices/controller.c src/devices/screen.c src/devices/audio.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu
+ ${CC} ${CFLAGS} src/uxn.c src/devices/system.c src/devices/console.c src/devices/file.c src/devices/datetime.c src/uxncli.c ${UXNEMU_LDFLAGS} -o bin/uxncli
+}
+
+do_install() {
+ vbin bin/uxnasm
+ vbin bin/uxncli
+ vbin bin/uxnemu
+ vlicense LICENSE
+}
next prev parent reply other threads:[~2023-10-20 15:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 21:42 [PR PATCH] " Eloitor
2023-10-19 9:11 ` [PR PATCH] [Updated] " Eloitor
2023-10-19 9:16 ` Eloitor
2023-10-19 16:04 ` [PR REVIEW] " Johnnynator
2023-10-19 16:05 ` Johnnynator
2023-10-19 22:08 ` Eloitor
2023-10-20 14:27 ` [PR PATCH] [Updated] " Eloitor
2023-10-20 15:17 ` Eloitor [this message]
2023-10-21 18:57 ` [PR REVIEW] " Johnnynator
2024-01-20 1:46 ` github-actions
2024-02-04 1:45 ` [PR PATCH] [Closed]: " github-actions
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=20231020151717.Ht-FaR-cUWhJvRBtLdL6W5VpW95_ntmGp0yGn0nLkDA@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).