mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-emulation/uxn: bump to 0_p20220921
monthly snapshot, from
cbc61578b7
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
53
app-emulation/uxn/uxn-0_p20220921.ebuild
Normal file
53
app-emulation/uxn/uxn-0_p20220921.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user