diff --git a/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild b/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild new file mode 100644 index 0000000000..873188466a --- /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 0000000000..5c18c8fe91 --- /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 0000000000..b6a9495cc7 --- /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 0000000000..03fede380f --- /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 0000000000..b1025062b8 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 0000000000..ea76ec447c --- /dev/null +++ b/app-emulation/86BoxManagerX/metadata.xml @@ -0,0 +1,11 @@ + + + + + gonegrier.duarte@gmail.com + Gonçalo Negrier Duarte + + + RetBox/86BoxManagerX + + \ No newline at end of file