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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F15E913835A for ; Fri, 30 Apr 2021 07:45:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5512CE086F; Fri, 30 Apr 2021 07:45:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A19CE086F for ; Fri, 30 Apr 2021 07:45:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97014340CEE for ; Fri, 30 Apr 2021 07:45:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2234753 for ; Fri, 30 Apr 2021 07:45:21 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1619726682.d09ae1a39e6408d3577ef7037fc8738b83aaeae8.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/arnold/files/, app-emulation/arnold/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-emulation/arnold/Manifest app-emulation/arnold/arnold-20170513.ebuild app-emulation/arnold/files/arnold.png app-emulation/arnold/metadata.xml X-VCS-Directories: app-emulation/arnold/files/ app-emulation/arnold/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: d09ae1a39e6408d3577ef7037fc8738b83aaeae8 X-VCS-Branch: master Date: Fri, 30 Apr 2021 07:45:21 +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: fcf72e5d-1e7d-4607-b1ed-26ef6b63b1e0 X-Archives-Hash: 9a9611dc56d1bcd160536735a2075186 commit: d09ae1a39e6408d3577ef7037fc8738b83aaeae8 Author: Samuel Bauer yahoo fr> AuthorDate: Thu Apr 29 20:04:42 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 29 20:04:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d09ae1a3 app-emulation/arnold: new ebuild Signed-off-by: Samuel Bauer yahoo.fr> app-emulation/arnold/Manifest | 1 + app-emulation/arnold/arnold-20170513.ebuild | 51 ++++++++++++++++++++++++++++ app-emulation/arnold/files/arnold.png | Bin 0 -> 378 bytes app-emulation/arnold/metadata.xml | 11 ++++++ 4 files changed, 63 insertions(+) diff --git a/app-emulation/arnold/Manifest b/app-emulation/arnold/Manifest new file mode 100644 index 000000000..108e37900 --- /dev/null +++ b/app-emulation/arnold/Manifest @@ -0,0 +1 @@ +DIST arnold-20170513.zip 17247943 BLAKE2B 53212fe2b517adb065b874c9b2c86a322429f87e22d563bb6cc63a48a37d4498aaaece6bee05a4509b7940a3b38af2f6c7fb40043a448ae56a15284079f010d8 SHA512 f1e56d7a887e459cc9679582ffebd230c7c86a971832a6030a12f5025c32a70338f3f6b3060c925321d0fd52759097a3ecb1801d2fbd75ceaa668e98184cc0ca diff --git a/app-emulation/arnold/arnold-20170513.ebuild b/app-emulation/arnold/arnold-20170513.ebuild new file mode 100644 index 000000000..ceda03f89 --- /dev/null +++ b/app-emulation/arnold/arnold-20170513.ebuild @@ -0,0 +1,51 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop wxwidgets + +DESCRIPTION="Amstrad CPC emulator" +HOMEPAGE="http://www.cpctech.org.uk" +SRC_URI="http://cpctech.cpc-live.com/arnsrc.zip -> ${P}.zip" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="inkz80" + +DEPEND=" + media-libs/libsdl2 + virtual/opengl +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/src + +WX_GTK_VER="3.0-gtk3" + +src_prepare() { + setup-wxwidgets + sed -i "4421s:=.*$:=wxT(\"/usr/share/${PN}/\");:" arngui/arnguiApp.cpp || die + # Prevent running at 150% of original speed + sed -i '390s/20000/30000/' arngui/sdl2/SDL2PlatformSpecific.cpp || die + cmake_src_prepare +} + +src_configure() { + mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF + -DCMAKE_SKIP_RPATH=YES + -DZ80_VERSION="USE_$(usex inkz80 INK ARN)Z80" + -DSDL_VERSION="USE_SDL2" + ) + cmake_src_configure +} + +src_install() { + cd "${WORKDIR}"/exe/Gentoo/${PN} || die + doicon "${FILESDIR}"/${PN}.png + insinto /usr/share/${PN}/ + dobin arnold + doins *.* +} diff --git a/app-emulation/arnold/files/arnold.png b/app-emulation/arnold/files/arnold.png new file mode 100644 index 000000000..e54d0be93 Binary files /dev/null and b/app-emulation/arnold/files/arnold.png differ diff --git a/app-emulation/arnold/metadata.xml b/app-emulation/arnold/metadata.xml new file mode 100644 index 000000000..257786bed --- /dev/null +++ b/app-emulation/arnold/metadata.xml @@ -0,0 +1,11 @@ + + + + + mazes-80 + mazes-80@none.org + + + Use inkz80 processor emulation + +