diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /games-arcade/solarwolf/solarwolf-1.5-r2.ebuild | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'games-arcade/solarwolf/solarwolf-1.5-r2.ebuild')
-rw-r--r-- | games-arcade/solarwolf/solarwolf-1.5-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild b/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild new file mode 100644 index 000000000000..8f291786f9cb --- /dev/null +++ b/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit desktop eutils python-r1 + +DESCRIPTION="Action/arcade recreation of SolarFox" +HOMEPAGE="http://www.pygame.org/shredwheat/solarwolf/" +SRC_URI=" + http://www.pygame.org/shredwheat/solarwolf/${P}.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}+dfsg1-1.debian.tar.xz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/pygame-1.5.6[${PYTHON_USEDEP}] + media-libs/sdl-mixer[mod,vorbis] +" +DEPEND="${RDEPEND}" +BDEPEND="" + +src_prepare() { + default + + eapply -p1 "${WORKDIR}"/debian/patches/*.patch + + find . -name .xvpics -print0 | xargs -0 rm -fr + gunzip dist/${PN}.6.gz || die #619948 +} + +src_install() { + insinto /usr/share/${PN} + doins -r code data *py + make_wrapper ${PN} "python3 ./solarwolf.py" /usr/share/${PN} + newicon data/ship-big.png ${PN}.png + make_desktop_entry ${PN} SolarWolf + einstalldocs + doman dist/${PN}.6 +} |