summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-01-06 16:28:06 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-01-06 16:28:06 +0000
commit7dbc6a47658c62549f86d20e80c17218620a034a (patch)
treea21e321bb298b3a3978bc9acb3cc2c1166180fb9 /games-simulation/secondlife-bin/secondlife-bin-1.18.6.76453_alpha.ebuild
parentVersion bumbed. (diff)
downloadsecondlife-7dbc6a47658c62549f86d20e80c17218620a034a.tar.gz
secondlife-7dbc6a47658c62549f86d20e80c17218620a034a.tar.bz2
secondlife-7dbc6a47658c62549f86d20e80c17218620a034a.zip
Version bumped.
svn path=/secondlife/; revision=43
Diffstat (limited to 'games-simulation/secondlife-bin/secondlife-bin-1.18.6.76453_alpha.ebuild')
-rw-r--r--games-simulation/secondlife-bin/secondlife-bin-1.18.6.76453_alpha.ebuild94
1 files changed, 94 insertions, 0 deletions
diff --git a/games-simulation/secondlife-bin/secondlife-bin-1.18.6.76453_alpha.ebuild b/games-simulation/secondlife-bin/secondlife-bin-1.18.6.76453_alpha.ebuild
new file mode 100644
index 0000000..071b374
--- /dev/null
+++ b/games-simulation/secondlife-bin/secondlife-bin-1.18.6.76453_alpha.ebuild
@@ -0,0 +1,94 @@
+# 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//./_}"
+MY_P="${MY_P/_alpha/_WINDLIGHT}"
+
+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"
+SRC_URI="http://firstlook-secondlife-com.s3.amazonaws.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-10.0
+ >=app-emulation/emul-linux-x86-gtklibs-10.0
+ )"
+
+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
+}