games-arcade/cob: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Sun, 15 Apr 2018 18:21:12 +0000 (20:21 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 15 Apr 2018 19:00:18 +0000 (21:00 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

games-arcade/cob/cob-0.9-r1.ebuild [new file with mode: 0644]
games-arcade/cob/files/cob-0.9-gcc43.patch
games-arcade/cob/files/cob-0.9-gcc44.patch

diff --git a/games-arcade/cob/cob-0.9-r1.ebuild b/games-arcade/cob/cob-0.9-r1.ebuild
new file mode 100644 (file)
index 0000000..26d7316
--- /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="Cruising on Broadway: a painting-type game"
+HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
+SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="media-libs/libsdl[joystick,sound,video]"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-gcc43.patch
+       "${FILESDIR}"/${P}-gcc44.patch
+)
+
+src_install() {
+       default
+       make_desktop_entry ${PN} "Cruising on Broadway"
+}
index 6b1f574628df0d32f8e664cca615d36c497bd91c..bc7e6fb3e02ca777b8aa76b2ddc46e0d99ad8202 100644 (file)
@@ -1,5 +1,5 @@
---- cob/menu.cpp
-+++ cob/menu.cpp
+--- a/cob/menu.cpp
++++ b/cob/menu.cpp
 @@ -16,6 +16,7 @@
   ***************************************************************************/
  
@@ -8,8 +8,8 @@
  
  //    **************************************************************************************************************************
  //
---- cob/sdw.hxx
-+++ cob/sdw.hxx
+--- a/cob/sdw.hxx
++++ b/cob/sdw.hxx
 @@ -19,6 +19,7 @@
  \r
  #include <iostream>\r
index dd90b388e6d8112866d5ed06d740cb92354cf710..02b4842617f2eb96a26ed514eea4f73131a8fab4 100644 (file)
@@ -1,5 +1,5 @@
---- cob/game.cpp
-+++ cob/game.cpp
+--- a/cob/game.cpp
++++ b/cob/game.cpp
 @@ -15,6 +15,7 @@
   *                                                                         *
   ***************************************************************************/
@@ -8,8 +8,8 @@
  #include "cob.hxx"
  
  //    **************************************************************************************************************************
---- cob/main.cpp
-+++ cob/main.cpp
+--- a/cob/main.cpp
++++ b/cob/main.cpp
 @@ -15,6 +15,7 @@
   *                                                                         *
   ***************************************************************************/
@@ -18,8 +18,8 @@
  #include "cob.hxx"
  
  //    **************************************************************************************************************************
---- cob/map.cpp
-+++ cob/map.cpp
+--- a/cob/map.cpp
++++ b/cob/map.cpp
 @@ -15,6 +15,7 @@
   *                                                                         *
   ***************************************************************************/