diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:22 +0000 |
commit | f0759f77429dfcff11fdeb040d0553dd1e8e0bd8 (patch) | |
tree | bc451cfc4f19d245b0c6a7f10e547fdc2006db52 /games-arcade/kobodeluxe | |
parent | action games ! (diff) | |
download | gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.gz gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.tar.bz2 gentoo-2-f0759f77429dfcff11fdeb040d0553dd1e8e0bd8.zip |
arcade games !
Diffstat (limited to 'games-arcade/kobodeluxe')
-rw-r--r-- | games-arcade/kobodeluxe/ChangeLog | 49 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/Manifest | 7 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/files/digest-kobodeluxe-0.3-r1 | 1 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre6 | 1 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre8 | 1 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/kobodeluxe-0.3-r1.ebuild | 64 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/kobodeluxe-0.4_pre6.ebuild | 66 | ||||
-rw-r--r-- | games-arcade/kobodeluxe/kobodeluxe-0.4_pre8.ebuild | 65 |
8 files changed, 254 insertions, 0 deletions
diff --git a/games-arcade/kobodeluxe/ChangeLog b/games-arcade/kobodeluxe/ChangeLog new file mode 100644 index 000000000000..2960f816ff85 --- /dev/null +++ b/games-arcade/kobodeluxe/ChangeLog @@ -0,0 +1,49 @@ +# ChangeLog for app-games/kobodeluxe +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/ChangeLog,v 1.1 2003/09/10 19:29:21 vapier Exp $ + + 04 Jul 2003; Michael Sterrett <msterret@gentoo.org> + kobodeluxe-0.4_pre8.ebuild: + use games eclass store highscores in /var/games/kobodeluxe (This is important + if kobodeluxe was installed before.) addd a pkg_postinst() so people with + existing highscore files know what to do. + +*kobodeluxe-0.4_pre8 (01 Jul 2003) + + 01 Jul 2003; Michael Sterrett <msterret@gentoo.org> + kobodeluxe-0.4_pre8.ebuild: + version bump + + 01 Jul 2003; Michael Sterrett <msterret@gentoo.org> + kobodeluxe-0.4_pre6.ebuild: + use sed -i + use use_enable for opengl + more error checking + +*kobodeluxe-0.4_pre6 (03 Jun 2002) + + 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> kobodeluxe-0.4_pre6.ebuild : + Added KEYWORDS. + + 03 Jun 2002; Wout Mertens <wmertens@gentoo.org> : + + Phil Bordelon <phil@lsu.edu> discovered some extra tarballs not mentioned on the site + I upped the ebuild to the last available version, but not the release snapshot, because + that gave streaking on my screen. (although it has nice features :) ) + I removed oss and alsa use detection, since those wouldn't build on my system, although + sound works; I presume this is because of SDL. + +*kobodeluxe-0.3-r1 (02 Jun 2002) + + 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> kobodeluxe-0.3-r1.ebuild : + Added KEYWORDS. + + 02 Jun 2002; Wout Mertens <wmertens@gentoo.org> : + + Made it compile with the newer autoconf and fixed score dir location + +*kobodeluxe-0.3 (12 May 2002) + + 12 May 2002; Wout Mertens <wmertens@gentoo.org> : + + Initial release diff --git a/games-arcade/kobodeluxe/Manifest b/games-arcade/kobodeluxe/Manifest new file mode 100644 index 000000000000..090245ecf69e --- /dev/null +++ b/games-arcade/kobodeluxe/Manifest @@ -0,0 +1,7 @@ +MD5 6c99300b7fd1e45816443cee49bb8546 ChangeLog 1745 +MD5 dc7f747cb8f657e4f93c63ce4370ebb6 kobodeluxe-0.3-r1.ebuild 1562 +MD5 21a0703f1b333bcfd3e204f0063674d9 kobodeluxe-0.4_pre6.ebuild 1587 +MD5 5185c6f8a40b7288b5bf9bb6002bbb7e kobodeluxe-0.4_pre8.ebuild 1759 +MD5 99d947efadd6ea8c0986004a8b2f7e50 files/digest-kobodeluxe-0.3-r1 67 +MD5 76eff8ff71990f4de771451cbd46affe files/digest-kobodeluxe-0.4_pre6 72 +MD5 dbded3c4eab3fd5e1f7d8327e8633ead files/digest-kobodeluxe-0.4_pre8 70 diff --git a/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.3-r1 b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.3-r1 new file mode 100644 index 000000000000..7f344a022588 --- /dev/null +++ b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.3-r1 @@ -0,0 +1 @@ +MD5 20a8d040e8ab3b3c505314955ba06105 kobodeluxe-0.3.tar.bz2 486029 diff --git a/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre6 b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre6 new file mode 100644 index 000000000000..d9969f938e7c --- /dev/null +++ b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre6 @@ -0,0 +1 @@ +MD5 a2134a1197da825f3c85d4feb620f1e2 kobodeluxe-0.4-pre6.tar.bz2 541967 diff --git a/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre8 b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre8 new file mode 100644 index 000000000000..fe5751a16d7c --- /dev/null +++ b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4_pre8 @@ -0,0 +1 @@ +MD5 215fba14e30755940833dc1abb322bd6 KoboDeluxe-0.4pre8.tar.gz 676204 diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.3-r1.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.3-r1.ebuild new file mode 100644 index 000000000000..b267c9282bab --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.3-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/kobodeluxe-0.3-r1.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $ + +IUSE="oss opengl" + +S=${WORKDIR}/${P} + +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +SRC_URI="http://olofson.net/skobo/download/${P}.tar.bz2" +HOMEPAGE="http://olofson.net/skobo/" +KEYWORDS="x86" +LICENSE="GPL-2" + +SLOT=0 +DEPEND="virtual/glibc + sys-devel/autoconf + media-libs/libsdl + media-libs/sdl-image + opengl? ( virtual/opengl )" +RDEPEND="virtual/glibc + media-libs/libsdl + media-libs/sdl-image + opengl? ( virtual/opengl )" + +src_unpack() { + unpack ${A} + cd ${S} + # Fix paths + mv configure configure.orig + sed -e 's/\$(datadir)\/games\/kobo-deluxe/$(datadir)\/games\/kobodeluxe/' \ + -e 's/\$(prefix)\/games\/kobo-deluxe\/scores/$(localstatedir)\/lib\/games\/kobodeluxe/' \ + configure.orig > configure + chmod +x configure +} + +src_compile() { + local myconf + + use opengl && myconf="--enable-opengl" + use oss && myconf="$myconf --enable-oss" + + ./configure \ + $myconf \ + --host=${CHOST} \ + --prefix=/usr \ + --localstatedir=/var \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake || die +} + +src_install () { + dodoc README* TODO + dobin kobodl + + dodir /usr/share/games/kobodeluxe/gfx + insinto /usr/share/games/kobodeluxe/gfx + doins data/*.{pcx,png} + + DIROPTIONS="-g games -m 0775" dodir /var/lib/games/kobodeluxe + insinto /var/lib/games/kobodeluxe + doins 42 +} diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.4_pre6.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.4_pre6.ebuild new file mode 100644 index 000000000000..0017eaf344e0 --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.4_pre6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/kobodeluxe-0.4_pre6.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $ + +IUSE="opengl" + +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +HOMEPAGE="http://olofson.net/skobo/" +KEYWORDS="x86" +LICENSE="GPL-2" + +P=${P/_/-} +SRC_URI="http://olofson.net/download/${P}.tar.bz2" + +RDEPEND="virtual/glibc + media-libs/libsdl + media-libs/sdl-image + opengl? ( virtual/opengl )" +DEPEND="$RDEPEND + >=sys-apps/sed-4 + sys-devel/autoconf" + +SLOT=0 + +src_unpack() { + unpack ${A} + cd ${S} + # Fix paths + sed -i \ + -e 's/\$(datadir)\/games\/kobo-deluxe/$(datadir)\/games\/kobodeluxe/' \ + -e 's/\$(prefix)\/games\/kobo-deluxe\/scores/$(localstatedir)\/lib\/games\/kobodeluxe/' \ + configure + chmod +x configure +} + +src_compile() { + #These do not work with the gentoo versions of oss and alsa, + #but sound still works. Hmmm. + #use oss && myconf="$myconf --enable-oss" + #use alsa && myconf="$myconf --enable-alsa" + + ./configure \ + `use_enable opengl` \ + --host=${CHOST} \ + --prefix=/usr \ + --localstatedir=/var \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake || die +} + +src_install () { + make install DESTDIR=${D} + + dodoc README* TODO || die "dodoc failed" + + insinto /var/lib/games/kobodeluxe + doins 42 || die "doins failed" + + # Fix perms + DIROPTIONS="-g games -m 0775" dodir /var/lib/games/kobodeluxe + + # Fix dir name + cd ${D}/usr/share/games + mv kobo-deluxe kobodeluxe +} diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.4_pre8.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.4_pre8.ebuild new file mode 100644 index 000000000000..78d740f757a9 --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.4_pre8.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/kobodeluxe-0.4_pre8.ebuild,v 1.1 2003/09/10 19:29:21 vapier Exp $ + +inherit games + +IUSE="opengl" + +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +HOMEPAGE="http://www.olofson.net/kobodl/" +KEYWORDS="x86" +LICENSE="GPL-2" + +MY_P="KoboDeluxe-${PV/_/}" +S=${WORKDIR}/${MY_P} +SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.gz" + +RDEPEND="virtual/glibc + media-libs/libsdl + media-libs/sdl-image + opengl? ( virtual/opengl )" +DEPEND="$RDEPEND + >=sys-apps/sed-4" + +SLOT=0 + +src_unpack() { + unpack ${A} + cd ${S} + # Fix paths + sed -i \ + -e 's:\$(datadir)/games/kobo-deluxe:$(datadir)/kobodeluxe:' \ + -e 's:\$(prefix)/games/kobo-deluxe/scores:$(localstatedir)/kobodeluxe:' \ + configure || die "sed configure failed" + sed -i \ + -e 's:\$(datadir)/games/kobo-deluxe:$(datadir)/kobodeluxe:' \ + data/Makefile.in || die "sed data/Makefile.in failed" +} + +src_compile() { + egamesconf `use_enable opengl` || die "./configure failed" + emake || die +} + +src_install () { + make install DESTDIR=${D} + + dodoc ChangeLog README* TODO || die "dodoc failed" + + insinto /var/games/kobodeluxe + doins 501 || die "doins failed" + prepgamesdirs + fperms 2775 /var/games/kobodeluxe +} + +pkg_postinst() { + + einfo "The location of the highscore files has changed. If this isn't the" + einfo "first time you've installed ${PN} and you'd like to keep the high" + einfo "scores from a previous version of ${PN}, please move all the files" + einfo "in /var/lib/games/kobodeluxe/ to /var/games/kobodeluxe/. If you" + einfo "have a /var/lib/games/kobodeluxe/ directory it may be removed." + + games_pkg_postinst +} |