games-arcade/openbubbles: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Sun, 22 Apr 2018 19:44:00 +0000 (21:44 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 22 Apr 2018 19:48:36 +0000 (21:48 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch
games-arcade/openbubbles/openbubbles-1.2-r1.ebuild [new file with mode: 0644]

index d511734da28f239d998497ed0135d035460cc108..df2bcebc58b831ada7f4e8f4f4a8f6e90b6ca8e7 100644 (file)
@@ -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;\r
  \r
diff --git a/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild b/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild
new file mode 100644 (file)
index 0000000..d1381cd
--- /dev/null
@@ -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"
+}