From b8d3ee0c9c35cfac2de09f7ffa58da6eafde9fa9 Mon Sep 17 00:00:00 2001 From: Seth Price Date: Thu, 1 Dec 2022 07:45:32 -0500 Subject: games-rpg/snoot-game: 1.7-r1 bump; address QA issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add QA_PREBUILT and RESTRICT=strip to suppress QA issues; this is a prebuilt package, after all. Additionally, add virtual/opengl as a dependency; it’s unwise to assume the user will always have it installed. Closes: https://bugs.gentoo.org/883831 Closes: https://bugs.gentoo.org/883833 Closes: https://bugs.gentoo.org/883835 Closes: https://bugs.gentoo.org/883837 Closes: https://bugs.gentoo.org/883839 Signed-off-by: Seth Price --- games-rpg/snoot-game/snoot-game-1.7-r1.ebuild | 41 +++++++++++++++++++++++++++ games-rpg/snoot-game/snoot-game-1.7.ebuild | 38 ------------------------- 2 files changed, 41 insertions(+), 38 deletions(-) create mode 100644 games-rpg/snoot-game/snoot-game-1.7-r1.ebuild delete mode 100644 games-rpg/snoot-game/snoot-game-1.7.ebuild (limited to 'games-rpg') diff --git a/games-rpg/snoot-game/snoot-game-1.7-r1.ebuild b/games-rpg/snoot-game/snoot-game-1.7-r1.ebuild new file mode 100644 index 000000000..f8441efe0 --- /dev/null +++ b/games-rpg/snoot-game/snoot-game-1.7-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit python-single-r1 desktop wrapper + +DESCRIPTION="Visual novel parody of Goodbye Volcano High" +MY_PV="Update7_Fangsgiving" +HOMEPAGE="https://snootgame.xyz/" +SRC_URI="https://secureupdates.snootgame.xyz/SnootGame-${MY_PV}-linux.tar.bz2" + +LICENSE="AGPL-3 CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} virtual/opengl" +BDEPEND="${RDEPEND}" + +S="${WORKDIR}/SnootGame-${MY_PV}-linux/" + +QA_PREBUILT="*" +RESTRICT+=" strip" + +src_install() { + local dir=/opt/${PN} + insinto "${dir}" + + doins -r "${S}/." + dodoc README.md + + fperms +x ${dir}/lib/linux-i686/SnootGame + fperms +x ${dir}/lib/linux-x86_64/SnootGame + fperms +x ${dir}/SnootGame.sh + + make_wrapper ${PN} "./SnootGame.sh" "${dir}" "${dir}" + make_desktop_entry ${PN} "Snoot Game" + +} diff --git a/games-rpg/snoot-game/snoot-game-1.7.ebuild b/games-rpg/snoot-game/snoot-game-1.7.ebuild deleted file mode 100644 index ec4305f70..000000000 --- a/games-rpg/snoot-game/snoot-game-1.7.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -inherit python-single-r1 desktop wrapper - -DESCRIPTION="Visual novel parody of Goodbye Volcano High" -MY_PV="Update7_Fangsgiving" -HOMEPAGE="https://snootgame.xyz/" -SRC_URI="https://secureupdates.snootgame.xyz/SnootGame-${MY_PV}-linux.tar.bz2" - -LICENSE="AGPL-3 CC-BY-SA-4.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS}" -BDEPEND="${RDEPEND}" - -S="${WORKDIR}/SnootGame-${MY_PV}-linux/" - -src_install() { - local dir=/opt/${PN} - insinto "${dir}" - - doins -r "${S}/." - dodoc README.md - - fperms +x ${dir}/lib/linux-i686/SnootGame - fperms +x ${dir}/lib/linux-x86_64/SnootGame - fperms +x ${dir}/SnootGame.sh - - make_wrapper ${PN} "./SnootGame.sh" "${dir}" "${dir}" - make_desktop_entry ${PN} "Snoot Game" - -} -- cgit v1.2.3-65-gdbad