summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-rpg/eternal-lands/ChangeLog10
-rw-r--r--games-rpg/eternal-lands/Manifest14
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild4
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.0.1.ebuild143
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.0.14
5 files changed, 160 insertions, 15 deletions
diff --git a/games-rpg/eternal-lands/ChangeLog b/games-rpg/eternal-lands/ChangeLog
index 661ed0e61c88..69f0eddadf91 100644
--- a/games-rpg/eternal-lands/ChangeLog
+++ b/games-rpg/eternal-lands/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/eternal-lands
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.3 2004/11/30 03:51:31 kingtaco Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.4 2005/01/28 19:59:14 mr_bones_ Exp $
+
+*eternal-lands-1.0.1 (28 Jan 2005)
+
+ 28 Jan 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +eternal-lands-1.0.1.ebuild:
+ version bump - ebuild submitted by Bjørn Mogense via bug #79501
29 Nov 2004; Mike Doty <kingtaco@gentoo.org> eternal-lands-1.0.0.ebuild:
~amd64 keyword added
diff --git a/games-rpg/eternal-lands/Manifest b/games-rpg/eternal-lands/Manifest
index 879b90141f27..b298bac986df 100644
--- a/games-rpg/eternal-lands/Manifest
+++ b/games-rpg/eternal-lands/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 6b01d69bed60277cd7d3bccbf30c89da eternal-lands-1.0.0.ebuild 1975
MD5 d7bd68723e17ecc4cc875d14f52c40e0 ChangeLog 605
MD5 f14047c98a46008d55322cc6df542db0 metadata.xml 218
+MD5 6b01d69bed60277cd7d3bccbf30c89da eternal-lands-1.0.0.ebuild 1975
+MD5 37cbd5ea4f13a369807ace5002a4289c eternal-lands-1.0.1.ebuild 3855
MD5 13332eb34e0c35e33cfd4e40064f1672 files/digest-eternal-lands-1.0.0 113
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBrB/fI1lqEGTUzyQRAg2eAJ9xOMaIrTwTUAMRwbagLWCRAKjKaQCgqz+e
-wZUKC6tRPLc6J6AacKLhoAI=
-=2237
------END PGP SIGNATURE-----
+MD5 cd095b45439a8c74608347887c8eb72a files/digest-eternal-lands-1.0.1 236
diff --git a/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild b/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild
index cdac923b3b29..8923990be40c 100644
--- a/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild
+++ b/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild,v 1.4 2004/11/30 03:51:31 kingtaco Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.0.0.ebuild,v 1.5 2005/01/28 19:59:14 mr_bones_ Exp $
inherit games
diff --git a/games-rpg/eternal-lands/eternal-lands-1.0.1.ebuild b/games-rpg/eternal-lands/eternal-lands-1.0.1.ebuild
new file mode 100644
index 000000000000..90a4f0a5596d
--- /dev/null
+++ b/games-rpg/eternal-lands/eternal-lands-1.0.1.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.0.1.ebuild,v 1.1 2005/01/28 19:59:14 mr_bones_ Exp $
+
+inherit games
+
+TMP_PV=${PV%_p*}
+DESCRIPTION="An online MMORPG written in C and SDL"
+HOMEPAGE="http://www.eternal-lands.com"
+SRC_URI="http://el.tfm.ro/el_${TMP_PV//.}.zip
+ ftp://ftp.berlios.de/pub/elc/elc_${PV//.}.tgz
+ mapeditor? ( ftp://ftp.berlios.de/pub/elc/mapedit_${PV//.}.tgz )
+ !nomusic? ( http://el.tfm.ro/el_music_${PV//.}.zip )"
+
+LICENSE="eternal_lands"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc nomusic mapeditor"
+
+RDEPEND="virtual/x11
+ virtual/opengl
+ >=media-libs/libsdl-1.2.5
+ >=media-libs/sdl-net-1.2.5
+ >media-libs/openal-20020127
+ media-libs/libvorbis
+ >=dev-libs/libxml2-2.6.7
+ mapeditor? ( <x11-libs/gtk+-1.3 )"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ doc? ( >=app-doc/doxygen-1.3.8
+ >=media-gfx/graphviz-1.10)"
+
+src_unpack() {
+ OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"" "
+ S_CLIENT="${WORKDIR}/elc"
+ S_MAPEDITOR="${WORKDIR}/map_editor"
+
+ unpack ${A}
+ use amd64 && OPTIONS="${OPTIONS} -DX86_64"
+ cd "${S_CLIENT}"
+ sed \
+ -e "s@CFLAGS=\$(PLATFORM) -Wall -O -Werror -ggdb -pipe @CFLAGS=${CFLAGS} @g" \
+ -e "s@OPTIONS=@${OPTIONS} @g" \
+ Makefile.linux > Makefile \
+ || die "sed failed"
+ sed \
+ -e 's/#browser/browser/g' \
+ -e 's/browser = mozilla/#browser = mozilla/g' \
+ -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
+ el.ini > ../el.ini \
+ || die "sed failed"
+ if use mapeditor; then
+ cd ${S_MAPEDITOR}
+ sed \
+ -e "s@CFLAGS=@CFLAGS=${CFLAGS} @g" \
+ -e "s@OPTIONS=@${OPTIONS} @g" \
+ Makefile.linux > Makefile \
+ || die "sed failed"
+ sed \
+ -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
+ mapedit.ini > ../mapedit.ini \
+ || die "sed failed"
+ mv browser.lst ../browser.lst
+ fi
+ cd ${WORKDIR}
+ cp license.txt EULA || die "cp failed"
+ cp changes.txt ChangeLog || die "cp failed"
+}
+
+src_compile() {
+ cd ${S_CLIENT}
+ emake || die "emake failed"
+ cp el.x86.linux.bin ../el.x86.linux.bin || die "cp failed"
+ if use doc; then
+ emake docs || die "Failed to create documentation, try with USE=-docs"
+ mv ./docs/html/ ../client || die "Failed to move documentation directory"
+ fi
+ if use mapeditor; then
+ cd ${S_MAPEDITOR}
+ emake || die "emake failed"
+ cp mapedit.x86.linux.bin ../mapedit.x86.linux.bin || die "cp failed"
+ fi
+}
+
+src_install () {
+ cd "${WORKDIR}"
+ newgamesbin el.x86.linux.bin el || die "newgamesbin failed"
+ if use mapeditor; then
+ newgamesbin mapedit.x86.linux.bin el-mapedit \
+ || die "newgamesbin failed"
+ fi
+
+ dodoc ChangeLog EULA
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins *.ini entrable.lst harvestable.lst el_icon.png icon.bmp \
+ global_filters.txt local_ignores.txt e3dlist.txt \
+ || die "doins failed"
+
+ if use mapeditor; then
+ doins browser.lst || die "doins failed"
+ fi
+
+ cp -R 2dobjects 3dobjects languages maps md2 particles sound textures tiles \
+ "${D}/${GAMES_DATADIR}/${PN}" \
+ || die "copy failed"
+
+ if ! use nomusic; then
+ cp -R music "${D}/${GAMES_DATADIR}/${PN}" || die "cp failed"
+ fi
+
+ if use doc; then
+ dohtml -r "${WORKDIR}/client/"*
+ fi
+ if use mapeditor; then
+ dohtml "${WORKDIR}/mapeditor.html"
+ dohtml -r "${WORKDIR}/mapeditor"
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "To run the game: el"
+ einfo "Copy ${GAMES_DATADIR}/${PN}/el.ini to ~/.elc/"
+ einfo "to make per-user changes."
+ echo
+ if use mapeditor; then
+ einfo "To use the map editor: el-mapedit"
+ einfo "Copy ${GAMES_DATADIR}/${PN}/mapedit.ini to ~/.elc/"
+ einfo "to make per-user changes."
+ echo
+ einfo "To read an introduction to the map editor, read"
+ einfo "/usr/share/doc/${PF}/html/mapeditor.html"
+ echo
+ fi
+ if use doc; then
+ einfo "The documentation for the client source can be found"
+ einfo "in /usr/share/doc/${PF}/html/index.html"
+ echo
+ fi
+}
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.0.1 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.0.1
new file mode 100644
index 000000000000..f61d290da46c
--- /dev/null
+++ b/games-rpg/eternal-lands/files/digest-eternal-lands-1.0.1
@@ -0,0 +1,4 @@
+MD5 10727a6a8978fcee6d18548285d617e4 el_101.zip 31924847
+MD5 fa0c09c22947b19425e5f4f40e2caaf1 elc_101.tgz 342073
+MD5 d7fd7763045f57248b8fdac9b6741aaf mapedit_101.tgz 115323
+MD5 16fe9ca8c9f4e3757571bfeeff8e260b el_music_101.zip 27141551