commit: 492150b8bd8b5a5d399241eecc0a637711075c91 Author: Revan Ji <ruifanj2 <AT> illinois <DOT> edu> AuthorDate: Wed Nov 27 00:52:03 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Wed Nov 27 00:52:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=492150b8
dev-games/unityhub: new package, add 3.9.1 Signed-off-by: Revan Ji <ruifanj2 <AT> illinois.edu> dev-games/unityhub/Manifest | 1 + dev-games/unityhub/unityhub-3.9.1.ebuild | 45 ++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-games/unityhub/Manifest b/dev-games/unityhub/Manifest new file mode 100644 index 000000000..6820dae01 --- /dev/null +++ b/dev-games/unityhub/Manifest @@ -0,0 +1 @@ +DIST unityhub-amd64-3.9.1.deb 154411128 BLAKE2B aebae0d0cce346e2258e25e5feb927a6db4cb3a17c8cdea2d0a71961405363f35ac59a83f3e09a6ba674ed08d10cae10236a682ffedab65edbd2eff3c13a2997 SHA512 d3aba1517dbcd1c51ed9a953bbf8ffa4eb6584c8fc1bc4668c138a427ee47c0c855ff1a7b747af49afc09a7e0f9a8bd9705ec73b79e32b02f3d1d3a72894f4f9 diff --git a/dev-games/unityhub/unityhub-3.9.1.ebuild b/dev-games/unityhub/unityhub-3.9.1.ebuild new file mode 100644 index 000000000..731eb7068 --- /dev/null +++ b/dev-games/unityhub/unityhub-3.9.1.ebuild @@ -0,0 +1,45 @@ +EAPI=8 + +inherit desktop linux-info unpacker xdg + +DESCRIPTION="Package for UnityHub" + +# Homepage, not used by Portage directly but handy for developer reference +HOMEPAGE="https://unity.com/unity-hub" + +# Point to any required sources; these will be automatically downloaded by +# Portage. +SRC_URI="https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_amd64/unityhub-amd64-3.9.1.deb" + +LICENSE="CC0-1.0" + +SLOT="0" + +KEYWORDS="~amd64" + +S="${WORKDIR}" + +# IUSE="" + +RDEPEND="dev-libs/nss x11-libs/gtk+ app-alternatives/cpio dev-libs/openssl" # technically this is supposed to be openssl 1.1 + +# DEPEND="" + +# BDEPEND="" + +QA_PREBUILT="*" + +src_install() { + dodir /opt/unityhub + cp -r opt/* "${D}/opt/" + dosym -r /opt/unityhub/unityhub /usr/bin/unityhub + domenu usr/share/applications/unityhub.desktop + + for size in 16 32 48 64 128 256 512; do + doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/unityhub.png + done +} + +pkg_postinst() { + xdg_pkg_postinst +}