mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-emulation/86BoxManagerX: add 1.7.6.0e
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
83
app-emulation/86BoxManagerX/86BoxManagerX-1.7.6.0e.ebuild
Normal file
83
app-emulation/86BoxManagerX/86BoxManagerX-1.7.6.0e.ebuild
Normal file
@@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/RetBox/86BoxManagerX.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/RetBox/86BoxManagerX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
fi
|
||||
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
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/opt/86BoxManagerX/createdump
|
||||
/opt/86BoxManagerX/libSystem.Globalization.Native.so
|
||||
/opt/86BoxManagerX/libSystem.IO.Compression.Native.so
|
||||
/opt/86BoxManagerX/libSystem.Native.so
|
||||
/opt/86BoxManagerX/libSystem.Net.Security.Native.so
|
||||
/opt/86BoxManagerX/libSystem.Security.Cryptography.Native.OpenSsl.so
|
||||
/opt/86BoxManagerX/libclrjit.so
|
||||
/opt/86BoxManagerX/libcoreclr.so
|
||||
/opt/86BoxManagerX/libcoreclrtraceptprovider.so
|
||||
/opt/86BoxManagerX/libdbgshim.so
|
||||
/opt/86BoxManagerX/libhostfxr.so
|
||||
/opt/86BoxManagerX/libhostpolicy.so
|
||||
/opt/86BoxManagerX/libmscordaccore.so
|
||||
/opt/86BoxManagerX/libmscordbi.so
|
||||
/opt/86BoxManagerX/libHarfBuzzSharp.so
|
||||
/opt/86BoxManagerX/libMono.Unix.so
|
||||
/opt/86BoxManagerX/libSkiaSharp.so
|
||||
/opt/86BoxManagerX/86Manager
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=(
|
||||
# Save the config in user directory preventing permission denied error
|
||||
# https://github.com/RetBox/86BoxManagerX/pull/1
|
||||
"${FILESDIR}/86BoxManagerX-9999-save-config-user-directory.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
# Need internet access
|
||||
dotnet publish 86BoxManager -r linux-x64
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
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
|
||||
find /opt/86BoxManagerX/ -name "*.dll" -exec fperms +x {} +
|
||||
|
||||
#Icon and Desktop File
|
||||
doicon "${FILESDIR}/86BoxManagerX.png"
|
||||
domenu "${FILESDIR}/86BoxManagerX.desktop"
|
||||
}
|
||||
@@ -3,8 +3,16 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop git-r3
|
||||
EGIT_REPO_URI="https://github.com/RetBox/86BoxManagerX.git"
|
||||
inherit desktop
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/RetBox/86BoxManagerX.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/RetBox/86BoxManagerX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
fi
|
||||
DESCRIPTION="A (cross-platform) configuration manager for the 86Box emulator"
|
||||
HOMEPAGE="https://github.com/RetBox/86BoxManagerX"
|
||||
|
||||
@@ -43,7 +51,12 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
git-r3_checkout
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
# Need internet access
|
||||
dotnet publish 86BoxManager -r linux-x64
|
||||
|
||||
1
app-emulation/86BoxManagerX/Manifest
Normal file
1
app-emulation/86BoxManagerX/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST 86BoxManagerX-1.7.6.0e.tar.gz 319938 BLAKE2B 8004f6702ee04ac1dc9eb12fc7af0fb5fd1a87031db983df0f7974997bcd4ce91236375e5df855819cb0375ac658b621be0d351c28f4c3453a3dd97dcede78ab SHA512 675e84d0f5aeba3353f0e7c1cc46b76b96498393f3e1daa23fa8aea999277bad21005d4186e4de5a390bf7e34b1314caa2859099520f613809404f4f9c56a66b
|
||||
Reference in New Issue
Block a user