diff options
author | Alexey Sokolov <sokolov@google.com> | 2020-09-02 02:25:27 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-09-06 21:59:51 +0100 |
commit | 9caae14a07be903424c6b0b4c60c776c35bf89c6 (patch) | |
tree | 114da6b2fa4f5bed8c5f2ee658f08a8ea656338c /games-puzzle/gnurobbo/gnurobbo-0.68.ebuild | |
parent | sys-auth/yubikey-personalization-gui: add self as maintainer (diff) | |
download | gentoo-9caae14a07be903424c6b0b4c60c776c35bf89c6.tar.gz gentoo-9caae14a07be903424c6b0b4c60c776c35bf89c6.tar.bz2 gentoo-9caae14a07be903424c6b0b4c60c776c35bf89c6.zip |
games-puzzle/gnurobbo: version bump 0.68
Also import debian patch to fix build
Closes: https://bugs.gentoo.org/711992
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17371
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-puzzle/gnurobbo/gnurobbo-0.68.ebuild')
-rw-r--r-- | games-puzzle/gnurobbo/gnurobbo-0.68.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild b/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild new file mode 100644 index 000000000000..0e48270ff560 --- /dev/null +++ b/games-puzzle/gnurobbo/gnurobbo-0.68.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop + +DESCRIPTION="Robbo, a popular Atari XE/XL game ported to Linux" +HOMEPAGE="http://gnurobbo.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/gnurobbo/${P}-source.tar.gz + https://salsa.debian.org/games-team/gnurobbo/-/raw/debian/0.68+dfsg-5/debian/patches/single-variable-declarations.patch?inline=false -> ${P}-single-variable-declarations.patch +" + +LICENSE="GPL-2 BitstreamVera" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}/${P}/${PN}" + +RDEPEND=" + media-libs/libsdl[sound,video,joystick] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-cflags-d.patch" + "${DISTDIR}/${P}-single-variable-declarations.patch" +) + +src_compile() { + emake \ + PACKAGE_DATA_DIR="${EPREFIX}/usr/share/${PN}" \ + BINDIR="/usr/bin" \ + DOCDIR="/usr/share/doc/${PF}" +} + +src_install() { + dobin gnurobbo + insinto "/usr/share/${PN}" + doins -r data/{levels,skins,locales,rob,sounds} + dodoc AUTHORS Bugs ChangeLog README TODO + newicon icon32.png ${PN}.png + make_desktop_entry ${PN} Gnurobbo +} |