summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-08-15 23:30:49 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-08-15 23:30:49 +0000
commit9c1b4d71156e6e40ecf1d6ef8c145fdabd42dbdc (patch)
tree0341f77208d0ce2c3eefff6fe2ab57620b88411f
parentVersion bumped. (diff)
downloadsecondlife-9c1b4d71156e6e40ecf1d6ef8c145fdabd42dbdc.tar.gz
secondlife-9c1b4d71156e6e40ecf1d6ef8c145fdabd42dbdc.tar.bz2
secondlife-9c1b4d71156e6e40ecf1d6ef8c145fdabd42dbdc.zip
Version bumped.
svn path=/secondlife/; revision=25
-rw-r--r--games-simulation/secondlife-bin/Manifest8
-rw-r--r--games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.2.03
-rw-r--r--games-simulation/secondlife-bin/secondlife-bin-1.18.2.0.ebuild94
-rw-r--r--games-simulation/secondlife/Manifest10
-rw-r--r--games-simulation/secondlife/files/digest-secondlife-1.18.2.09
-rw-r--r--games-simulation/secondlife/secondlife-1.18.2.0.ebuild166
6 files changed, 290 insertions, 0 deletions
diff --git a/games-simulation/secondlife-bin/Manifest b/games-simulation/secondlife-bin/Manifest
index 6b33272..945b276 100644
--- a/games-simulation/secondlife-bin/Manifest
+++ b/games-simulation/secondlife-bin/Manifest
@@ -1,6 +1,7 @@
DIST SecondLife_i686_1_17_3_1.tar.bz2 50554945 RMD160 4ffdc699079113d340a90af59fb786edd0584e66 SHA1 2e73c333f4483e367e59785f2662fd7dc44dfb54 SHA256 d6fb3a1d423b07bd11c15f27a885675db4c109ad53ef54f7fdec14beb02f7a03
DIST SecondLife_i686_1_18_0_6.tar.bz2 50551134 RMD160 488e5b319b396dcb628a68096b542f4a401e4098 SHA1 614123cd0a5bed7bfe330fc578ca9381ac787bf8 SHA256 219cdd40c270e09bfc5f7b5e6829788fab4572a42df66e596e83de60cfde4853
DIST SecondLife_i686_1_18_1_2.tar.bz2 51746585 RMD160 6982f65cc53978cb82c9f7c6faf18d66860159d8 SHA1 4af3f7ebc75a2980c5264af46cb0a4460ec996f5 SHA256 0f15f7bc3f27800846fd9b9c57d56d02102d06a47e2b839942c676e3928b7369
+DIST SecondLife_i686_1_18_2_0.tar.bz2 51738089 RMD160 ca6b10e25ed7ab5e0e8cf1864e6c592f045a2e84 SHA1 aa64dcd7daaa4d33db14966d31af199d5f415770 SHA256 d944baaf81a84834176e7bd93fba0d7f018b1d26e650bf5127ddd192c23e9f71
EBUILD secondlife-bin-1.17.3.1.ebuild 2175 RMD160 975683c317f81edd66ff4c9747c92a41ae48802d SHA1 b3a35f5a3d33b8922a3a9909d0892aab1f11b9e5 SHA256 ed0e4c2e46cda83c7999164392691645a4c7d7e9505a425e492b975fbc53f1ce
MD5 e2ebc5800cdef48e99b5a81f970ff541 secondlife-bin-1.17.3.1.ebuild 2175
RMD160 975683c317f81edd66ff4c9747c92a41ae48802d secondlife-bin-1.17.3.1.ebuild 2175
@@ -13,6 +14,10 @@ EBUILD secondlife-bin-1.18.1.2.ebuild 2164 RMD160 eed34b0d35598ed54854c010b096da
MD5 343ea05a44aa8e8400a9a8c97e517c8e secondlife-bin-1.18.1.2.ebuild 2164
RMD160 eed34b0d35598ed54854c010b096dad00a1108e5 secondlife-bin-1.18.1.2.ebuild 2164
SHA256 d54891c000439abbe9daff652f798d55148a6e28bd46c092543d48dd7eafe351 secondlife-bin-1.18.1.2.ebuild 2164
+EBUILD secondlife-bin-1.18.2.0.ebuild 2164 RMD160 eed34b0d35598ed54854c010b096dad00a1108e5 SHA1 1905c7b5fc1956763bb51daca6f8b94611df37f6 SHA256 d54891c000439abbe9daff652f798d55148a6e28bd46c092543d48dd7eafe351
+MD5 343ea05a44aa8e8400a9a8c97e517c8e secondlife-bin-1.18.2.0.ebuild 2164
+RMD160 eed34b0d35598ed54854c010b096dad00a1108e5 secondlife-bin-1.18.2.0.ebuild 2164
+SHA256 d54891c000439abbe9daff652f798d55148a6e28bd46c092543d48dd7eafe351 secondlife-bin-1.18.2.0.ebuild 2164
MISC ChangeLog 378 RMD160 92addc133373660eaad3cc9d099917b12699ed34 SHA1 98df3a751ff516aa64fd3d8070efd3610f795daa SHA256 6d8ffb22a77649247122639b6983f47fd18ecb3aa8dc5b0ee2cc5db5715d7306
MD5 97faf24916fe6ff42b4132851981ef28 ChangeLog 378
RMD160 92addc133373660eaad3cc9d099917b12699ed34 ChangeLog 378
@@ -30,3 +35,6 @@ SHA256 538311cea1d87eb8ac73e3afa9ff76347b092740b3a926ee268e537cad30ce5c files/di
MD5 67b66772278fcd9977479e151a37960e files/digest-secondlife-bin-1.18.1.2 283
RMD160 5cdafe6db5d1c298adb635d6e2a8e959a2006d9d files/digest-secondlife-bin-1.18.1.2 283
SHA256 db2efb1feb74579b1803236a3ccbfa182e91a056845c7e23a5889854e800dcb6 files/digest-secondlife-bin-1.18.1.2 283
+MD5 bbf1ae3a66adbd51983f4b1c35ee39ac files/digest-secondlife-bin-1.18.2.0 283
+RMD160 89fc1ad1f71df89d00240f87cd7a62d131fed22e files/digest-secondlife-bin-1.18.2.0 283
+SHA256 71f3a66bbc79ed2e9bdd5639d2f3a847ee2f9f2349686e94b6e515b765d329d3 files/digest-secondlife-bin-1.18.2.0 283
diff --git a/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.2.0 b/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.2.0
new file mode 100644
index 0000000..62dba0d
--- /dev/null
+++ b/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.2.0
@@ -0,0 +1,3 @@
+MD5 5182e2bcb5b7713a6b04316a9309c6db SecondLife_i686_1_18_2_0.tar.bz2 51738089
+RMD160 ca6b10e25ed7ab5e0e8cf1864e6c592f045a2e84 SecondLife_i686_1_18_2_0.tar.bz2 51738089
+SHA256 d944baaf81a84834176e7bd93fba0d7f018b1d26e650bf5127ddd192c23e9f71 SecondLife_i686_1_18_2_0.tar.bz2 51738089
diff --git a/games-simulation/secondlife-bin/secondlife-bin-1.18.2.0.ebuild b/games-simulation/secondlife-bin/secondlife-bin-1.18.2.0.ebuild
new file mode 100644
index 0000000..539aa06
--- /dev/null
+++ b/games-simulation/secondlife-bin/secondlife-bin-1.18.2.0.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//./_}"
+
+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}/bin/do-not-directly-run-secondlife-bin
+ ${dir:1}/lib/libcrypto.so.0.9.7
+ ${dir:1}/lib/libfmod-3.75.so
+ ${dir:1}/lib/libkdu_v42R.so
+ ${dir:1}/app_settings/mozilla-runtime-linux-i686/libxul.so"
+QA_TEXTREL="${dir:1}opt/secondlife/bin/libllkdu.so
+ ${dir:1}/lib/libSDL-1.2.so.0
+ ${dir:1}/lib/libfmod-3.75.so
+ ${dir:1}/lib/libcurl.so.4
+ ${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
+}
diff --git a/games-simulation/secondlife/Manifest b/games-simulation/secondlife/Manifest
index 97f8fd1..d747924 100644
--- a/games-simulation/secondlife/Manifest
+++ b/games-simulation/secondlife/Manifest
@@ -21,12 +21,15 @@ SHA256 f6f653a57f5c7e4adbad54c8632cbe6b56ed784aaa3d0f5b4c5f70b860b9448f files/sl
DIST slviewer-artwork-1.17.3.0.zip 24679565 RMD160 55bee38147f53bd8560b94869518e51a1585a897 SHA1 c32e2aff4945a6ae6b1b3ec065f1c483c76c00ed SHA256 1b57a57b788c73ddc76fcf24a84a51a1169ea89fae0f8ecaf34b5794c55776a7
DIST slviewer-artwork-1.18.0.6.zip 24679565 RMD160 56b3b61db20462eb24b5c3d025b46ecffaf9fd0a SHA1 9601a771a3ccdb3b2566c24bb19a13d251fda6a1 SHA256 e935958d26f5cd1b2215b150ee0a7be7028c4dc92dafe43b879409718a824c71
DIST slviewer-artwork-1.18.1.2.zip 24702596 RMD160 64226c9f79599f694c0e5066b3e4113ddd7a9c20 SHA1 db6af42c6f77c76663748ac31e3a049347d6f017 SHA256 361fb28b6de7ec983eb0e837e55736b45de85c27394a01615d8e39b9a9b22ca0
+DIST slviewer-artwork-1.18.2.0.zip 24702596 RMD160 aafc1966cb5c1ee7fbfda935efe29f37dbeef749 SHA1 d5ab2cfe7e1a1e7b0ef40f0e7e3095553757f7b0 SHA256 327fe454b2f6a596aa9d6446a827323f4800c62bcc7623010a2e880e23124ad7
DIST slviewer-linux-libs-1.17.3.0.tar.gz 28636482 RMD160 87c01aab65c13f828e73ae6bdb7257c755c0eaf6 SHA1 eeefdb8ba71b639c4221fbd1bf32f3bdafc72940 SHA256 d83ff67ddd10448d6d2e7dd8612900f21385a5c17cfd736378b22b1f41ca4c30
DIST slviewer-linux-libs-1.18.0.6.tar.gz 28594558 RMD160 228674b0ca4a747e256eae9ef3c81a3266b14dc5 SHA1 cc907fd1539aeb83978dcbf5e694fcd3d54878bf SHA256 0a838e0a2844e655f2eed0f97910d8b90ed8916de137234d77c056d0769c39c8
DIST slviewer-linux-libs-1.18.1.2.tar.gz 30547391 RMD160 a4c50dad871fc68f57dd668ef4e82acb59bece7f SHA1 020dd25d03aaca0155a6ab02ca2846532af5dc3e SHA256 137b16c2f84398ebe216dcf521a89d88c0fe58208fd2d62716d3571827ed12d6
+DIST slviewer-linux-libs-1.18.2.0.tar.gz 30598341 RMD160 9d64503ffab4d20ca6c79d88169a309d0b19431d SHA1 90b37a4b6754e0d860f4706e68664cd685078f34 SHA256 bc47e71d543ca1c152fd0c2771a028e353357d04b1cb80380976ca4bc40617cb
DIST slviewer-src-1.17.3.0.tar.gz 5198192 RMD160 9698a5e53b2a7a69c00f11db239f4ef0c58597e9 SHA1 73e497db1e52ff28580c2f143469df76308db2cf SHA256 bf40ffaa40cc808d0ed30cba9f7b996a53930cefd30bc261d498c3bececf47cd
DIST slviewer-src-1.18.0.6.tar.gz 5266889 RMD160 c67394d9617f467ced85b41e301e7185e630f75d SHA1 0b493b60925ea334d2eef61d47152212c1392ef5 SHA256 a098099339c9480ba702bf5369deb477e9f5f69fcbc56d405807032e86bf1891
DIST slviewer-src-1.18.1.2.tar.gz 5395729 RMD160 4222ec08662cbe9e8ecb18113e37d9a7edc8d127 SHA1 a0ba4070771f01ffbc242d18c0bfc5822b52cd76 SHA256 dc749594bd1952ba3c3c59587641849d13f420dc52a2e9fa6bc495e05f3a65e1
+DIST slviewer-src-1.18.2.0.tar.gz 5403670 RMD160 370a5a6822f93095d81e109d6c3eb918a70817b8 SHA1 1693566a0f39b5d6d94b417de746b6d19899f72e SHA256 3b0f39315f6dade48d8020326dc2c51466bcade4d753a8c0b266586ac93f271d
EBUILD secondlife-1.17.3.0.ebuild 4058 RMD160 01bc0a7ee4d2e7911bc5749f7fb901d69d05416f SHA1 1639de5ae74a02a873d454a131056c753fff9898 SHA256 71893aa1d119152cf33951d4db73cc3daa2d4195f9a40cdb475dc7db0c963a7a
MD5 7cf3e1b46a8576b224a5724ba0733503 secondlife-1.17.3.0.ebuild 4058
RMD160 01bc0a7ee4d2e7911bc5749f7fb901d69d05416f secondlife-1.17.3.0.ebuild 4058
@@ -39,6 +42,10 @@ EBUILD secondlife-1.18.1.2.ebuild 4145 RMD160 d25641614a2d6c79ae504446f549aa829c
MD5 b9f124401ec77ee051c8a3a502a12731 secondlife-1.18.1.2.ebuild 4145
RMD160 d25641614a2d6c79ae504446f549aa829c1f3e3e secondlife-1.18.1.2.ebuild 4145
SHA256 44c0c6964783e88175db23e29ed827cf46e17cd14d53bd73c77eb4699b5593ef secondlife-1.18.1.2.ebuild 4145
+EBUILD secondlife-1.18.2.0.ebuild 4165 RMD160 87d0dc42f99db1b8a2cc1b42f3e58c1082e2cc01 SHA1 b849b097fa57f51906a3c69cc80f51b877928b6f SHA256 d062cccf35b79d659086b0205a1073400e30f667292ec9a72dbf29234eb842c2
+MD5 152f5039522f5d0a613cb966219deeb1 secondlife-1.18.2.0.ebuild 4165
+RMD160 87d0dc42f99db1b8a2cc1b42f3e58c1082e2cc01 secondlife-1.18.2.0.ebuild 4165
+SHA256 d062cccf35b79d659086b0205a1073400e30f667292ec9a72dbf29234eb842c2 secondlife-1.18.2.0.ebuild 4165
MISC ChangeLog 397 RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f SHA1 17e67ab90c2e9e9498546dea1e697fff4757555c SHA256 cfd4bfd6466fb3e1db42817b34283356390a43f1e54f0b8217847a6d78a15dc6
MD5 f098b81a2533118dabb62f9f470dbad1 ChangeLog 397
RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f ChangeLog 397
@@ -56,3 +63,6 @@ SHA256 e92e26485c34037ba67e15b3a92db572d1fdc3af92a517e46550fa047f397e4f files/di
MD5 1ea3967afd7e614a9df4aa99ad63c011 files/digest-secondlife-1.18.1.2 834
RMD160 328b382e7a702be74f467640f15416df911786ef files/digest-secondlife-1.18.1.2 834
SHA256 0a252f65bb035a26de50dd4ea51ee38922ef263f514a8d3be2c4ea9975788d51 files/digest-secondlife-1.18.1.2 834
+MD5 4f8e9b7258e784156a53542a0756e4ea files/digest-secondlife-1.18.2.0 834
+RMD160 00932f2efe50c5fa743573aa52da7cc8dd7997bb files/digest-secondlife-1.18.2.0 834
+SHA256 0391c9464ac4602ab2ea7d01230cb769725edc04f9cc7af9e71ec3c5161f3060 files/digest-secondlife-1.18.2.0 834
diff --git a/games-simulation/secondlife/files/digest-secondlife-1.18.2.0 b/games-simulation/secondlife/files/digest-secondlife-1.18.2.0
new file mode 100644
index 0000000..2c66092
--- /dev/null
+++ b/games-simulation/secondlife/files/digest-secondlife-1.18.2.0
@@ -0,0 +1,9 @@
+MD5 72e413d11694dfa6e43a4d33486b5888 slviewer-artwork-1.18.2.0.zip 24702596
+RMD160 aafc1966cb5c1ee7fbfda935efe29f37dbeef749 slviewer-artwork-1.18.2.0.zip 24702596
+SHA256 327fe454b2f6a596aa9d6446a827323f4800c62bcc7623010a2e880e23124ad7 slviewer-artwork-1.18.2.0.zip 24702596
+MD5 a3af2558438800e18969b5daf0d1e16c slviewer-linux-libs-1.18.2.0.tar.gz 30598341
+RMD160 9d64503ffab4d20ca6c79d88169a309d0b19431d slviewer-linux-libs-1.18.2.0.tar.gz 30598341
+SHA256 bc47e71d543ca1c152fd0c2771a028e353357d04b1cb80380976ca4bc40617cb slviewer-linux-libs-1.18.2.0.tar.gz 30598341
+MD5 31375ef0700ec23d3d6818f5c68ffd9b slviewer-src-1.18.2.0.tar.gz 5403670
+RMD160 370a5a6822f93095d81e109d6c3eb918a70817b8 slviewer-src-1.18.2.0.tar.gz 5403670
+SHA256 3b0f39315f6dade48d8020326dc2c51466bcade4d753a8c0b266586ac93f271d slviewer-src-1.18.2.0.tar.gz 5403670
diff --git a/games-simulation/secondlife/secondlife-1.18.2.0.ebuild b/games-simulation/secondlife/secondlife-1.18.2.0.ebuild
new file mode 100644
index 0000000..9b1b241
--- /dev/null
+++ b/games-simulation/secondlife/secondlife-1.18.2.0.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games toolchain-funcs
+
+DESCRIPTION="A 3D MMORPG virtual world entirely built and owned by its residents"
+HOMEPAGE="http://secondlife.com/"
+SRC_URI="http://secondlife.com/developers/opensource/downloads/2007/08/slviewer-src-${PV}.tar.gz
+ http://secondlife.com/developers/opensource/downloads/2007/08/slviewer-artwork-${PV}.zip
+ http://secondlife.com/developers/opensource/downloads/2007/08/slviewer-linux-libs-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug elfio fmod gstreamer"
+#IUSE="debug elfio fmod gstreamer llmozlib"
+RESTRICT="mirror"
+
+RDEPEND=">=x11-libs/gtk+-2
+ =dev-libs/apr-1*
+ =dev-libs/apr-util-1*
+ dev-libs/boost
+ >=net-misc/curl-7.15.4
+ dev-libs/openssl
+ media-libs/freetype
+ media-libs/jpeg
+ media-libs/libsdl
+ media-libs/mesa
+ media-libs/libogg
+ media-libs/libvorbis
+ fmod? ( x86? ( =media-libs/fmod-3.75* ) )
+ =sys-libs/db-4.2*
+ dev-libs/expat
+ sys-libs/zlib
+ >=dev-libs/xmlrpc-epi-0.51
+ elfio? ( dev-libs/elfio )
+ >=media-libs/openjpeg-1.1.1
+ media-fonts/kochi-substitute
+ gstreamer? ( >=media-libs/gstreamer-0.10 )
+ debug? ( dev-libs/google-perftools )"
+# llmozlib? ( net-libs/llmozlib-xulrunner )
+
+DEPEND="${RDEPEND}
+ >=dev-util/scons-0.97
+ dev-util/pkgconfig
+ sys-devel/flex
+ sys-devel/bison"
+
+S="${WORKDIR}/linden/indra"
+
+dir="${GAMES_DATADIR}/${PN}"
+
+src_unpack() {
+ # unpack font files
+ unpack slviewer-linux-libs-${PV}.tar.gz
+ rm -rf linden/libraries
+ rm -rf linden/indra/newview/app_settings
+
+ unpack slviewer-src-${PV}.tar.gz
+ unpack slviewer-artwork-${PV}.zip
+
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-1.18.1.2-gentoo.patch
+ epatch "${FILESDIR}"/${PN}-1.17.2.0-size_t.patch
+
+ sed -i -e "s|gcc_bin = .*$|gcc_bin = '$(tc-getCXX)'|" "${S}"/SConstruct || die
+
+ # "${S}"/newview/viewer_manifest.py
+ touch "${S}"/newview/gridargs.dat
+}
+
+src_compile() {
+ local myarch
+ local myopts="BUILD=release BTARGET=client DISTCC=no STANDALONE=yes"
+
+ if use debug ; then
+ myopts="${myopts} BUILD=debug"
+ else
+ myopts="${myopts} BUILD=release"
+ fi
+
+ if use elfio ; then
+ myopts="${myopts} ELFIO=yes"
+ else
+ myopts="${myopts} ELFIO=no"
+ fi
+
+ if use gstreamer ; then
+ myopts="${myopts} GSTREAMER=yes"
+ else
+ myopts="${myopts} GSTREAMER=no"
+ fi
+
+ # if use llmozlib ; then
+ # myopts="${myopts} MOZLIB=yes"
+ # else
+ myopts="${myopts} MOZLIB=no"
+ # fi
+
+ case ${ARCH} in
+ x86)
+ myopts="${myopts} ARCH=i686"
+ ;;
+ amd64)
+ myopts="${myopts} ARCH=x86_64"
+ ;;
+ ppc|ppc64)
+ myopts="${myopts} ARCH=powerpc"
+ ;;
+ *)
+ myopts="${myopts} ARCH=i686"
+ ;;
+ esac
+
+ if use fmod && [ "${ARCH}" == "x86" ] ; then
+ myopts="${myopts} FMOD=yes"
+ else
+ myopts="${myopts} FMOD=no"
+ fi
+
+ CLIENT_CPPFLAGS="${CXXFLAGS}" TEMP_BUILD_DIR= scons ${myopts} || die
+}
+
+src_install() {
+ cd "${S}"/newview/
+
+ insinto "${dir}"
+ doins gpu_table.txt gridargs.dat secondlife-i686.supp featuretable_linux.txt || die
+ doins -r app_settings character fonts skins res-sdl || die
+
+ doins lsl_guide.html releasenotes.txt || die
+ newins licenses-linux.txt licenses.txt || die
+ newins linux_tools/client-readme.txt README-linux.txt || die
+ newins res/ll_icon.ico secondlife.ico || die
+
+ insinto "${dir}"/app_settings/
+ doins "${WORKDIR}"/linden/scripts/messages/message_template.msg || die
+ doins "${WORKDIR}"/linden/etc/message.xml || die
+
+ exeinto "${dir}"
+ doexe linux_tools/launch_url.sh || die
+ newexe linux_tools/wrapper.sh secondlife || die
+ newexe ../linux_crash_logger/linux-crash-logger-*-bin* linux-crash-logger.bin || die
+
+ exeinto "${dir}"/bin/
+ newexe secondlife-*-bin do-not-directly-run-secondlife-bin || die
+
+ exeinto "${dir}"/lib
+ doexe ../lib_release_client/*-linux/lib* || die
+
+ dosym /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf /usr/share/games/secondlife/unicode.ttf
+
+ games_make_wrapper secondlife ./secondlife "${dir}"
+ newicon res/ll_icon.ico secondlife.ico || die
+ make_desktop_entry secondlife "Second Life" secondlife.ico
+
+ dodoc releasenotes.txt
+ newdoc licenses-linux.txt licenses.txt
+ newdoc linux_tools/client-readme.txt README-linux.txt
+
+ dohtml lsl_guide.html
+
+ prepgamesdirs
+}