commit:     074816e03fe59f2782c5aef9906cc27a00f2874c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 22 19:44:00 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 22 19:48:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=074816e0

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(-)

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 d511734da28..df2bcebc58b 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 00000000000..d1381cd3c74
--- /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"
+}

Reply via email to