diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-16 17:00:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-16 17:00:58 +0100 |
commit | 7b830374520118e805fdd214530a389653750f51 (patch) | |
tree | 1f6ef2872a3f89b278b2d5c7f82f36df335dce30 /app-emulation/uxn/uxn-0_p20230609.ebuild | |
parent | 3c490942d0d98701d1c0971e60911fa6bd3ecb76 (diff) |
gentoo auto-resync : 16:09:2023 - 17:00:58
Diffstat (limited to 'app-emulation/uxn/uxn-0_p20230609.ebuild')
-rw-r--r-- | app-emulation/uxn/uxn-0_p20230609.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/app-emulation/uxn/uxn-0_p20230609.ebuild b/app-emulation/uxn/uxn-0_p20230609.ebuild deleted file mode 100644 index 3e74d8832938..000000000000 --- a/app-emulation/uxn/uxn-0_p20230609.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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" -elif [[ ${PV} == *_p20230609 ]] ; then - COMMIT=f3674b2562e6c5557fc008edbac71d9fcfde64ff - SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}"/uxn-${COMMIT} - KEYWORDS="amd64 ~x86" -else - die "wrong package version (PV), given: ${PV}" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND="media-libs/libsdl2:=" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}"/uxn-0_p20230609-build.sh.patch ) - -src_compile() { - CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" ./build.sh --no-run || - die "build failed" - - local f - local f_base - for f in ./projects/{examples/*,software,utils}/*.tal ; do - f_base="$(basename "${f}" .tal)" - ebegin "Assembling ROM ${f_base}" - ./bin/uxnasm "${f}" "$(dirname "${f}")"/"${f_base}".rom - eend ${?} || 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 -} |