summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-07-12 14:45:06 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-07-12 14:45:06 +0000
commitf8d2518fff33a74672ecb07053bf0049e2a904dc (patch)
tree6319b30f8b195c67640d33d265c0db26e88c3460
parentAdded profiles/repo_name. (diff)
downloadsecondlife-f8d2518fff33a74672ecb07053bf0049e2a904dc.tar.gz
secondlife-f8d2518fff33a74672ecb07053bf0049e2a904dc.tar.bz2
secondlife-f8d2518fff33a74672ecb07053bf0049e2a904dc.zip
Version bumped.
svn path=/secondlife/; revision=22
-rw-r--r--games-simulation/secondlife-bin/Manifest8
-rw-r--r--games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.0.63
-rw-r--r--games-simulation/secondlife-bin/secondlife-bin-1.18.0.6.ebuild93
-rw-r--r--games-simulation/secondlife/Manifest10
-rw-r--r--games-simulation/secondlife/files/digest-secondlife-1.18.0.69
-rw-r--r--games-simulation/secondlife/secondlife-1.18.0.6.ebuild163
6 files changed, 286 insertions, 0 deletions
diff --git a/games-simulation/secondlife-bin/Manifest b/games-simulation/secondlife-bin/Manifest
index f126638..2a28f7d 100644
--- a/games-simulation/secondlife-bin/Manifest
+++ b/games-simulation/secondlife-bin/Manifest
@@ -2,6 +2,7 @@ DIST SecondLife_i686_1_17_0_12.tar.bz2 50746305 RMD160 c7efcaec3d407917146c9e48e
DIST SecondLife_i686_1_17_2_0.tar.bz2 50798766 RMD160 c37b5ae5630428a88aebe5fb7ad75033ef8102ef SHA1 e1903541aeb65bf71368d5baa5af7aa2f5747b01 SHA256 1592b1eea978abce5a1796d46bb24d63bb114897165b16ee771a206729212269
DIST SecondLife_i686_1_17_3_0.tar.bz2 51006682 RMD160 6891c73405e416c016a8438a0ce118d1fd3d6e7e SHA1 86d3bc73aae78f8d0a5bb8f667f840c3cfc5ef09 SHA256 386ae8860b2fea641ba46332530a05ce969e80febd863350d29a0dc76268572c
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
EBUILD secondlife-bin-1.17.0.12.ebuild 2209 RMD160 40da5264782b519cfbc27ecc9dd82f9d73157ca4 SHA1 a0c39ed56ac427c9651a8ce316120156fa50ddec SHA256 58275a0f04a26d152e35a25ef5d3ca2d6bbdabcf86a52862d53b4954e24274dc
MD5 6ea67e69f779967ec54abed6af95f2af secondlife-bin-1.17.0.12.ebuild 2209
RMD160 40da5264782b519cfbc27ecc9dd82f9d73157ca4 secondlife-bin-1.17.0.12.ebuild 2209
@@ -18,6 +19,10 @@ EBUILD secondlife-bin-1.17.3.1.ebuild 2176 RMD160 a003c78243970576b15cb09aeeec4b
MD5 f69b96b990c826e828950acce06e9971 secondlife-bin-1.17.3.1.ebuild 2176
RMD160 a003c78243970576b15cb09aeeec4b277af79b48 secondlife-bin-1.17.3.1.ebuild 2176
SHA256 b0f3bd5884c5562be9c00d4c11cde5e852630ad064d7b05d4be79d4cfe98eee4 secondlife-bin-1.17.3.1.ebuild 2176
+EBUILD secondlife-bin-1.18.0.6.ebuild 2176 RMD160 a003c78243970576b15cb09aeeec4b277af79b48 SHA1 e7641eeb247a9f7a4616dc7ec18f51cc1b4d56fe SHA256 b0f3bd5884c5562be9c00d4c11cde5e852630ad064d7b05d4be79d4cfe98eee4
+MD5 f69b96b990c826e828950acce06e9971 secondlife-bin-1.18.0.6.ebuild 2176
+RMD160 a003c78243970576b15cb09aeeec4b277af79b48 secondlife-bin-1.18.0.6.ebuild 2176
+SHA256 b0f3bd5884c5562be9c00d4c11cde5e852630ad064d7b05d4be79d4cfe98eee4 secondlife-bin-1.18.0.6.ebuild 2176
MD5 a7e2c5cf829b42f412fc9754d8e41fe5 files/digest-secondlife-bin-1.17.0.12 286
RMD160 962ee61fa2056dd486a76abff3909aa975244443 files/digest-secondlife-bin-1.17.0.12 286
SHA256 bceda315f6399d0190ccce2f07eb3723e13caa5b298b3f9b38397458cdb596c5 files/digest-secondlife-bin-1.17.0.12 286
@@ -30,3 +35,6 @@ SHA256 88c6fc9be9957e3f4815c42d6c665231a43b97a143cf4b82fc09d718e2d1fda1 files/di
MD5 79c9013c6068f3c47cf3c601de98e062 files/digest-secondlife-bin-1.17.3.1 283
RMD160 e0f6d235391fae225f64443a85c2789f8b7ae468 files/digest-secondlife-bin-1.17.3.1 283
SHA256 14db0a33995fbb0a92bb312d59cd87e11f62e6adb01ad8171734c4e54fc452a7 files/digest-secondlife-bin-1.17.3.1 283
+MD5 fe7050e1d02b05dc30521f9bb5e10d43 files/digest-secondlife-bin-1.18.0.6 283
+RMD160 c99bd9c80b6cff03fd9a1684e534271b2d82115f files/digest-secondlife-bin-1.18.0.6 283
+SHA256 538311cea1d87eb8ac73e3afa9ff76347b092740b3a926ee268e537cad30ce5c files/digest-secondlife-bin-1.18.0.6 283
diff --git a/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.0.6 b/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.0.6
new file mode 100644
index 0000000..4c5d509
--- /dev/null
+++ b/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.0.6
@@ -0,0 +1,3 @@
+MD5 e17bccba964d1e41d4bb62f95b4b953b SecondLife_i686_1_18_0_6.tar.bz2 50551134
+RMD160 488e5b319b396dcb628a68096b542f4a401e4098 SecondLife_i686_1_18_0_6.tar.bz2 50551134
+SHA256 219cdd40c270e09bfc5f7b5e6829788fab4572a42df66e596e83de60cfde4853 SecondLife_i686_1_18_0_6.tar.bz2 50551134
diff --git a/games-simulation/secondlife-bin/secondlife-bin-1.18.0.6.ebuild b/games-simulation/secondlife-bin/secondlife-bin-1.18.0.6.ebuild
new file mode 100644
index 0000000..4108d2b
--- /dev/null
+++ b/games-simulation/secondlife-bin/secondlife-bin-1.18.0.6.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games
+
+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"
+
+dir="${GAMES_PREFIX_OPT}/secondlife"
+QA_EXECSTACK="${dir:1}/bin/do-not-directly-run-secondlife-bin
+ ${dir:1}/lib/libGLU.so.1
+ ${dir:1}/lib/libkdu_v42R.so
+ ${dir:1}/lib/libcrypto.so.0.9.7
+ ${dir:1}/lib/libfmod-3.75.so
+ ${dir:1}/app_settings/mozilla-runtime-linux-i686/libxul.so"
+QA_TEXTRELS="${dir:1}/lib/libfreetype.so.6
+ ${dir:1}/lib/libcrypto.so.0.9.7
+ ${dir:1}/lib/libGLU.so.1
+ ${dir:1}/lib/libkdu_v42R.so
+ ${dir:1}/lib/libfmod-3.75.so
+ ${dir:1}/lib/libelfio.so
+ ${dir:1}/lib/libSDL-1.2.so.0
+ ${dir:1}/lib/libcurl.so.4
+ ${dir:1}/app_settings/mozilla-runtime-linux-i686/libxul.so"
+
+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}
+
+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 e75175b..f762a01 100644
--- a/games-simulation/secondlife/Manifest
+++ b/games-simulation/secondlife/Manifest
@@ -29,12 +29,15 @@ SHA256 f6f653a57f5c7e4adbad54c8632cbe6b56ed784aaa3d0f5b4c5f70b860b9448f files/sl
DIST slviewer-artwork-1.17.0.12.zip 24682087 RMD160 bc0e789608bb7dbde69ed6123ec017c685aa3cd5 SHA1 efcf7825bf76e0af8c572c543487221aa98508fa SHA256 7b7d31a71884d5b116dba57e84ebcea057333ac577edb3fc9d0593c4f886583a
DIST slviewer-artwork-1.17.2.0.zip 24684316 RMD160 f95474667f1286c66e846f0c8326cfee63d1d20a SHA1 4d3a282f1c2c44f8eda7f9a2712cd595d2ef5816 SHA256 32d348a3d294ced0a32607d506b452fd24784529bcf89225a53cb36ae03eb147
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-linux-libs-1.17.0.12.tar.gz 27190078 RMD160 8f2ec0d491a9a1a23e2d4fc63db02a03130b85c8 SHA1 cbe5ba08c41a87764eb06e441fd90520899e4f85 SHA256 b5f2d1a7424b474d8ce3773ac3bf1a5b71e96586017fb653b3364529bff51d61
DIST slviewer-linux-libs-1.17.2.0.tar.gz 28127089 RMD160 6b9de0070f5a950e81e38f56d9c424384dcb9a8c SHA1 823c2441ac418200f2c595eb55fdc1fb6c8344af SHA256 4103ba31f6946c098e08e74c934fbb4e4621e1e644572b9f6655da4e5e0c421f
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-src-1.17.0.12.tar.gz 5171734 RMD160 cb67ad617f0504ad1550a7d0f7578e975365026e SHA1 b0b9ed7e50d100feb25d92dfde7bd00daf7f2bea SHA256 a213ce3b1d027734273ebe434b9cbf4be3e29b3f712d2545fa2e0248b3d5985d
DIST slviewer-src-1.17.2.0.tar.gz 5198005 RMD160 6e5772744811c089e21716b579e707fa1322c149 SHA1 7094cb0adb4550c3e798878fb083bdf5e650689f SHA256 dc5302fc37bec25dca9b47324f8fea6e56aa2b3da3fc30e3a0d4c56719fa0de4
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
EBUILD secondlife-1.17.0.12.ebuild 3478 RMD160 f925775806194dbdd5eb1564820c553f90ae9cb3 SHA1 f6ef60c0674af02235e8b6e803fab97180d8aafa SHA256 0d9952447dc222f8e7e79c0bfb4e6c238423c894d663d606e7bb7ac9e7b95686
MD5 fa3fe5dc83a3acf737e1346a9b28d0ef secondlife-1.17.0.12.ebuild 3478
RMD160 f925775806194dbdd5eb1564820c553f90ae9cb3 secondlife-1.17.0.12.ebuild 3478
@@ -47,6 +50,10 @@ EBUILD secondlife-1.17.3.0.ebuild 4058 RMD160 01bc0a7ee4d2e7911bc5749f7fb901d69d
MD5 7cf3e1b46a8576b224a5724ba0733503 secondlife-1.17.3.0.ebuild 4058
RMD160 01bc0a7ee4d2e7911bc5749f7fb901d69d05416f secondlife-1.17.3.0.ebuild 4058
SHA256 71893aa1d119152cf33951d4db73cc3daa2d4195f9a40cdb475dc7db0c963a7a secondlife-1.17.3.0.ebuild 4058
+EBUILD secondlife-1.18.0.6.ebuild 4113 RMD160 451f7a3da9f9659a1bb8abed336023470a7b0db9 SHA1 6d4f7c669bd993dfe8e894b03a4d6ad419ff975d SHA256 260eef803757563d5689efd4b42df46361354808eb45b198522606907e52813c
+MD5 5a5b04869a38ea7794f05c1b76333b4d secondlife-1.18.0.6.ebuild 4113
+RMD160 451f7a3da9f9659a1bb8abed336023470a7b0db9 secondlife-1.18.0.6.ebuild 4113
+SHA256 260eef803757563d5689efd4b42df46361354808eb45b198522606907e52813c secondlife-1.18.0.6.ebuild 4113
MD5 1c9d76ff25774ead39c892bbeb23a4d6 files/digest-secondlife-1.17.0.12 843
RMD160 b1f442cc3a4bc70da1cf8bd5ded947596f39c252 files/digest-secondlife-1.17.0.12 843
SHA256 decc96dee26f85e9d16c5e13f72aaec2a8ec00005489e402df8d861a5c293381 files/digest-secondlife-1.17.0.12 843
@@ -56,3 +63,6 @@ SHA256 37bccb337ca1b663d96c704eb47ec7543251a9389da4eb66ef89c59f0be7da0d files/di
MD5 85ca87a52e3879028a52ed0545ebb2a7 files/digest-secondlife-1.17.3.0 834
RMD160 bb0da323cb67843519d9596056ab19f9ecb21c18 files/digest-secondlife-1.17.3.0 834
SHA256 74807cb9e15e6a7a0ba7677be9f5d261af45ebfc56e7c0a5303e659fa2dc7b41 files/digest-secondlife-1.17.3.0 834
+MD5 2f7f2309b3279916a17732cb874dbac6 files/digest-secondlife-1.18.0.6 834
+RMD160 75039b8ab3b3ac8a181d803e642d6198dde38fc4 files/digest-secondlife-1.18.0.6 834
+SHA256 e92e26485c34037ba67e15b3a92db572d1fdc3af92a517e46550fa047f397e4f files/digest-secondlife-1.18.0.6 834
diff --git a/games-simulation/secondlife/files/digest-secondlife-1.18.0.6 b/games-simulation/secondlife/files/digest-secondlife-1.18.0.6
new file mode 100644
index 0000000..21c69be
--- /dev/null
+++ b/games-simulation/secondlife/files/digest-secondlife-1.18.0.6
@@ -0,0 +1,9 @@
+MD5 52bf0a68104fcf9824d92d9f29da6233 slviewer-artwork-1.18.0.6.zip 24679565
+RMD160 56b3b61db20462eb24b5c3d025b46ecffaf9fd0a slviewer-artwork-1.18.0.6.zip 24679565
+SHA256 e935958d26f5cd1b2215b150ee0a7be7028c4dc92dafe43b879409718a824c71 slviewer-artwork-1.18.0.6.zip 24679565
+MD5 189f9459934010b9310014bcfedac91a slviewer-linux-libs-1.18.0.6.tar.gz 28594558
+RMD160 228674b0ca4a747e256eae9ef3c81a3266b14dc5 slviewer-linux-libs-1.18.0.6.tar.gz 28594558
+SHA256 0a838e0a2844e655f2eed0f97910d8b90ed8916de137234d77c056d0769c39c8 slviewer-linux-libs-1.18.0.6.tar.gz 28594558
+MD5 ea5b2afa17582ea60ab7d3da156b2be6 slviewer-src-1.18.0.6.tar.gz 5266889
+RMD160 c67394d9617f467ced85b41e301e7185e630f75d slviewer-src-1.18.0.6.tar.gz 5266889
+SHA256 a098099339c9480ba702bf5369deb477e9f5f69fcbc56d405807032e86bf1891 slviewer-src-1.18.0.6.tar.gz 5266889
diff --git a/games-simulation/secondlife/secondlife-1.18.0.6.ebuild b/games-simulation/secondlife/secondlife-1.18.0.6.ebuild
new file mode 100644
index 0000000..102de73
--- /dev/null
+++ b/games-simulation/secondlife/secondlife-1.18.0.6.ebuild
@@ -0,0 +1,163 @@
+# 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/07/slviewer-src-${PV}.tar.gz
+ http://secondlife.com/developers/opensource/downloads/2007/07/slviewer-artwork-${PV}.zip
+ http://secondlife.com/developers/opensource/downloads/2007/07/slviewer-linux-libs-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug elfio fmod"
+#IUSE="debug elfio fmod 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
+ 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.17.2.0-gentoo.patch
+ epatch "${FILESDIR}"/${PN}-1.17.2.0-size_t.patch
+ epatch "${FILESDIR}"/${PN}-1.17.3.0-gcc4.patch
+
+ # VWR-1598
+ epatch "${FILESDIR}"/slviewer-1.17.3.0-libresolv.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 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
+}