logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: b561a416780da86a17b3d0cd3f134b8c094d38ba
parent 0a8e96a66964d6d76311d45550acf1779a6e7d38
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 10 Mar 2024 14:56:54 +0100

app-emulation/arcem: new package, add 1.50

Diffstat:

Aapp-emulation/arcem/Manifest1+
Aapp-emulation/arcem/arcem-1.50.ebuild34++++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/app-emulation/arcem/Manifest b/app-emulation/arcem/Manifest @@ -0,0 +1 @@ +DIST arcem-1.50-src.zip 1420685 BLAKE2B ecf61c5ba5be360e9c14b87cf0acfab8a9f2a9826a9e808f222b3109469c4745a6be849583d1fec9b6e506f28aa4e59dfbf1b6bde18a537403bd3725795a4206 SHA512 495f58558b51d4796a199a5f34bf3604972f47236c2f0e116af74327ea6800d696503a89fafb20af21307653010642bff5f7962eb7d1ce16a4aea095fb1494f6 diff --git a/app-emulation/arcem/arcem-1.50.ebuild b/app-emulation/arcem/arcem-1.50.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Dave Gilbert's Acorn Archimedes emulator" +HOMEPAGE="https://arcem.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/arcem-${PV}-src.zip" +S="${WORKDIR}/arcem-src" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="x11-libs/libX11" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # Clean out CFLAGS + sed -i '/ifeq (\$(PROFILE),yes)/,/^$/d' Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" +} + +src_install() { + einstalldocs + + dobin arcem +}