mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
games-puzzle/icebreaker: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- dialog.c
|
||||
+++ dialog.c
|
||||
--- a/dialog.c
|
||||
+++ b/dialog.c
|
||||
@@ -279,10 +279,10 @@ PopupReturnType popuphighscores()
|
||||
|
||||
for (i=0;i<HISCORENUM;i++)
|
||||
@@ -22,8 +22,8 @@
|
||||
puttext(helprect.x+BLOCKWIDTH/2,helprect.y+helprect.h-CHARHEIGHT*3,1,color.copyrighttext,buf);
|
||||
puttext(helprect.x+BLOCKWIDTH/2,helprect.y+helprect.h-CHARHEIGHT*1-3,1,color.copyrighttext,"Thanks to my wonderful wife Karen for inspiration (and for patience)!");
|
||||
|
||||
--- menu.c
|
||||
+++ menu.c
|
||||
--- a/menu.c
|
||||
+++ b/menu.c
|
||||
@@ -193,12 +193,12 @@ PopupReturnType popupoptionsmenu()
|
||||
|
||||
if (strlen(commandline.theme)>0)
|
||||
@@ -57,8 +57,8 @@
|
||||
}
|
||||
else // right or middle or scroll back
|
||||
{
|
||||
--- hiscore.c
|
||||
+++ hiscore.c
|
||||
--- a/hiscore.c
|
||||
+++ b/hiscore.c
|
||||
@@ -72,7 +72,7 @@
|
||||
// make sure all entries are zeroed out to start.
|
||||
for (i=0;i<HISCORENUM;i++)
|
||||
@@ -102,8 +102,8 @@
|
||||
hival[i]=temphiscoreval[arrayindex[i]];
|
||||
}
|
||||
}
|
||||
--- line.c
|
||||
+++ line.c
|
||||
--- a/line.c
|
||||
+++ b/line.c
|
||||
@@ -30,8 +30,9 @@
|
||||
|
||||
Line createline(int linenum)
|
||||
@@ -115,8 +115,8 @@
|
||||
switch (linenum)
|
||||
{
|
||||
case 1:
|
||||
--- options.c
|
||||
+++ options.c
|
||||
--- a/options.c
|
||||
+++ b/options.c
|
||||
@@ -66,7 +66,7 @@
|
||||
options.autopause=AUTOPAUSEOFF;
|
||||
options.difficulty=NORMAL;
|
||||
@@ -171,8 +171,8 @@
|
||||
}
|
||||
}
|
||||
else if (strncmp(argv[i],FLAGTHEMELONG,strlen(FLAGTHEMELONG)) == 0)
|
||||
--- penguin.c
|
||||
+++ penguin.c
|
||||
--- a/penguin.c
|
||||
+++ b/penguin.c
|
||||
@@ -40,8 +40,9 @@
|
||||
|
||||
Penguin createpenguinxy(int x, int y)
|
||||
@@ -184,8 +184,8 @@
|
||||
switch (random() % 4)
|
||||
{
|
||||
case 0:
|
||||
--- themes.c
|
||||
+++ themes.c
|
||||
--- a/themes.c
|
||||
+++ b/themes.c
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
foundcolor.spritetransparent = 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- Makefile.orig 2010-10-11 12:20:01.274684641 -0400
|
||||
+++ Makefile 2010-10-11 12:22:02.256897083 -0400
|
||||
--- a/Makefile.orig 2010-10-11 12:20:01.274684641 -0400
|
||||
+++ b/Makefile 2010-10-11 12:22:02.256897083 -0400
|
||||
@@ -1,5 +1,3 @@
|
||||
-CC=gcc
|
||||
-
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- menu.c.old 2013-06-24 22:09:11.606750080 +0200
|
||||
+++ menu.c 2013-06-24 22:25:51.635735351 +0200
|
||||
--- a/menu.c.old 2013-06-24 22:09:11.606750080 +0200
|
||||
+++ b/menu.c 2013-06-24 22:25:51.635735351 +0200
|
||||
@@ -522,7 +522,7 @@
|
||||
{ // "random", at the end/beginning of the list
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- Makefile.old 2010-10-19 10:26:18.000000000 +0200
|
||||
+++ Makefile 2010-10-19 10:38:28.000000000 +0200
|
||||
--- a/Makefile.old 2010-10-19 10:26:18.000000000 +0200
|
||||
+++ b/Makefile 2010-10-19 10:38:28.000000000 +0200
|
||||
@@ -196,26 +196,30 @@
|
||||
themes-install: install-themes
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Trap and capture penguins on Antarctica"
|
||||
HOMEPAGE="http://www.mattdm.org/icebreaker/"
|
||||
SRC_URI="http://www.mattdm.org/${PN}/1.9.x/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl[video]
|
||||
media-libs/sdl-mixer
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-ldflags.patch
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
"${FILESDIR}"/${P}-parallell-install.patch
|
||||
"${FILESDIR}"/${P}-ovfl.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
OPTIMIZE="${CFLAGS}" \
|
||||
prefix=/usr \
|
||||
bindir=/usr/bin \
|
||||
datadir=/usr/share \
|
||||
highscoredir="/var"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${D}/usr" \
|
||||
bindir="${D}/usr/bin" \
|
||||
datadir="${D}/usr/share" \
|
||||
highscoredir="${D}/var" install
|
||||
|
||||
newicon ${PN}_48.bmp ${PN}.bmp
|
||||
make_desktop_entry ${PN} IceBreaker /usr/share/pixmaps/${PN}.bmp
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user