public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/uxn/
Date: Fri, 30 Sep 2022 02:09:07 +0000 (UTC)	[thread overview]
Message-ID: <1664503745.c9e93c41ade14ff88cf0fc7c81a49f97a32cc97e.xgqt@gentoo> (raw)

commit:     c9e93c41ade14ff88cf0fc7c81a49f97a32cc97e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 02:06:29 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 02:09:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e93c41

app-emulation/uxn: bump to 0_p20220921

monthly snapshot, from
https://git.sr.ht/~rabbits/uxn/commit/cbc61578b77881232fda4cc42aa914a0806b786f

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emulation/uxn/Manifest               |  1 +
 app-emulation/uxn/uxn-0_p20220921.ebuild | 53 ++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-emulation/uxn/Manifest b/app-emulation/uxn/Manifest
index 9f90f4c25b63..3fe474684cb7 100644
--- a/app-emulation/uxn/Manifest
+++ b/app-emulation/uxn/Manifest
@@ -1 +1,2 @@
 DIST uxn-0_p20220815.tar.gz 286763 BLAKE2B d50e52da1614fdd2939ad09d5c372c103cbfa074b10e1a17560baa3ad5e09a81b9627efdc5f17c7572798d06f1e6a388cb473348950cef5ba45c7d40b3716ec6 SHA512 237c6d633783006d8503b6b4726aaa1d8ed22209c0c6368e78a3da0703d92cb8b1e9c5c7372faecc374082be56608ac1857efc0629e0dff6e374a2adbf1d20ea
+DIST uxn-0_p20220921.tar.gz 286803 BLAKE2B 98230eec1f5071451a25dbe0136f3fd2d7e9ad08287df40bef611ae3012e3775d787a653a43fb4f1cb6c8f213cb8d39684e48c4f6c225bc19e86f1e4b94d73ba SHA512 8568114ddd98672aab4ca59ab279d39ff7a30c04d0b2a53da85b342a17a80d82b5b0ab90f04f63aa0491f8feaa91655f8fa725ec0d76a559b6201407b47bf1f5

diff --git a/app-emulation/uxn/uxn-0_p20220921.ebuild b/app-emulation/uxn/uxn-0_p20220921.ebuild
new file mode 100644
index 000000000000..734928959333
--- /dev/null
+++ b/app-emulation/uxn/uxn-0_p20220921.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=cbc61578b77881232fda4cc42aa914a0806b786f
+
+inherit toolchain-funcs
+
+DESCRIPTION="An assembler and emulator for the Uxn stack-machine, written in ANSI C"
+HOMEPAGE="
+	https://wiki.xxiivv.com/site/uxn.html
+	https://git.sr.ht/~rabbits/uxn/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
+else
+	SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${H}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/${PN}-${H}
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="media-libs/libsdl2:="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/uxn-build.sh.patch )
+
+src_compile() {
+	CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" ./build.sh --no-run ||
+		die "build failed"
+
+	local f
+	for f in ./projects/{examples/*,software,utils}/*.tal ; do
+		./bin/uxnasm "${f}" "$(dirname "${f}")"/"$(basename "${f}" .tal)".rom ||
+			die "failed to assemble ${f}"
+	done
+}
+
+src_install() {
+	exeinto /usr/bin
+	doexe bin/uxn*
+
+	insinto /usr/share/uxn
+	doins bin/*.rom
+	doins -r projects
+
+	einstalldocs
+}


             reply	other threads:[~2022-09-30  2:09 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-30  2:09 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-25 23:12 [gentoo-commits] repo/gentoo:master commit in: app-emulation/uxn/ Maciej Barć
2025-02-23 16:57 Sam James
2025-01-22 16:20 Maciej Barć
2025-01-09 21:22 Maciej Barć
2024-12-28 15:59 Sam James
2024-11-13 18:16 Maciej Barć
2024-04-09  9:30 Maciej Barć
2024-04-06 16:37 Arthur Zamarin
2024-03-06 14:23 Maciej Barć
2024-03-05 23:07 Maciej Barć
2024-03-05 23:07 Maciej Barć
2023-09-16 14:48 Maciej Barć
2023-09-07 19:51 Sam James
2023-08-03 19:03 Maciej Barć
2023-08-03 19:03 Maciej Barć
2023-07-29 19:46 Maciej Barć
2023-07-25 13:45 Sam James
2023-06-22 23:18 Maciej Barć
2023-06-22 23:18 Maciej Barć
2023-06-22 23:18 Maciej Barć
2023-06-07 16:11 Sam James
2023-05-02  0:39 Maciej Barć
2023-04-03 19:16 Sam James
2023-02-10 20:59 Maciej Barć
2023-02-08  1:55 Sam James
2023-02-02 17:46 Maciej Barć
2023-02-02 17:46 Maciej Barć
2023-02-02 17:46 Maciej Barć
2022-12-24 22:26 Maciej Barć
2022-12-24 22:26 Maciej Barć
2022-11-06 20:11 Maciej Barć
2022-08-17  1:22 Sam James

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=1664503745.c9e93c41ade14ff88cf0fc7c81a49f97a32cc97e.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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