From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-puzzle/gnurobbo/Manifest | 4 +++ .../gnurobbo/files/gnurobbo-0.66-underlink.patch | 18 ++++++++++ games-puzzle/gnurobbo/gnurobbo-0.66-r1.ebuild | 40 ++++++++++++++++++++++ games-puzzle/gnurobbo/metadata.xml | 11 ++++++ 4 files changed, 73 insertions(+) create mode 100644 games-puzzle/gnurobbo/Manifest create mode 100644 games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch create mode 100644 games-puzzle/gnurobbo/gnurobbo-0.66-r1.ebuild create mode 100644 games-puzzle/gnurobbo/metadata.xml (limited to 'games-puzzle/gnurobbo') diff --git a/games-puzzle/gnurobbo/Manifest b/games-puzzle/gnurobbo/Manifest new file mode 100644 index 000000000000..f4924af58a2a --- /dev/null +++ b/games-puzzle/gnurobbo/Manifest @@ -0,0 +1,4 @@ +AUX gnurobbo-0.66-underlink.patch 858 BLAKE2B b3ddef3a919afd45c5d949d5f48cecaaea1c013e1924fffd8ce17e32c407562c9054059696db92750322d9378b900ce8432cc30741d0c43b86b5c6b8dd407e4c SHA512 b2053326e1e06cc780647f0c40452729430dd7d0c641406719ce48ba5159e7dd160efc9c892de9424f50ac43386cd6f2a598558e604c34be41a3ccf15d937375 +DIST gnurobbo-0.66-source.tar.gz 1765034 BLAKE2B 4a88d1281fdea44516c86e704a828e1d3ef2116cc7d6401960524ea53435828bb09f73adf57016bf3b7a0fa107ee411c575ca2f288375148658bf1bdf0b16aa2 SHA512 5f217ba87e8d1c56d9630cca44bde8d405c93929ebb1722c80955fceedec93a5e02ab3dbafd557c3cbedd63a97a73abe6e8aeff115931844a11f6cc1dd00533c +EBUILD gnurobbo-0.66-r1.ebuild 910 BLAKE2B 8b6e1f9b6d9a76d23a64a3a60231fb28763b6669a9d4ef861fdd8e31d85fead9f77650c263c82682a9cfef2e7bdb392f8ee16858a5335358b9a95133ef7cc78d SHA512 c59070e20efad3ccf4716bfc66408c059a25215517605b6d3b4defd4bbd221b025b772b40cb34b3e01a267117e3c5d10402df74285ac4bf94834ba77e54d054e +MISC metadata.xml 331 BLAKE2B 9e3cb9283f67936d5be789e0c65509547ddbfee86c3695ded8ff72310458e7937710915e82b2f9c9f50102b0a78ab08d3d78e5da7e05923bc53bdb69bf8b75e1 SHA512 56663c15b5d9135317f5cfdef851959613abd44ced462fc3429540a76be55970f831bfc284d2fe06ace79ea98586109bc64489ba9d12fab9a0909186f40365da diff --git a/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch b/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch new file mode 100644 index 000000000000..af69bd9e1c9d --- /dev/null +++ b/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch @@ -0,0 +1,18 @@ +--- a/Makefile.old 2011-06-20 21:19:49.578922392 +0200 ++++ b/Makefile 2011-06-20 21:20:28.535421648 +0200 +@@ -39,14 +39,13 @@ + CFLAGS?=-O3 -pipe + CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \ + -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER) +-LDFLAGS= + # Use these instead for debugging and/or profiling (mainly intended for GNU Robbo developers) + #CFLAGS?=-O0 -pipe -g -pg + #CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \ + # -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER) + #LDFLAGS=-pg + LINK=$(CC) +-LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF) ++LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF) -lm + + # You won't need to alter anything below + all: $(SOURCES) $(TARGET) diff --git a/games-puzzle/gnurobbo/gnurobbo-0.66-r1.ebuild b/games-puzzle/gnurobbo/gnurobbo-0.66-r1.ebuild new file mode 100644 index 000000000000..39a81fdcd790 --- /dev/null +++ b/games-puzzle/gnurobbo/gnurobbo-0.66-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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" + +LICENSE="GPL-2 BitstreamVera" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +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}-underlink.patch ) + +src_compile() { + emake \ + PACKAGE_DATA_DIR="/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 +} diff --git a/games-puzzle/gnurobbo/metadata.xml b/games-puzzle/gnurobbo/metadata.xml new file mode 100644 index 000000000000..446252dcc733 --- /dev/null +++ b/games-puzzle/gnurobbo/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + gnurobbo + + -- cgit v1.2.3