Commits

neko259 committed 9f7b9f2

Added dwarf fortress 0.34.10

Comments (0)

Files changed (3)

games-roguelike/dwarf-fortress/ChangeLog

 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*dwarf-fortress-0.34.10 (21 May 2012)
+
+  21 May 2012; <vurdalak@gentoo.org> +dwarf-fortress-0.34.10.ebuild:
+  Version bump
+
 *dwarf-fortress-0.34.09 (17 May 2012)
 
   17 May 2012; <vurdalak@gentoo.org> +dwarf-fortress-0.34.09.ebuild:

games-roguelike/dwarf-fortress/Manifest

 DIST df_34_07_linux.tar.bz2 11422332 RMD160 8dd8b5601385e91da8e62f16552215e582a98f09 SHA1 761593b2028344963a4ee5903eedd007cb4c8ddb SHA256 3359c63c98ff7db9b1a3e92d84eddfb6e3f4943706a97882f3ed8b46c587051b
 DIST df_34_08_linux.tar.bz2 11582659 RMD160 fc438d336f258b8b9f5c429091e8ed58f6ceee4b SHA1 d61f766ce4449c56b83f4092e4ba2348793853dd SHA256 bdc73f8416d38c9bf13266c445107b08cc0b622ee9d3d5de975ff805c6b0a9c5
 DIST df_34_09_linux.tar.bz2 11583979 RMD160 9a13376560e2926a60833ddf137941b64a62b7b7 SHA1 1b0c9161b572df1240aff3a2c02d3611c806f1b8 SHA256 1dbd1ad16a5e7a271d26ec69e532876940cd9dc78c99dcfef764d29b18689d26
+DIST df_34_10_linux.tar.bz2 11585338 RMD160 f353762583fecf9087eee0460083572c99784b63 SHA1 c5d32326224470acd55f0bb0f0e8b8db4c4e95c9 SHA256 135b70d83e50c5c611c6dc5ce3ad933a87053581439cd607a841d8a1e512518f
 EBUILD dwarf-fortress-0.34.07.ebuild 2400 RMD160 1a7c4ead5142060ee945fea82cbbd3ec8592bad0 SHA1 e2c3b48d213cfb123c6abcd52245d4694c148027 SHA256 6a215b241f45d7df92f30656864075e2472de08e95a723f56528b8bc426d4bad
 EBUILD dwarf-fortress-0.34.08.ebuild 2400 RMD160 1a7c4ead5142060ee945fea82cbbd3ec8592bad0 SHA1 e2c3b48d213cfb123c6abcd52245d4694c148027 SHA256 6a215b241f45d7df92f30656864075e2472de08e95a723f56528b8bc426d4bad
 EBUILD dwarf-fortress-0.34.09.ebuild 2400 RMD160 1a7c4ead5142060ee945fea82cbbd3ec8592bad0 SHA1 e2c3b48d213cfb123c6abcd52245d4694c148027 SHA256 6a215b241f45d7df92f30656864075e2472de08e95a723f56528b8bc426d4bad
-MISC ChangeLog 454 RMD160 2f655b7dca97852550e8e0f7a1f667df4cac90e6 SHA1 956201710c833b05e940953dbf4cba9c65ad5ccb SHA256 29c17082b03a7c61e653535313d9d58ac88e7de0b908fe7aacc872126ce4e0d9
+EBUILD dwarf-fortress-0.34.10.ebuild 2400 RMD160 1a7c4ead5142060ee945fea82cbbd3ec8592bad0 SHA1 e2c3b48d213cfb123c6abcd52245d4694c148027 SHA256 6a215b241f45d7df92f30656864075e2472de08e95a723f56528b8bc426d4bad
+MISC ChangeLog 578 RMD160 9042822f9ef43c4f577de7bde699aca70131d59a SHA1 eae7ea1093864ef1cd9fcbcfc2a56c916d7aebf3 SHA256 728efbf89637dbc3799cef1a7e30cfad845593deda4dcb31792cbba45370708c

games-roguelike/dwarf-fortress/dwarf-fortress-0.34.10.ebuild

+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit games versionator
+
+MY_PV=$(replace_all_version_separators _ "$(get_version_component_range 2-)")
+MY_PN=df
+MY_P=${MY_PN}_${MY_PV}
+
+DESCRIPTION="A single-player fantasy game"
+HOMEPAGE="http://www.bay12games.com/dwarves"
+SRC_URI="http://www.bay12games.com/dwarves/${MY_P}_linux.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 -*"
+IUSE=""
+# this is all precompiled
+RESTRICT="strip"
+
+RDEPEND="
+	virtual/glu
+	amd64? (
+		app-emulation/emul-linux-x86-baselibs
+		app-emulation/emul-linux-x86-gtklibs
+		app-emulation/emul-linux-x86-opengl
+		app-emulation/emul-linux-x86-sdl
+		app-emulation/emul-linux-x86-soundlibs
+		app-emulation/emul-linux-x86-xlibs
+	)
+	x86? (
+		media-libs/fmod:1
+		media-libs/freetype
+		media-libs/libsdl[opengl,video,X]
+		media-libs/libsndfile[alsa]
+		media-libs/openal
+		media-libs/sdl-image[png,tiff,jpeg]
+		media-libs/sdl-ttf
+		sys-libs/zlib
+		x11-libs/cairo[xcb,X]
+		x11-libs/gtk+:2[xinerama]
+		x11-libs/libXcomposite
+		x11-libs/libXcursor
+		x11-libs/pango[X]
+	)"
+
+S=${WORKDIR}/${MY_PN}_linux
+
+src_install() {
+	# install config stuff
+	insinto "${GAMES_SYSCONFDIR}"/${PN}
+	doins -r data/init/* || die
+
+	# keep saves, movies and objects directories
+	keepdir "${GAMES_STATEDIR}"/${PN}/save \
+		"${GAMES_STATEDIR}"/${PN}/movies \
+		"${GAMES_STATEDIR}"/${PN}/objects || die
+
+	# install data-files and libs
+	local gamesdir="${GAMES_PREFIX_OPT}/${PN}"
+	insinto "${gamesdir}"
+	rm -r data/{movies,init} || die
+	doins -r raw data libs || die
+
+	# install our wrapper
+	newgamesbin "${FILESDIR}"/${PN}-wrapper ${PN} || die
+
+	# install docs
+	dodoc README.linux *.txt || die
+
+	# create symlinks for several directories we want to have 
+	# in a different place
+	dosym "${GAMES_SYSCONFDIR}"/${PN} "${gamesdir}"/data/init || die
+	dosym "${GAMES_STATEDIR}"/${PN}/save "${gamesdir}"/data/save || die
+	dosym "${GAMES_STATEDIR}"/${PN}/movies "${gamesdir}"/data/movies || die
+	dosym "${GAMES_STATEDIR}"/${PN}/objects "${gamesdir}"/data/objects || die
+
+	prepgamesdirs
+
+	# fix a few permissions
+	fperms 0755 \
+		"${gamesdir}"/libs/{Dwarf_Fortress,libgcc_s.so.1,libgraphics.so,libstdc++.so.6} || die
+	fperms -R g+w "${GAMES_STATEDIR}"/${PN} || die
+	fperms g+w "${gamesdir}"/data/index || die
+	fperms -R g+w "${gamesdir}"/data/{announcement,dipscript,help} || die
+}