summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-08-31 15:16:20 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-08-31 15:16:20 +0000
commitb808df313c70e1ab86124c80cca5ec86096e42b7 (patch)
tree9956bc01616352e6c69c267f46e1ff5cf9e6668b /games-simulation
parentFixed ditto. (diff)
downloadsecondlife-b808df313c70e1ab86124c80cca5ec86096e42b7.tar.gz
secondlife-b808df313c70e1ab86124c80cca5ec86096e42b7.tar.bz2
secondlife-b808df313c70e1ab86124c80cca5ec86096e42b7.zip
Version bumped.
svn path=/secondlife/; revision=27
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/secondlife/Manifest14
-rw-r--r--games-simulation/secondlife/files/digest-secondlife-1.18.3.29
-rw-r--r--games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch113
-rw-r--r--games-simulation/secondlife/secondlife-1.18.3.2.ebuild166
4 files changed, 302 insertions, 0 deletions
diff --git a/games-simulation/secondlife/Manifest b/games-simulation/secondlife/Manifest
index d747924..5a3d73f 100644
--- a/games-simulation/secondlife/Manifest
+++ b/games-simulation/secondlife/Manifest
@@ -14,6 +14,10 @@ AUX secondlife-1.18.1.2-gentoo.patch 4288 RMD160 cc8bc29b2d4ce513dcac4d9713ba2a6
MD5 fc232481ddbfd4b3cb4924d7dc3bb5c6 files/secondlife-1.18.1.2-gentoo.patch 4288
RMD160 cc8bc29b2d4ce513dcac4d9713ba2a6edbf2fb69 files/secondlife-1.18.1.2-gentoo.patch 4288
SHA256 1ccfbb9b310dc75a630e9c9cf9e9c3a8cc1ee07f225e68bb0c3fe60905731a44 files/secondlife-1.18.1.2-gentoo.patch 4288
+AUX secondlife-1.18.3.2-gentoo.patch 4347 RMD160 b35f3ffc2e785e27ea7fd942a42d5fbddeca5917 SHA1 1538e4bbcf6fbe08b7a65bf28e7afe206bb0c4a9 SHA256 8c37bc7c30852c771bd32137323249785242c486029b344d7296c965138075d7
+MD5 e1037e69249d6cd9e01810e76408edb3 files/secondlife-1.18.3.2-gentoo.patch 4347
+RMD160 b35f3ffc2e785e27ea7fd942a42d5fbddeca5917 files/secondlife-1.18.3.2-gentoo.patch 4347
+SHA256 8c37bc7c30852c771bd32137323249785242c486029b344d7296c965138075d7 files/secondlife-1.18.3.2-gentoo.patch 4347
AUX slviewer-1.17.3.0-libresolv.patch 1206 RMD160 f7f54cee6797b8109f4b9c64164491ed85538b5e SHA1 85d53019e2fdd62928b3b3b3d6e99023cbd443bf SHA256 f6f653a57f5c7e4adbad54c8632cbe6b56ed784aaa3d0f5b4c5f70b860b9448f
MD5 d16ff2c87ed527e4680ea1ff1e811fb3 files/slviewer-1.17.3.0-libresolv.patch 1206
RMD160 f7f54cee6797b8109f4b9c64164491ed85538b5e files/slviewer-1.17.3.0-libresolv.patch 1206
@@ -22,14 +26,17 @@ DIST slviewer-artwork-1.17.3.0.zip 24679565 RMD160 55bee38147f53bd8560b94869518e
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-artwork-RC-1.18.3.2.zip 24659237 RMD160 8d8c14b00b6423351c2c04dc411c95240e2ba812 SHA1 d1b32b465d9660a0e2650fbe07842781b20063d5 SHA256 5690718f71c3e491b3dcda23c0c6a215e215c1b32111354650ee2f01503f77f7
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-linux-libs-RC-1.18.3.2.tar.gz 30573308 RMD160 03761ef5dcf20ea53bc25b961ecf274a03938d59 SHA1 78c1fad6540886e6fb247081d3ce5dd91a231b6d SHA256 c5acbbb5cccc67ec2eaded94f3c2cb827d27574fc843da13a256e1c4b12bda43
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
+DIST slviewer-src-RC-1.18.3.2.tar.gz 5420088 RMD160 41be8c7c7b8891c22abb9928d3576eba220f2699 SHA1 0e176298f45baffee49e33c9684ed065a3d1a01f SHA256 6c86c955a01644cbb9b53ee0c54db753491d2e01f8d054552ba8feffc65c3685
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
@@ -46,6 +53,10 @@ EBUILD secondlife-1.18.2.0.ebuild 4165 RMD160 87d0dc42f99db1b8a2cc1b42f3e58c1082
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
+EBUILD secondlife-1.18.3.2.ebuild 4173 RMD160 49544cd5006072a7b961e06cb418237cd8644825 SHA1 6560a99d17053bf6f240f581a2c9b0ab3875716c SHA256 e0ed61e547f827a77f521520ea30281ff66ea1c5a356eb41b90068fa3451a1a3
+MD5 51bd91eb7746b88a8cba92276b390747 secondlife-1.18.3.2.ebuild 4173
+RMD160 49544cd5006072a7b961e06cb418237cd8644825 secondlife-1.18.3.2.ebuild 4173
+SHA256 e0ed61e547f827a77f521520ea30281ff66ea1c5a356eb41b90068fa3451a1a3 secondlife-1.18.3.2.ebuild 4173
MISC ChangeLog 397 RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f SHA1 17e67ab90c2e9e9498546dea1e697fff4757555c SHA256 cfd4bfd6466fb3e1db42817b34283356390a43f1e54f0b8217847a6d78a15dc6
MD5 f098b81a2533118dabb62f9f470dbad1 ChangeLog 397
RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f ChangeLog 397
@@ -66,3 +77,6 @@ SHA256 0a252f65bb035a26de50dd4ea51ee38922ef263f514a8d3be2c4ea9975788d51 files/di
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
+MD5 40069c4a54c00be7bf2c5736c2f5d7f9 files/digest-secondlife-1.18.3.2 861
+RMD160 9d8bda5291e9ef4b37ebab7862e212790e550f98 files/digest-secondlife-1.18.3.2 861
+SHA256 7a301b01ebcd9e0d78a39e2968c5ffacfc11c6e48892c751e7d3fc94b14a0f1e files/digest-secondlife-1.18.3.2 861
diff --git a/games-simulation/secondlife/files/digest-secondlife-1.18.3.2 b/games-simulation/secondlife/files/digest-secondlife-1.18.3.2
new file mode 100644
index 0000000..21a6c57
--- /dev/null
+++ b/games-simulation/secondlife/files/digest-secondlife-1.18.3.2
@@ -0,0 +1,9 @@
+MD5 32aa84e205204d6d8ea18817a19b75e6 slviewer-artwork-RC-1.18.3.2.zip 24659237
+RMD160 8d8c14b00b6423351c2c04dc411c95240e2ba812 slviewer-artwork-RC-1.18.3.2.zip 24659237
+SHA256 5690718f71c3e491b3dcda23c0c6a215e215c1b32111354650ee2f01503f77f7 slviewer-artwork-RC-1.18.3.2.zip 24659237
+MD5 ec286febaa51c7f90d530324baed50a1 slviewer-linux-libs-RC-1.18.3.2.tar.gz 30573308
+RMD160 03761ef5dcf20ea53bc25b961ecf274a03938d59 slviewer-linux-libs-RC-1.18.3.2.tar.gz 30573308
+SHA256 c5acbbb5cccc67ec2eaded94f3c2cb827d27574fc843da13a256e1c4b12bda43 slviewer-linux-libs-RC-1.18.3.2.tar.gz 30573308
+MD5 426a25b2635b547a53bfed0f4576c8f4 slviewer-src-RC-1.18.3.2.tar.gz 5420088
+RMD160 41be8c7c7b8891c22abb9928d3576eba220f2699 slviewer-src-RC-1.18.3.2.tar.gz 5420088
+SHA256 6c86c955a01644cbb9b53ee0c54db753491d2e01f8d054552ba8feffc65c3685 slviewer-src-RC-1.18.3.2.tar.gz 5420088
diff --git a/games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch b/games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch
new file mode 100644
index 0000000..42fe3b4
--- /dev/null
+++ b/games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch
@@ -0,0 +1,113 @@
+diff -Naur linden.orig/indra/SConstruct linden/indra/SConstruct
+--- linden.orig/indra/SConstruct 2007-08-30 06:10:39.000000000 +0900
++++ linden/indra/SConstruct 2007-08-31 23:37:53.000000000 +0900
+@@ -154,6 +154,9 @@
+ 'libssl',
+ ]
+
++if enable_gstreamer:
++ standalone_pkgs += [ 'gstreamer-0.10' ]
++
+ def pkgconfig(opt, pkgs=None):
+ if pkgs is None:
+ pkgs = standalone_pkgs + standalone_net_pkgs
+@@ -610,7 +613,7 @@
+ net_external_libs = [ 'curl', 'ssl', 'crypto', 'aprutil-1', 'apr-1' ]
+ net_external_libs += [ 'cares', 'expat' ]
+
+- common_external_libs = net_external_libs + [ 'xmlrpc-epi', 'z' ]
++ common_external_libs = net_external_libs + [ 'xmlrpc', 'z' ]
+
+ if build_target == 'client':
+ if platform == 'linux':
+@@ -754,7 +757,7 @@
+ internal_libs + external_libs)
+
+ # Rpcserver
+- external_libs = common_external_libs + ['xmlrpc-epi', 'mysqlclient']
++ external_libs = common_external_libs + ['xmlrpc', 'mysqlclient']
+ internal_libs = ['llscene', 'llmessage', 'lldatabase', 'llvfs',
+ 'llmath', 'llcommon']
+ create_executable('rpcserver/rpcserver' + file_suffix, 'rpcserver',
+diff -Naur linden.orig/indra/llimagej2coj/llimagej2coj.cpp linden/indra/llimagej2coj/llimagej2coj.cpp
+--- linden.orig/indra/llimagej2coj/llimagej2coj.cpp 2007-08-30 06:10:39.000000000 +0900
++++ linden/indra/llimagej2coj/llimagej2coj.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -31,7 +31,7 @@
+
+ // this is defined so that we get static linking.
+ #define OPJ_STATIC
+-#include "openjpeg/openjpeg.h"
++#include "openjpeg.h"
+
+ #include "lltimer.h"
+ #include "llmemory.h"
+diff -Naur linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp linden/indra/llmessage/llfiltersd2xmlrpc.cpp
+--- linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp 2007-08-30 06:10:39.000000000 +0900
++++ linden/indra/llmessage/llfiltersd2xmlrpc.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -77,7 +77,7 @@
+
+ #include <sstream>
+ #include <iterator>
+-#include <xmlrpc-epi/xmlrpc.h>
++#include <xmlrpc.h>
+ #include "apr-1/apr_base64.h"
+
+ #include "llbuffer.h"
+diff -Naur linden.orig/indra/newview/llsrv.cpp linden/indra/newview/llsrv.cpp
+--- linden.orig/indra/newview/llsrv.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llsrv.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -73,6 +73,7 @@
+
+ #include <netdb.h>
+
++#define HOMEGROWN_RESPONSE_PARSER
+ #ifdef HOMEGROWN_RESPONSE_PARSER
+
+ // We ought to be using libresolv's ns_initparse and ns_parserr to
+diff -Naur linden.orig/indra/newview/lluserauth.cpp linden/indra/newview/lluserauth.cpp
+--- linden.orig/indra/newview/lluserauth.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/lluserauth.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -42,7 +42,7 @@
+
+ // NOTE: MUST include these after otherincludes since queue gets redefined!?!!
+ #include <curl/curl.h>
+-#include <xmlrpc-epi/xmlrpc.h>
++#include <xmlrpc.h>
+
+
+
+diff -Naur linden.orig/indra/newview/llvoiceclient.cpp linden/indra/newview/llvoiceclient.cpp
+--- linden.orig/indra/newview/llvoiceclient.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llvoiceclient.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -36,7 +36,7 @@
+ #include "llvoavatar.h"
+ #include "llbufferstream.h"
+ #include "llfile.h"
+-#include "expat/expat.h"
++#include "expat.h"
+ #include "llcallbacklist.h"
+ #include "llviewerregion.h"
+ #include "llviewernetwork.h" // for gUserServerChoice
+diff -Naur linden.orig/indra/newview/llwebbrowserctrl.h linden/indra/newview/llwebbrowserctrl.h
+--- linden.orig/indra/newview/llwebbrowserctrl.h 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llwebbrowserctrl.h 2007-08-31 00:33:42.000000000 +0900
+@@ -92,6 +92,7 @@
+ #include "lldynamictexture.h"
+ #include "llmozlib.h"
+
++class LLUICtrlFactory;
+ class LLViewBorder;
+ class LLWebBrowserTexture;
+
+diff -Naur linden.orig/indra/newview/llxmlrpctransaction.cpp linden/indra/newview/llxmlrpctransaction.cpp
+--- linden.orig/indra/newview/llxmlrpctransaction.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llxmlrpctransaction.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -34,7 +34,7 @@
+
+ // Have to include these last to avoid queue redefinition!
+ #include <curl/curl.h>
+-#include <xmlrpc-epi/xmlrpc.h>
++#include <xmlrpc.h>
+
+ #include "viewer.h"
+
diff --git a/games-simulation/secondlife/secondlife-1.18.3.2.ebuild b/games-simulation/secondlife/secondlife-1.18.3.2.ebuild
new file mode 100644
index 0000000..311637b
--- /dev/null
+++ b/games-simulation/secondlife/secondlife-1.18.3.2.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-RC-${PV}.tar.gz
+ http://secondlife.com/developers/opensource/downloads/2007/08/slviewer-artwork-RC-${PV}.zip
+ http://secondlife.com/developers/opensource/downloads/2007/08/slviewer-linux-libs-RC-${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-RC-${PV}.tar.gz
+ rm -rf linden/libraries
+ rm -rf linden/indra/newview/app_settings
+
+ unpack slviewer-src-RC-${PV}.tar.gz
+ unpack slviewer-artwork-RC-${PV}.zip
+
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-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
+}