diff options
Diffstat (limited to 'games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild')
-rw-r--r-- | games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild b/games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild new file mode 100644 index 0000000..1836922 --- /dev/null +++ b/games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit games multilib + +MY_P="SecondLife_i686_${PV//./_}" + +DESCRIPTION="A 3D MMORPG virtual world entirely built and owned by its residents" +HOMEPAGE="http://secondlife.com/" +SRC_URI="http://s3.amazonaws.com/download-secondlife-com/${MY_P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip" + +RDEPEND="sys-libs/glibc + media-fonts/kochi-substitute + x86? ( + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext + dev-libs/libgcrypt + dev-libs/libgpg-error + dev-libs/openssl + media-libs/freetype + media-libs/libogg + media-libs/libsdl + media-libs/libvorbis + net-libs/gnutls + net-misc/curl + sys-libs/zlib + virtual/glu + virtual/opengl + ) + amd64? ( + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-gtklibs + )" + +S="${WORKDIR}/${MY_P}" + +dir="${GAMES_PREFIX_OPT}/secondlife" +QA_EXECSTACK="${dir:1}/lib/libSDL-1.2.so.0 + ${dir:1}/lib/libfmod-3.75.so + ${dir:1}/lib/libkdu_v42R.so + ${dir:1}/lib/libcrypto.so.0.9.7 + ${dir:1}/bin/do-not-directly-run-secondlife-bin + ${dir:1}/app_settings/mozilla-runtime-linux-i686/libxul.so" +QA_TEXTRELS="${dir:1}/lib/libfmod-3.75.so + ${dir:1}/lib/libkdu_v42R.so + ${dir:1}/app_settings/mozilla-runtime-linux-i686/libxul.so" + +pkg_setup() { + # x86 binary package, ABI=x86 + has_multilib_profile && ABI="x86" +} + +src_unpack() { + unpack ${A} + + cd "${S}" + rm unicode.ttf +} + +src_install() { + exeinto "${dir}" + doexe launch_url.sh linux-crash-logger.bin secondlife || die + rm -rf launch_url.sh linux-crash-logger.bin secondlife + + exeinto "${dir}"/bin + doexe bin/* || die + rm -rf bin + + exeinto "${dir}"/lib + doexe lib/* || die + rm -rf lib + + insinto "${dir}" + doins -r * || die "doins * failed" + + dosym /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf "${dir}"/unicode.ttf + + games_make_wrapper secondlife-bin ./secondlife "${dir}" "${dir}"/lib + newicon secondlife.ico secondlife-bin.ico + make_desktop_entry secondlife-bin "Second Life(bin)" secondlife-bin.ico + + prepgamesdirs +} |