commit: 8fc84e5560e78e9a8a295df7cc3d5293edcdc145 Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> AuthorDate: Wed Jul 26 11:39:30 2023 +0000 Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> CommitDate: Wed Jul 26 13:03:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fc84e55
app-emulation/86BoxManagerX: add 9999 Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com> .../86BoxManagerX/86BoxManagerX-9999.ebuild | 37 +++++++++++++++++++++ app-emulation/86BoxManagerX/Manifest | 1 + app-emulation/86BoxManagerX/files/86BoxManagerX | 2 ++ .../86BoxManagerX/files/86BoxManagerX.desktop | 7 ++++ .../86BoxManagerX/files/86BoxManagerX.png | Bin 0 -> 2058 bytes app-emulation/86BoxManagerX/metadata.xml | 11 ++++++ 6 files changed, 58 insertions(+) diff --git a/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild b/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild new file mode 100644 index 000000000..873188466 --- /dev/null +++ b/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop git-r3 +EGIT_REPO_URI="https://github.com/RetBox/86BoxManagerX.git" +DESCRIPTION="A (cross-platform) configuration manager for the 86Box emulator" +HOMEPAGE="https://github.com/RetBox/86BoxManagerX" + +DEPEND="app-emulation/86Box + dev-dotnet/dotnet-sdk-bin +" + +LICENSE="MIT" +SLOT="0" + +src_unpack() { + git-r3_checkout + cd "${S}" + dotnet publish 86BoxManager -r linux-x64 +} + +src_compile () { + dotnet publish 86BoxManager -r linux-x64 -c Release --self-contained true -o 86BoxManagerX +} + +src_install() { + #Install binary and alias command + insinto /opt && doins -r "${WORKDIR}/${P}/86BoxManagerX" + insinto /opt/bin/ && doins "${FILESDIR}/86BoxManagerX" + fperms +x /opt/86BoxManagerX/86Manager /opt/bin/86BoxManagerX /opt/86BoxManagerX/*.dll + + #Icon and Desktop File + doicon "${FILESDIR}/86BoxManagerX.png" + domenu "${FILESDIR}/86BoxManagerX.desktop" +} diff --git a/app-emulation/86BoxManagerX/Manifest b/app-emulation/86BoxManagerX/Manifest new file mode 100644 index 000000000..5c18c8fe9 --- /dev/null +++ b/app-emulation/86BoxManagerX/Manifest @@ -0,0 +1 @@ +DIST 86BoxManagerX-1.7.6.0.tar.gz 319938 BLAKE2B 8004f6702ee04ac1dc9eb12fc7af0fb5fd1a87031db983df0f7974997bcd4ce91236375e5df855819cb0375ac658b621be0d351c28f4c3453a3dd97dcede78ab SHA512 675e84d0f5aeba3353f0e7c1cc46b76b96498393f3e1daa23fa8aea999277bad21005d4186e4de5a390bf7e34b1314caa2859099520f613809404f4f9c56a66b diff --git a/app-emulation/86BoxManagerX/files/86BoxManagerX b/app-emulation/86BoxManagerX/files/86BoxManagerX new file mode 100644 index 000000000..b6a9495cc --- /dev/null +++ b/app-emulation/86BoxManagerX/files/86BoxManagerX @@ -0,0 +1,2 @@ +#!/bin/sh +/opt/86BoxManagerX/86Manager \ No newline at end of file diff --git a/app-emulation/86BoxManagerX/files/86BoxManagerX.desktop b/app-emulation/86BoxManagerX/files/86BoxManagerX.desktop new file mode 100644 index 000000000..03fede380 --- /dev/null +++ b/app-emulation/86BoxManagerX/files/86BoxManagerX.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=86BoxManagerX +StartupNotify=true +Exec=/opt/86BoxManagerX/86Manager +Terminal=false +Icon=86BoxManagerX +Type=Application \ No newline at end of file diff --git a/app-emulation/86BoxManagerX/files/86BoxManagerX.png b/app-emulation/86BoxManagerX/files/86BoxManagerX.png new file mode 100644 index 000000000..b1025062b Binary files /dev/null and b/app-emulation/86BoxManagerX/files/86BoxManagerX.png differ diff --git a/app-emulation/86BoxManagerX/metadata.xml b/app-emulation/86BoxManagerX/metadata.xml new file mode 100644 index 000000000..ea76ec447 --- /dev/null +++ b/app-emulation/86BoxManagerX/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Gonçalo Negrier Duarte</name> + </maintainer> + <upstream> + <remote-id type="github">RetBox/86BoxManagerX</remote-id> + </upstream> +</pkgmetadata> \ No newline at end of file
