summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-22 21:44:00 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-22 21:48:36 +0200
commit074816e03fe59f2782c5aef9906cc27a00f2874c (patch)
tree274e3a51b01665dd21fefcab877ffb99ddff3ff1 /games-arcade/openbubbles
parentmedia-sound/coquillo: Drop old snapshot (diff)
downloadgentoo-074816e03fe59f2782c5aef9906cc27a00f2874c.tar.gz
gentoo-074816e03fe59f2782c5aef9906cc27a00f2874c.tar.bz2
gentoo-074816e03fe59f2782c5aef9906cc27a00f2874c.zip
games-arcade/openbubbles: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-arcade/openbubbles')
-rw-r--r--games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch4
-rw-r--r--games-arcade/openbubbles/openbubbles-1.2-r1.ebuild27
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 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"
+}