summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-11-30 19:23:09 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-11-30 19:23:09 +0000
commit47b05813723327f7618b107586f7741bbaf93fae (patch)
treea4768d974fa0a53e22d4a72e597f871a7762a69e /games-arcade/kobodeluxe
parentInstall correct KDE desktop file. Bug #200799, reported by David Relson <rels... (diff)
downloadgentoo-2-47b05813723327f7618b107586f7741bbaf93fae.tar.gz
gentoo-2-47b05813723327f7618b107586f7741bbaf93fae.tar.bz2
gentoo-2-47b05813723327f7618b107586f7741bbaf93fae.zip
Version bump to 0.4.1 Bug #200513
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-arcade/kobodeluxe')
-rw-r--r--games-arcade/kobodeluxe/ChangeLog7
-rw-r--r--games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4.13
-rw-r--r--games-arcade/kobodeluxe/kobodeluxe-0.4.1.ebuild50
3 files changed, 59 insertions, 1 deletions
diff --git a/games-arcade/kobodeluxe/ChangeLog b/games-arcade/kobodeluxe/ChangeLog
index ed6b9ed1721f..bbe846c5e16d 100644
--- a/games-arcade/kobodeluxe/ChangeLog
+++ b/games-arcade/kobodeluxe/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/kobodeluxe
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/ChangeLog,v 1.21 2007/09/23 16:02:14 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/ChangeLog,v 1.22 2007/11/30 19:23:08 tupone Exp $
+
+*kobodeluxe-0.4.1 (30 Nov 2007)
+
+ 30 Nov 2007; Tupone Alfredo <tupone@gentoo.org> +kobodeluxe-0.4.1.ebuild:
+ Version bump to 0.4.1 Bug #200513 by Pacho Ramos
23 Sep 2007; Joseph Jezak <josejx@gentoo.org> kobodeluxe-0.4_pre10.ebuild:
Marked ppc64 stable.
diff --git a/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4.1 b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4.1
new file mode 100644
index 000000000000..5b0ad15ee838
--- /dev/null
+++ b/games-arcade/kobodeluxe/files/digest-kobodeluxe-0.4.1
@@ -0,0 +1,3 @@
+MD5 49a36c1cef7ec1acee4ab67a2468fd85 KoboDeluxe-0.4.1.tar.bz2 802115
+RMD160 6bfce66c2685253f91a5a37ca8881c0a106a2f07 KoboDeluxe-0.4.1.tar.bz2 802115
+SHA256 ccb25febf6ab3ffbf93fb0bb3ff3f778735a97328d75420fb4c06cac544aaa57 KoboDeluxe-0.4.1.tar.bz2 802115
diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.4.1.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.4.1.ebuild
new file mode 100644
index 000000000000..8d1512946c97
--- /dev/null
+++ b/games-arcade/kobodeluxe/kobodeluxe-0.4.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/kobodeluxe/kobodeluxe-0.4.1.ebuild,v 1.1 2007/11/30 19:23:08 tupone Exp $
+
+inherit eutils games
+
+MY_P="KoboDeluxe-${PV/_/}"
+DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up"
+HOMEPAGE="http://www.olofson.net/kobodl/"
+SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="opengl"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Fix paths
+ sed -i \
+ -e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \
+ -e 's:\$(sharedstatedir)/kobo-deluxe/scores:$(localstatedir)/kobodeluxe:' \
+ configure || die "sed configure failed"
+ sed -i \
+ -e 's:kobo-deluxe:kobodeluxe:' \
+ data/gfx/Makefile.in \
+ data/sfx/Makefile.in || die "sed data/Makefile.in failed"
+ tar xzvf icons.tar.gz || die "unpacking icons failed"
+}
+
+src_compile() {
+ egamesconf $(use_enable opengl) || die
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon icons/KDE/icons/32x32/kobodl.png ${PN}.png
+ make_desktop_entry kobodl "Kobo Deluxe"
+ dodoc ChangeLog README* TODO
+ prepgamesdirs
+ fperms 2775 "${GAMES_STATEDIR}"/${PN}
+}