From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C91C138350 for ; Wed, 1 Apr 2020 21:20:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58A43E0C94; Wed, 1 Apr 2020 21:20:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E491E0C94 for ; Wed, 1 Apr 2020 21:20:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC20934FB4E for ; Wed, 1 Apr 2020 21:20:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EABC0150 for ; Wed, 1 Apr 2020 21:20:24 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1585775994.00b5384e280a30a1c914ff8c2087d7fa119c0544.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/slime-rancher/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-simulation/slime-rancher/Manifest games-simulation/slime-rancher/metadata.xml games-simulation/slime-rancher/slime-rancher-1.4.1c_p34605.ebuild X-VCS-Directories: games-simulation/slime-rancher/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 00b5384e280a30a1c914ff8c2087d7fa119c0544 X-VCS-Branch: master Date: Wed, 1 Apr 2020 21:20:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bef2fd86-0281-4d1d-b844-3650ca30cb84 X-Archives-Hash: e28795c2b064ae1d645c7f524cec3fd7 commit: 00b5384e280a30a1c914ff8c2087d7fa119c0544 Author: James Le Cuirot gentoo org> AuthorDate: Wed Apr 1 21:19:54 2020 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Apr 1 21:19:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b5384e games-simulation/slime-rancher: New package Package-Manager: Portage-2.3.96, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> games-simulation/slime-rancher/Manifest | 1 + games-simulation/slime-rancher/metadata.xml | 8 +++ .../slime-rancher-1.4.1c_p34605.ebuild | 59 ++++++++++++++++++++++ 3 files changed, 68 insertions(+) diff --git a/games-simulation/slime-rancher/Manifest b/games-simulation/slime-rancher/Manifest new file mode 100644 index 00000000000..07b70c9122a --- /dev/null +++ b/games-simulation/slime-rancher/Manifest @@ -0,0 +1 @@ +DIST slime_rancher_1_4_1c_34605.sh 637631767 BLAKE2B e3742178acfb9b80429117a37e8c7ec226345fb20b762ef80ca7ff7d58bcde039a199db5f352e78ce6935b6b261924780f54c84dd706a8031b427c9bd52de2a7 SHA512 c9124a7685c12dab942cde3e4b7e4140156c9d1551043d450c0c2f2eb02d1db61b99f22803b1058634abff86e783c889badf5834f0c2f7048a97dc168c962908 diff --git a/games-simulation/slime-rancher/metadata.xml b/games-simulation/slime-rancher/metadata.xml new file mode 100644 index 00000000000..26079e608be --- /dev/null +++ b/games-simulation/slime-rancher/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/games-simulation/slime-rancher/slime-rancher-1.4.1c_p34605.ebuild b/games-simulation/slime-rancher/slime-rancher-1.4.1c_p34605.ebuild new file mode 100644 index 00000000000..f69d7ad4424 --- /dev/null +++ b/games-simulation/slime-rancher/slime-rancher-1.4.1c_p34605.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils desktop unpacker xdg + +MY_PN="SlimeRancher" +MY_P="${P//[-.]/_}" +MY_P="${MY_P//_p/_}" + +DESCRIPTION="Cute game where you cultivate slimes on a distant planet" +HOMEPAGE="http://www.slimerancher.com/" +SRC_URI="${MY_P}.sh" +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + sys-libs/glibc + virtual/opengl +" + +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/data/noarch/game" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.gog.com/game/${PN//-/_}" + einfo "and move it to your distfiles directory." +} + +src_unpack() { + unpack_zip ${A} +} + +src_prepare() { + default + + # Some Unity games have a GUI launcher but this one doesn't use it. + rm ${MY_PN}_Data/Plugins/x86_64/ScreenSelector.so || die +} + +src_install() { + exeinto "${DIR}" + newexe ${MY_PN}.x86_64 ${MY_PN} + make_wrapper ${PN} "${DIR}"/${MY_PN} + + insinto "${DIR}" + doins -r ${MY_PN}_Data/ + + newicon -s 128 ${MY_PN}_Data/Resources/UnityPlayer.png ${PN}.png + make_desktop_entry ${PN} "Slime Rancher" +}