summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-engines/dagii/ChangeLog4
-rw-r--r--games-engines/dagii/Manifest7
-rw-r--r--games-engines/dagii/dagii-0.3.ebuild45
-rw-r--r--games-engines/dagii/dagii-0.4.ebuild2
-rw-r--r--games-engines/dagii/files/dagii-0.3-depend.1.diff8
5 files changed, 63 insertions, 3 deletions
diff --git a/games-engines/dagii/ChangeLog b/games-engines/dagii/ChangeLog
index b1691faef..dbe7b84a3 100644
--- a/games-engines/dagii/ChangeLog
+++ b/games-engines/dagii/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Mar 2007; Nathan Smith (ndansmith) <ndansmith@gmail.com>
+ +dagii-0.3.ebuild, +files/dagii-0.3-depend.1.diff, dagii-0.4.ebuild:
+ Adding version 0.3 and needed patches and preparing to mask 0.4
+
01 Feb 2007; Nathan Smith (ndansmith) <ndansmith@gmail.com>
-dagii-0.2.ebuild, +dagii-0.4.ebuild:
Version bump.
diff --git a/games-engines/dagii/Manifest b/games-engines/dagii/Manifest
index 2c4b5e430..8fa0e3e0b 100644
--- a/games-engines/dagii/Manifest
+++ b/games-engines/dagii/Manifest
@@ -1,5 +1,8 @@
+AUX dagii-0.3-depend.1.diff 308 RMD160 594e20f013ff9a37fd7dcbf6010a2ccdbe4a6283 SHA1 2538b80435bb92749a876324d3c97d63c31dab87 SHA256 a32bbc448352c538acc6a36aeb57758c89badfd6a7609fa89be6c2b716f58416
AUX dagii.xpm 1369 RMD160 856e84c61c897282c4754279ef69518b9e94a607 SHA1 980fa48d04fe2702ff4cdb7b274bd086ac4908cf SHA256 087d3a3376b380688745671096d8ddc7ee7707f773b95c02f2916148d48ce366
+DIST dagii-0.3.tar.bz2 121986 RMD160 00a4984d878a2b5639a6a1a4637c0f9eb9423851 SHA1 b0a20df60acb95870c6fd2672cd97c0671cc7c8b SHA256 fcdb8cb8d6c28fae8ed761fc4c34f7806326fce5919feb7ffa4dceb67e3da54c
DIST dagii-0.4.tar.bz2 125140 RMD160 3a285e8e96c1fe735141840cb59578ef03b8af6a SHA1 b9a2ff8d030466595f70c56f6c67b8668dde5124 SHA256 855d1224c1e8bfc015aeb363f8998bad22a8b10a5b11abfca5d51a406846f624
-EBUILD dagii-0.4.ebuild 1003 RMD160 e040f2be6eab7ad0d70fb3282f0e533f74c40ea3 SHA1 285467beda97c72c6a2535adf99420cbeb026656 SHA256 2621fc97023b02fddc2ea5cbe56c90ab25ec0088320f1c9b638899cf64e8bca4
-MISC ChangeLog 380 RMD160 c84c970f035bac2ea069180f1556f7478de4f5be SHA1 4589b05a169952e7e4c4de87b11bfb1f91f14e03 SHA256 5368422f248978d2f736a6b50c5b6fb9d83ed5901375653d9dc911ff6a7e044d
+EBUILD dagii-0.3.ebuild 1081 RMD160 89164ab439b850edfeae200f4d95e69e5a86c225 SHA1 80c266fc30258d867c33274917e12df85650cb84 SHA256 6b76902e91aaebd3dc12f62581d262d9bb0d38bbe75d78774cd2bc2a5c4f9045
+EBUILD dagii-0.4.ebuild 994 RMD160 f7779122e820650f7042da7c8d12ac9f26dbac1c SHA1 cbe8bd66f3ceafac20c8e67bf0a10e8599a4d99d SHA256 164dc9aca0475cb4e36af0dbfdac02ad170beaa8a0c0eff4cd0f2028fc9bb633
+MISC ChangeLog 580 RMD160 d621a2170895df08c6efc91ff824475fe87ee159 SHA1 504ff00ad0dac17e01ea5dc6e7bfc2f2f5611a6f SHA256 65523b04e2bf980dd3bdf7417ec2e3119e22fd84d207ce336126331f0ab3c234
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/games-engines/dagii/dagii-0.3.ebuild b/games-engines/dagii/dagii-0.3.ebuild
new file mode 100644
index 000000000..17b7206b8
--- /dev/null
+++ b/games-engines/dagii/dagii-0.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games
+
+DESCRIPTION="a reimplementation of Sierra's Adventure Game Interpreter"
+HOMEPAGE="http://www.dagii.org/"
+SRC_URI="http://www.dagii.org/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc"
+IUSE="png"
+
+DEPEND="png? ( media-libs/libpng )
+ media-libs/libsdl"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-depend.1.diff"
+}
+
+src_compile() {
+ egamesconf $(use_enable png libpng ) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin src/${PN}
+ dodoc README.txt
+ doicon "${FILESDIR}/${PN}.xpm"
+ make_desktop_entry ${PN} ${PN} ${PN}.xpm "Game;AdventureGame"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ elog "Dagii looks for games either in the user's current directory"
+ elog "or in a location passed as a path in the command line"
+ elog "For example: \"$ dagii /usr/share/games/kq3\""
+ elog "Also, dagii can play games which are stored in .zip archives."
+ games_pkg_postinst
+}
diff --git a/games-engines/dagii/dagii-0.4.ebuild b/games-engines/dagii/dagii-0.4.ebuild
index 68330e6e6..f67a2e129 100644
--- a/games-engines/dagii/dagii-0.4.ebuild
+++ b/games-engines/dagii/dagii-0.4.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://www.dagii.org/dist/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS=""
IUSE="png"
DEPEND="png? ( media-libs/libpng )
diff --git a/games-engines/dagii/files/dagii-0.3-depend.1.diff b/games-engines/dagii/files/dagii-0.3-depend.1.diff
new file mode 100644
index 000000000..16770030e
--- /dev/null
+++ b/games-engines/dagii/files/dagii-0.3-depend.1.diff
@@ -0,0 +1,8 @@
+--- src/depend.1
+--- src/depend.1
+38,39c38,39
+< sshot.o: sshot.cc config.h /sw/include/libpng12/png.h \
+< /sw/include/libpng12/pngconf.h Canvas.h types.h dagii.h debug.h \
+---
+> sshot.o: sshot.cc config.h /usr/include/libpng12/png.h \
+> /usr/include/libpng12/pngconf.h Canvas.h types.h dagii.h debug.h \