From 074816e03fe59f2782c5aef9906cc27a00f2874c Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 22 Apr 2018 21:44:00 +0200 Subject: games-arcade/openbubbles: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 --- .../files/openbubbles-1.2-glibc2.10.patch | 4 ++-- games-arcade/openbubbles/openbubbles-1.2-r1.ebuild | 27 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 games-arcade/openbubbles/openbubbles-1.2-r1.ebuild diff --git a/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch b/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch index d511734da28f..df2bcebc58b8 100644 --- a/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch +++ b/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch @@ -1,5 +1,5 @@ ---- src/BFont.cpp -+++ src/BFont.cpp +--- a/src/BFont.cpp ++++ b/src/BFont.cpp @@ -319,7 +319,7 @@ int i = 0; diff --git a/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild b/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild new file mode 100644 index 000000000000..d1381cd3c74d --- /dev/null +++ b/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A clone of Evan Bailey's game Bubbles" +HOMEPAGE="https://web.archive.org/web/20101126190910/http://www.freewebs.com/lasindi/openbubbles/" +SRC_URI="https://web.archive.org/web/20101126190910/http://www.freewebs.com/lasindi/openbubbles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-gfx" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-glibc2.10.patch ) + +src_install() { + default + newicon data/bubble.png ${PN}.png + make_desktop_entry ${PN} "OpenBubbles" +} -- cgit v1.2.3-65-gdbad