Commits

neko259 committed 9b6d49a

Added DF 0.34.08

  • Participants
  • Parent commits 10fe9d6

Comments (0)

Files changed (2)

games-roguelike/dwarf-fortress/Manifest

 AUX SConscript-gentoo 1833 RMD160 fa0ac15f74b59759e21fce78abdade7e6c603980 SHA1 c555d333b9666d6aab7703c90d668202d5637a7a SHA256 438fe80ad5ddd9a4676d6e2843a33594a58ceb86f34cdd826759f4cd577d9bc8
 AUX dwarf-fortress-wrapper 282 RMD160 6270aa4b7a7a25e184d27639d4b87ed414d525ca SHA1 375827600913c50d9f1504c81202242dbb5224e5 SHA256 1d02146a8af0426eefdd9b6d7983c51741bce5a89a3cb18ebc4f0dedc94b0ca6
 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
 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
 MISC ChangeLog 330 RMD160 66a32f3c980356a9d79aafc18b4daa84b4b47e4b SHA1 0a61b5fb172b6b8690d843250fd65bf3c8f3e682 SHA256 4a9207bdf8088fe5fd8b673d9876cf29e42104596d51d7ac33200783f7d9f3f7

games-roguelike/dwarf-fortress/dwarf-fortress-0.34.08.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
+}