summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-24 03:02:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-24 03:02:07 +0000
commit533efe6b21c490ddddc47f4613b8803fab58e409 (patch)
tree3998076b76d7c6732beb91a9b408e4994b96b85c /games-arcade/crack-attack
parentStable on ppc. (diff)
downloadgentoo-2-533efe6b21c490ddddc47f4613b8803fab58e409.tar.gz
gentoo-2-533efe6b21c490ddddc47f4613b8803fab58e409.tar.bz2
gentoo-2-533efe6b21c490ddddc47f4613b8803fab58e409.zip
grap xpm from Debian
Diffstat (limited to 'games-arcade/crack-attack')
-rw-r--r--games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild11
-rw-r--r--games-arcade/crack-attack/files/crack-attack.xpm61
2 files changed, 65 insertions, 7 deletions
diff --git a/games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild b/games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild
index dfe39f13d041..87977271de51 100644
--- a/games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild
+++ b/games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild,v 1.3 2005/04/24 02:41:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.12-r1.ebuild,v 1.4 2005/04/24 03:02:07 vapier Exp $
inherit eutils flag-o-matic games
DESCRIPTION="Addictive OpenGL-based block game"
HOMEPAGE="https://savannah.nongnu.org/projects/crack-attack/"
-SRC_URI="http://savannah.nongnu.org/download/crack-attack/${P}-r1.tar.gz
- mirror://debian/pool/main/c/crack-attack/${PN}_${PV}-r1-2.diff.gz"
+SRC_URI="http://savannah.nongnu.org/download/crack-attack/${P}-r1.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -22,9 +21,7 @@ S=${WORKDIR}/${P}-r1
src_unpack() {
unpack ${A}
cd "${S}"
- epatch \
- "${WORKDIR}"/${PN}_${PV}-r1-2.diff \
- "${FILESDIR}"/${P}-garbage.patch
+ epatch "${FILESDIR}"/${P}-garbage.patch
sed -i \
-e '/handle flashing/d' src/LevelLights.cxx \
|| die "sed failed"
@@ -40,7 +37,7 @@ src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README
dohtml -A xpm doc/*
- doicon crack-attack-1.1.12-r1/debian/crack-attack.xpm
+ doicon "${FILESDIR}"/crack-attack.xpm
make_desktop_entry crack-attack Crack-attack crack-attack.xpm
prepgamesdirs
}
diff --git a/games-arcade/crack-attack/files/crack-attack.xpm b/games-arcade/crack-attack/files/crack-attack.xpm
new file mode 100644
index 000000000000..70f209db1ab9
--- /dev/null
+++ b/games-arcade/crack-attack/files/crack-attack.xpm
@@ -0,0 +1,61 @@
+/* XPM */
+static char *magick[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 23 1",
+" c black",
+". c #191919",
+"X c gray20",
+"o c #00007f",
+"O c #007f00",
+"+ c #007f7f",
+"@ c #7f0000",
+"# c #7f007f",
+"$ c #7f7f00",
+"% c #4c4c4c",
+"& c #666667",
+"* c gray50",
+"= c blue",
+"- c green",
+"; c red",
+": c magenta",
+"> c yellow",
+", c gray60",
+"< c #b2b2b2",
+"1 c gray80",
+"2 c gray90",
+"3 c white",
+"4 c None",
+/* pixels */
+"4 4 44444444444444444444444 4 ",
+" 4 . . ... .. . 4",
+"4 . .o o .o... o ...o .. ",
+"4 . .. .... . .o.. o. .o ..",
+"4 o....OoX#XXo..o .oo o... ..",
+"4 o. ..o-+##:<:##o..... o.... ",
+"4 . ..O$#@*::%#&. ..o .oo.... ",
+"4 o..oOO.#,##,:%oo.oooo.. o...",
+"4 .o.oOOX##:*::%.ooo.oo .....",
+"4 .o...O.##*####oX..ooooooo ..",
+"4.o ....o.#&###oX..@. .@.o.. ..",
+"4 .ooo. @.###@@@@@@@#$@@o..o. ",
+"4 ooX;@@;;;@;@@;*;&;;;;@ ooo ",
+"4 o..#*;,<<,<<>*;,@;$,;$o.. . ",
+"4.....o;<,11,<<1,;;;;;*;;oo.o.. ",
+"4 o.o@<<<<;<:;;;;,@;;@@.o.....",
+"4 .....@<<<<;<,;;;;$@@%.oo..... ",
+"4 o.oo.@<<,<,;;;*#%#oooo.oo.o.. ",
+"4 . .@;,*;;&#Xoooooo.ooo.o.o. ",
+"4 ..XoX;;@@ooooXo.oo.ooo .. .. ",
+"4 .*1#.@&+oo%%*<,oooo=ooo.oX.o ",
+"4 X221o23323o*112*o&31<<,.,2<X ",
+"4. .,1<*<111<1<<11,o<211<1.&2<. ",
+"4...=<<<o,*o,&o*<<=*<o&<<<Xo<o ",
+"4...,<<,X*<o,<o&<<<,<=o<=<1o,%..",
+"4 X=<,=o*=o=<o+,,=*,<,,=%o *o ",
+"4.o Xoo&o.%ooooo==ooo=oo..o.*&. ",
+"4 . .o.o..........oXo.o. .oo ",
+"4 .. .o.o....o. .o.oo...o .o.. ",
+"4 .. ...o .o. . o o ..o. ",
+"4 o..oo ........ . o. .o. ",
+" 4 . ... .... .. "
+};