commit: d0aed9c02b2f66f47f1884df8ab38d171fd28dd5 Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> AuthorDate: Mon Feb 19 10:11:20 2024 +0000 Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> CommitDate: Mon Feb 19 12:39:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0aed9c0
app-emulation/86BoxManagerX: add 1.7.6.0e Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com> ...gerX-9999.ebuild => 86BoxManagerX-1.7.6.0e.ebuild} | 19 ++++++++++++++++--- app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild | 19 ++++++++++++++++--- app-emulation/86BoxManagerX/Manifest | 1 + 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild b/app-emulation/86BoxManagerX/86BoxManagerX-1.7.6.0e.ebuild similarity index 85% copy from app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild copy to app-emulation/86BoxManagerX/86BoxManagerX-1.7.6.0e.ebuild index 59adb868ed..0bbc3f5bae 100644 --- a/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild +++ b/app-emulation/86BoxManagerX/86BoxManagerX-1.7.6.0e.ebuild @@ -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 diff --git a/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild b/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild index 59adb868ed..0bbc3f5bae 100644 --- a/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild +++ b/app-emulation/86BoxManagerX/86BoxManagerX-9999.ebuild @@ -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 diff --git a/app-emulation/86BoxManagerX/Manifest b/app-emulation/86BoxManagerX/Manifest new file mode 100644 index 0000000000..fd6fd0a4b4 --- /dev/null +++ b/app-emulation/86BoxManagerX/Manifest @@ -0,0 +1 @@ +DIST 86BoxManagerX-1.7.6.0e.tar.gz 319938 BLAKE2B 8004f6702ee04ac1dc9eb12fc7af0fb5fd1a87031db983df0f7974997bcd4ce91236375e5df855819cb0375ac658b621be0d351c28f4c3453a3dd97dcede78ab SHA512 675e84d0f5aeba3353f0e7c1cc46b76b96498393f3e1daa23fa8aea999277bad21005d4186e4de5a390bf7e34b1314caa2859099520f613809404f4f9c56a66b
