summaryrefslogtreecommitdiff
path: root/app-emulation/uxn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-06 21:20:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-06 21:20:35 +0000
commitb6ed1e2a15cd8b0ad5c573cbfee3576fa5ee29a4 (patch)
tree1ec8ec6766a5f19885797eec219ed98b78be4b7d /app-emulation/uxn
parent3d013ccac70a281416dccbb6757f76818222cbba (diff)
gentoo auto-resync : 06:11:2022 - 21:20:35
Diffstat (limited to 'app-emulation/uxn')
-rw-r--r--app-emulation/uxn/Manifest2
-rw-r--r--app-emulation/uxn/uxn-0_p20221022.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/app-emulation/uxn/Manifest b/app-emulation/uxn/Manifest
index 1435c5e52ebd..081df8da9ff8 100644
--- a/app-emulation/uxn/Manifest
+++ b/app-emulation/uxn/Manifest
@@ -1,7 +1,9 @@
AUX uxn-build.sh.patch 363 BLAKE2B 5283c0a42a2e2ec96bbc15ea88bd7a4ff2a3b0f81274f87f6508fde09f1b6563b0bda6d96c2939e4a6d7bf4fc2fa5cadc1c79a7ab29bb0ffebaa3cdf03b86eb3 SHA512 f5b1df9b62ee9dc88a11e0950f7dd606e699ef6b23664cb37ba75c96e663cca1364fbff1597333db06bd6b3a7b5f797af612e2ea52002254dd30f03f13d723d0
DIST uxn-0_p20220815.tar.gz 286763 BLAKE2B d50e52da1614fdd2939ad09d5c372c103cbfa074b10e1a17560baa3ad5e09a81b9627efdc5f17c7572798d06f1e6a388cb473348950cef5ba45c7d40b3716ec6 SHA512 237c6d633783006d8503b6b4726aaa1d8ed22209c0c6368e78a3da0703d92cb8b1e9c5c7372faecc374082be56608ac1857efc0629e0dff6e374a2adbf1d20ea
DIST uxn-0_p20220921.tar.gz 286803 BLAKE2B 98230eec1f5071451a25dbe0136f3fd2d7e9ad08287df40bef611ae3012e3775d787a653a43fb4f1cb6c8f213cb8d39684e48c4f6c225bc19e86f1e4b94d73ba SHA512 8568114ddd98672aab4ca59ab279d39ff7a30c04d0b2a53da85b342a17a80d82b5b0ab90f04f63aa0491f8feaa91655f8fa725ec0d76a559b6201407b47bf1f5
+DIST uxn-0_p20221022.tar.gz 287106 BLAKE2B 3ca3f1363a71c2c974e95c75cba09d13ff81f320e1ec5ecf3b9a93de6d834447105fd49aa04c0c94a53f01a79bfda68f24662c7eac3993937d9870e5fd7dd4f6 SHA512 77fa297cdd02856cc1a6ddd4515f459d77e216434319a3e7901598d1c28dc34fe49429ae6875745f412bbc977c44041c2c65dc5d0dc4fdb25708e8e666995d81
EBUILD uxn-0_p20220815.ebuild 1135 BLAKE2B c7bbe65d7cefcaf2906269c1cbf6b4b80fc87a90bd8e50160130847cca3a5a5557324acdab8bcf5981c503a0857162fcd5d7a4b800755605d2f889fa6c71b5eb SHA512 d3f79d6f5ca928081b885c8e62c7d52c4339eae336e0c07d22484edceab01ce79b3f0671a0f7cc09ec0a3120d3181faf906df193987be30d5fd643d7fb7745b7
EBUILD uxn-0_p20220921.ebuild 1135 BLAKE2B 15c891ba488ee44a5195fc5bb829463ae168ef2eb064751e5dda1a3dbea567bb9cdc3d8329b817ddd94a37546593521025358cbd62785fe26ed7019868936df4 SHA512 ee293d9e588e35766d3e898cfd6824f99aebdefcf09aa016cadc08b14acdbfe7c40129e6b0f8a3ba880b4adf5c47fd38bc334658c545ae27322871275775fb45
+EBUILD uxn-0_p20221022.ebuild 1132 BLAKE2B cfef631b690e38faa5885485af9f1c41e46033c5db7c0d934a199a21ca33afa5066575144c947493563a873632b58d445b52240c3c650f3130ef7b864a1dbac5 SHA512 ad8ceb12d17715916f0d6c6c9a1c285e13d39e22931e556e6774f05316957d591f6e252f477ec62334e6c5334898ebb8b1e8d3be84f4ceb20b7de43b330d8e02
EBUILD uxn-9999.ebuild 1135 BLAKE2B c7bbe65d7cefcaf2906269c1cbf6b4b80fc87a90bd8e50160130847cca3a5a5557324acdab8bcf5981c503a0857162fcd5d7a4b800755605d2f889fa6c71b5eb SHA512 d3f79d6f5ca928081b885c8e62c7d52c4339eae336e0c07d22484edceab01ce79b3f0671a0f7cc09ec0a3120d3181faf906df193987be30d5fd643d7fb7745b7
MISC metadata.xml 643 BLAKE2B 11f4437dbab961e620e204294cb8b18e1ef43c2c79411f8b1224a36276c6a4781e3cb5e854040c979eaa27dc145eb606576ba20076d16a301e33aea6bdcd0df4 SHA512 b5bf43fdcafed44459ac77576f631105175691078b8094d505657fdacc0519856ca063890d432051aa5bff8853ca55f7b10d3b8f680230605de63f69b0acf997
diff --git a/app-emulation/uxn/uxn-0_p20221022.ebuild b/app-emulation/uxn/uxn-0_p20221022.ebuild
new file mode 100644
index 000000000000..c8521b44d3ac
--- /dev/null
+++ b/app-emulation/uxn/uxn-0_p20221022.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=1b2049e238df96f32335edf1c6db35bd09f8b42d
+
+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
+}