From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CF7915800F for ; Thu, 2 Feb 2023 17:46:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40FC6E079E; Thu, 2 Feb 2023 17:46:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0788DE07AE for ; Thu, 2 Feb 2023 17:46:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0EFC3335CEE for ; Thu, 2 Feb 2023 17:46:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DAB9899 for ; Thu, 2 Feb 2023 17:46:47 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1675360005.52edf5c020a0f46f7b4bc376f47f25cc611a222c.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/uxn/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/uxn/Manifest app-emulation/uxn/uxn-0_p20230201.ebuild X-VCS-Directories: app-emulation/uxn/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 52edf5c020a0f46f7b4bc376f47f25cc611a222c X-VCS-Branch: master Date: Thu, 2 Feb 2023 17:46:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c767b574-2bdd-40ca-81ab-7a84ba5556fa X-Archives-Hash: 3339334a34a6139537e3fc32b209a7cc commit: 52edf5c020a0f46f7b4bc376f47f25cc611a222c Author: Maciej Barć gentoo org> AuthorDate: Thu Feb 2 17:40:05 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Feb 2 17:46:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52edf5c0 app-emulation/uxn: bump to 0_p20230201 Signed-off-by: Maciej Barć gentoo.org> app-emulation/uxn/Manifest | 1 + app-emulation/uxn/uxn-0_p20230201.ebuild | 52 ++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/app-emulation/uxn/Manifest b/app-emulation/uxn/Manifest index 47badc88ef0d..49bb89873412 100644 --- a/app-emulation/uxn/Manifest +++ b/app-emulation/uxn/Manifest @@ -1,2 +1,3 @@ DIST uxn-0_p20221022.tar.gz 287106 BLAKE2B 3ca3f1363a71c2c974e95c75cba09d13ff81f320e1ec5ecf3b9a93de6d834447105fd49aa04c0c94a53f01a79bfda68f24662c7eac3993937d9870e5fd7dd4f6 SHA512 77fa297cdd02856cc1a6ddd4515f459d77e216434319a3e7901598d1c28dc34fe49429ae6875745f412bbc977c44041c2c65dc5d0dc4fdb25708e8e666995d81 DIST uxn-0_p20221211.tar.gz 284943 BLAKE2B de116e87120bc71975271c9ad0c1b01cba6e13a78cba0faaf811a2cace72204f15fca620bb4c87518542208e1c2af49e6db98b1b3b442ec3a855fb8b592acb2d SHA512 d59504f994b487aff151fefdb2f0f87a707fe998c1ea08539dc8d67aed28a4c93c9ff4bde036a9eb44401e8e6a12b7a15c17e434d5cab7b44a17e2e18e50e978 +DIST uxn-0_p20230201.tar.gz 285942 BLAKE2B 2ace9aba9e7c5c7cd60c8db2208e16b4af4830dee5bb10eaa228028ada8701154069423a6b920a09821f63e52dd8955c48e2f13b58061aa08256045e20aaf020 SHA512 e33ff693124d14ee94c8192adb47d940f08d37c22067264afdcae7f4f9ac713915c4daa3bbee3e38385cb71b988a30991ca8ea123dd542438367eaf3a4c88f84 diff --git a/app-emulation/uxn/uxn-0_p20230201.ebuild b/app-emulation/uxn/uxn-0_p20230201.ebuild new file mode 100644 index 000000000000..1a4ba33c7ae1 --- /dev/null +++ b/app-emulation/uxn/uxn-0_p20230201.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == *_p20230201 ]] && COMMIT=0dcc3b4c2e12bf2a61e682e9168e8bdb469caae0 + +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/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-${COMMIT} + 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 +}