diff options
Diffstat (limited to 'games-simulation/secondlife')
4 files changed, 400 insertions, 0 deletions
diff --git a/games-simulation/secondlife/Manifest b/games-simulation/secondlife/Manifest index 5338028..a0b7101 100644 --- a/games-simulation/secondlife/Manifest +++ b/games-simulation/secondlife/Manifest @@ -14,15 +14,22 @@ AUX secondlife-1.18.4.0-gentoo.patch 5539 RMD160 b8310f564e85840df2da65795e8db55 MD5 334fe0012829e9345524ce9d21413ee5 files/secondlife-1.18.4.0-gentoo.patch 5539 RMD160 b8310f564e85840df2da65795e8db5513a136765 files/secondlife-1.18.4.0-gentoo.patch 5539 SHA256 f32eabea2f209e66761e5c0f18fa6b607acd4d59cd54fdb0a05c1bdcdefd4b50 files/secondlife-1.18.4.0-gentoo.patch 5539 +AUX secondlife-1.18.4.1_rc-gentoo.patch 6267 RMD160 fa1adc237822deda305d3da61f36fe34a512bf59 SHA1 593dc215682f5dd6d95309b2643a48403ea27042 SHA256 918c8d60f3e872f58258db9afdbba3794dd2d85571bbeeab614fbe10884c8d2a +MD5 65812b1276c5a46abcd585b6146bad2b files/secondlife-1.18.4.1_rc-gentoo.patch 6267 +RMD160 fa1adc237822deda305d3da61f36fe34a512bf59 files/secondlife-1.18.4.1_rc-gentoo.patch 6267 +SHA256 918c8d60f3e872f58258db9afdbba3794dd2d85571bbeeab614fbe10884c8d2a files/secondlife-1.18.4.1_rc-gentoo.patch 6267 DIST slviewer-artwork-1.18.2.0.zip 24702596 RMD160 aafc1966cb5c1ee7fbfda935efe29f37dbeef749 SHA1 d5ab2cfe7e1a1e7b0ef40f0e7e3095553757f7b0 SHA256 327fe454b2f6a596aa9d6446a827323f4800c62bcc7623010a2e880e23124ad7 DIST slviewer-artwork-RC-1.18.3.5.zip 24659237 RMD160 019766a92a70f6a306300ca855f4dae2e9c9e268 SHA1 d865a7804c172dfd10cc1e561aa29e154462fc7a SHA256 829f66f523b2edae0054786d037bb16ba3d7f8fbecdd54a33d495ec54e28e4f1 DIST slviewer-artwork-RC-1.18.4.0.zip 24602698 RMD160 5bbc5cfeeea74359251d071c0b22bee1c076d43d SHA1 65338cceff9f1a762ed1df334bfdede40bc74834 SHA256 edca90798fde3f1472641be2b7a82f922773d7a5d7ef0e1de1d341994b6bac65 +DIST slviewer-artwork-RC-1.18.4.1.zip 24602698 RMD160 9953e98943535cc15c66c6483e44b96c659e8f8b SHA1 4e0e245b17bbb72ccd2c5edac2e41887ac43d2ae SHA256 7ba892e4e594650275a151960ff826ff9e6d692acae40f9b10533130df4f07b5 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.5.tar.gz 30624812 RMD160 b54f41ab6b9532af305c74ca6a1769ea92211053 SHA1 71a35a549fa8006a9050deec9f1c01e8faae13f2 SHA256 a93add097ca50a9a55836b236e24fd40fd90448ff55edddc1f45b6b2a55e7f7f DIST slviewer-linux-libs-RC-1.18.4.0.tar.gz 31170227 RMD160 1e51dc2114e30d94f217ef56c8a04b11631ec46a SHA1 bd326a4ef35bded6c6fa1c79ab8fc2d421853693 SHA256 b3ec656453586c40c308eef9506a78284a792f883ad50df1b778aa313d3f9aa8 +DIST slviewer-linux-libs-RC-1.18.4.1.tar.gz 31164613 RMD160 74dcc0f302ed7ce77e4fb8072eab8f770e6f1a6b SHA1 f94ea8aa50c608392f1eb732dbb435882f4e65ad SHA256 239a209e7fb9da313ffef43af28c12d4aa57aaf1f67477556756e40f1bc1a7fb DIST slviewer-src-1.18.2.0.tar.gz 5403670 RMD160 370a5a6822f93095d81e109d6c3eb918a70817b8 SHA1 1693566a0f39b5d6d94b417de746b6d19899f72e SHA256 3b0f39315f6dade48d8020326dc2c51466bcade4d753a8c0b266586ac93f271d DIST slviewer-src-RC-1.18.3.5.tar.gz 5421257 RMD160 83507a8ebe5dcf14fc80fea21e9f157a570b87cb SHA1 f58a288438eaccd7545f4a73f5e3982730b9552c SHA256 125063329f543d244697dd38f2e5d54b85f1e61eaa90c89adaa34e3ae544eeb7 DIST slviewer-src-RC-1.18.4.0.tar.gz 5597690 RMD160 0fbd4e8e30382199846667fde6805b7f24caf077 SHA1 72af9028efada48d5897f0cb8666c1693769595b SHA256 912be161c0e7e06b49796e5dcd6e303ff2cdd95e31f7fc8d9c2e81b7afb74a03 +DIST slviewer-src-RC-1.18.4.1.tar.gz 5476437 RMD160 b6dc635a65db397c5a2ab774bcc87a508452b1b9 SHA1 b85e2085cb65f77eae1cf94ac3f24a520b98e7ea SHA256 f065c16eebe80f8833a9066437758a8e1e7b5f3696c9a0196d7b489b3dc82ccf 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 @@ -35,6 +42,10 @@ EBUILD secondlife-1.18.4.0.ebuild 4851 RMD160 6a98b88dfa6770ffed732b9ad935b66a7b MD5 3ffaaeb732d05493cd4ae0b9ee0e51b8 secondlife-1.18.4.0.ebuild 4851 RMD160 6a98b88dfa6770ffed732b9ad935b66a7bdf97ab secondlife-1.18.4.0.ebuild 4851 SHA256 7c302918b9ecd32a8c201858312f5325b09978ab3f182ec34de1d23934256cf9 secondlife-1.18.4.0.ebuild 4851 +EBUILD secondlife-1.18.4.1_rc.ebuild 4939 RMD160 2f84483e5639007e05f07cfcadc38cad9537f79a SHA1 a85cf217f20c124569e599878a5ea34b97369146 SHA256 62df8a70071fa78bde8ebe70d1f3f5b9305986726c5745f6185def898e7b7f78 +MD5 4f1cc24f510c4c5535df9e4f094965c4 secondlife-1.18.4.1_rc.ebuild 4939 +RMD160 2f84483e5639007e05f07cfcadc38cad9537f79a secondlife-1.18.4.1_rc.ebuild 4939 +SHA256 62df8a70071fa78bde8ebe70d1f3f5b9305986726c5745f6185def898e7b7f78 secondlife-1.18.4.1_rc.ebuild 4939 MISC ChangeLog 397 RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f SHA1 17e67ab90c2e9e9498546dea1e697fff4757555c SHA256 cfd4bfd6466fb3e1db42817b34283356390a43f1e54f0b8217847a6d78a15dc6 MD5 f098b81a2533118dabb62f9f470dbad1 ChangeLog 397 RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f ChangeLog 397 @@ -52,3 +63,6 @@ SHA256 08c8afa966f886f35d92249481550ce59f25f5dd072e03f6ffab792a12aa4703 files/di MD5 9fa270cda38c7277bfd8386a0ac36ffd files/digest-secondlife-1.18.4.0 861 RMD160 00500df5ee09f76a03ec2e0c3be688370cfee8db files/digest-secondlife-1.18.4.0 861 SHA256 5495f75ac7bc14669aa6fe297e3ca5227d125ca71b11746c945c9298a81498bd files/digest-secondlife-1.18.4.0 861 +MD5 365617498f0938fb151de278b90c3c1b files/digest-secondlife-1.18.4.1_rc 861 +RMD160 25dc2d677a37632656762bce0447ffe725941987 files/digest-secondlife-1.18.4.1_rc 861 +SHA256 e5b94da65c4b571a207077d48c6bc711ec8b94421f90d45f955f5b36015d38b1 files/digest-secondlife-1.18.4.1_rc 861 diff --git a/games-simulation/secondlife/files/digest-secondlife-1.18.4.1_rc b/games-simulation/secondlife/files/digest-secondlife-1.18.4.1_rc new file mode 100644 index 0000000..74d3e25 --- /dev/null +++ b/games-simulation/secondlife/files/digest-secondlife-1.18.4.1_rc @@ -0,0 +1,9 @@ +MD5 ec0f2fb5da4cd800b46d841e046c2e52 slviewer-artwork-RC-1.18.4.1.zip 24602698 +RMD160 9953e98943535cc15c66c6483e44b96c659e8f8b slviewer-artwork-RC-1.18.4.1.zip 24602698 +SHA256 7ba892e4e594650275a151960ff826ff9e6d692acae40f9b10533130df4f07b5 slviewer-artwork-RC-1.18.4.1.zip 24602698 +MD5 62ff8c503050b52ff8b30225d43c3858 slviewer-linux-libs-RC-1.18.4.1.tar.gz 31164613 +RMD160 74dcc0f302ed7ce77e4fb8072eab8f770e6f1a6b slviewer-linux-libs-RC-1.18.4.1.tar.gz 31164613 +SHA256 239a209e7fb9da313ffef43af28c12d4aa57aaf1f67477556756e40f1bc1a7fb slviewer-linux-libs-RC-1.18.4.1.tar.gz 31164613 +MD5 0f63662bfd5104d65e25aedbb3678de0 slviewer-src-RC-1.18.4.1.tar.gz 5476437 +RMD160 b6dc635a65db397c5a2ab774bcc87a508452b1b9 slviewer-src-RC-1.18.4.1.tar.gz 5476437 +SHA256 f065c16eebe80f8833a9066437758a8e1e7b5f3696c9a0196d7b489b3dc82ccf slviewer-src-RC-1.18.4.1.tar.gz 5476437 diff --git a/games-simulation/secondlife/files/secondlife-1.18.4.1_rc-gentoo.patch b/games-simulation/secondlife/files/secondlife-1.18.4.1_rc-gentoo.patch new file mode 100644 index 0000000..833d53e --- /dev/null +++ b/games-simulation/secondlife/files/secondlife-1.18.4.1_rc-gentoo.patch @@ -0,0 +1,178 @@ +diff -Naur linden.orig/indra/SConstruct linden/indra/SConstruct +--- linden.orig/indra/SConstruct 2007-10-30 06:12:46.000000000 +0900 ++++ linden/indra/SConstruct 2007-11-03 09:36:53.000000000 +0900 +@@ -112,7 +112,7 @@ + channel = optenv['CHANNEL'] + standalone = optenv['STANDALONE'] + opensource = standalone or optenv['OPENSOURCE'] +-enable_fmod = not opensource and optenv['FMOD'] ++enable_fmod = optenv['FMOD'] + elfio = optenv['ELFIO'] + + targets = [ target_param ] +@@ -135,6 +135,7 @@ + 'gdk-pixbuf-2.0', + 'glib-2.0', + 'gmodule-2.0', ++ 'gthread-2.0', + 'gtk+-2.0', + 'libpng', + 'pango', +@@ -155,6 +156,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 +@@ -602,7 +606,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': +@@ -742,7 +746,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-10-30 06:12:46.000000000 +0900 ++++ linden/indra/llimagej2coj/llimagej2coj.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -33,7 +33,7 @@ + #include "llimagej2coj.h" + + // this is defined so that we get static linking. +-#include "openjpeg/openjpeg.h" ++#include "openjpeg.h" + + #include "lltimer.h" + #include "llmemory.h" +diff -Naur linden.orig/indra/llmath/llquaternion.cpp linden/indra/llmath/llquaternion.cpp +--- linden.orig/indra/llmath/llquaternion.cpp 2007-10-30 06:12:46.000000000 +0900 ++++ linden/indra/llmath/llquaternion.cpp 2007-11-03 09:47:50.000000000 +0900 +@@ -698,22 +698,22 @@ + { + default: + case LLQuaternion::XYZ: +- p = "XYZ"; ++ strcpy(p, "XYZ"); + break; + case LLQuaternion::YZX: +- p = "YZX"; ++ strcpy(p, "YZX"); + break; + case LLQuaternion::ZXY: +- p = "ZXY"; ++ strcpy(p, "ZXY"); + break; + case LLQuaternion::XZY: +- p = "XZY"; ++ strcpy(p, "XZY"); + break; + case LLQuaternion::YXZ: +- p = "YXZ"; ++ strcpy(p, "YXZ"); + break; + case LLQuaternion::ZYX: +- p = "ZYX"; ++ strcpy(p, "ZYX"); + break; + } + return p; +diff -Naur linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp linden/indra/llmessage/llfiltersd2xmlrpc.cpp +--- linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp 2007-10-30 06:12:46.000000000 +0900 ++++ linden/indra/llmessage/llfiltersd2xmlrpc.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -80,7 +80,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/llwindow/llgl.cpp linden/indra/llwindow/llgl.cpp +--- linden.orig/indra/llwindow/llgl.cpp 2007-10-30 06:12:47.000000000 +0900 ++++ linden/indra/llwindow/llgl.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -64,7 +64,7 @@ + # include "GL/glxext.h" + // Use glXGetProcAddressARB instead of glXGetProcAddress - the ARB symbol + // is considered 'legacy' but works on more machines. +-# define GLH_EXT_GET_PROC_ADDRESS(p) glXGetProcAddressARB((const GLubyte*)(p)) ++# define GLH_EXT_GET_PROC_ADDRESS(p) glXGetProcAddress((const GLubyte*)(p)) + #endif // LL_LINUX && !LL_MESA_HEADLESS + + +diff -Naur linden.orig/indra/newview/llfloaterhtml.cpp linden/indra/newview/llfloaterhtml.cpp +--- linden.orig/indra/newview/llfloaterhtml.cpp 2007-10-30 06:12:51.000000000 +0900 ++++ linden/indra/newview/llfloaterhtml.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -228,7 +228,9 @@ + // static + void LLFloaterHtml::onCommitUrlEdit(LLUICtrl* ctrl, void* user_data) + { ++#if LL_LIBXUL_ENABLED + LLFloaterHtml* self = (LLFloaterHtml*)user_data; ++#endif + + LLLineEditor* editor = (LLLineEditor*)ctrl; + std::string url = editor->getText(); +diff -Naur linden.orig/indra/newview/llurldispatcher.cpp linden/indra/newview/llurldispatcher.cpp +--- linden.orig/indra/newview/llurldispatcher.cpp 2007-10-30 06:12:51.000000000 +0900 ++++ linden/indra/newview/llurldispatcher.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -151,7 +151,9 @@ + { + if (matchPrefix(url, SLURL_SL_HELP_PREFIX)) + { ++#if LL_LIBXUL_ENABLED + gViewerHtmlHelp.show(); ++#endif // LL_LIBXUL_ENABLED + return true; + } + return false; +diff -Naur linden.orig/indra/newview/lluserauth.cpp linden/indra/newview/lluserauth.cpp +--- linden.orig/indra/newview/lluserauth.cpp 2007-10-30 06:12:51.000000000 +0900 ++++ linden/indra/newview/lluserauth.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -45,7 +45,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-10-30 06:12:51.000000000 +0900 ++++ linden/indra/newview/llvoiceclient.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -39,7 +39,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/llxmlrpctransaction.cpp linden/indra/newview/llxmlrpctransaction.cpp +--- linden.orig/indra/newview/llxmlrpctransaction.cpp 2007-10-30 06:12:51.000000000 +0900 ++++ linden/indra/newview/llxmlrpctransaction.cpp 2007-11-03 09:36:53.000000000 +0900 +@@ -37,7 +37,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.4.1_rc.ebuild b/games-simulation/secondlife/secondlife-1.18.4.1_rc.ebuild new file mode 100644 index 0000000..9720dd7 --- /dev/null +++ b/games-simulation/secondlife/secondlife-1.18.4.1_rc.ebuild @@ -0,0 +1,199 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit games toolchain-funcs + +MY_PV="${PV/*_rc/RC-${PV/_rc}}" +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/10/slviewer-src-${MY_PV}.tar.gz + http://secondlife.com/developers/opensource/downloads/2007/10/slviewer-artwork-${MY_PV}.zip + http://secondlife.com/developers/opensource/downloads/2007/10/slviewer-linux-libs-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug elfio fmod gstreamer" +#IUSE="debug elfio fmod gstreamer kdu mozlib" +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 + net-dns/c-ares + gstreamer? ( >=media-libs/gstreamer-0.10 ) + debug? ( dev-libs/google-perftools )" +# mozlib? ( 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}" + +pkg_config() { + if [ "${ARCH}" != "x86" ] ; then + if use fmod ; then + ewarn "fmod USE flag is only available on x86." + fi +# if use kdu ; then +# ewarn "kdu USE flag is only available on x86." +# fi +# if use mozlib ; then +# ewarn "mozlib USE flag is only available on x86." +# fi + fi +} + +src_unpack() { + # unpack font files + unpack slviewer-linux-libs-${MY_PV}.tar.gz + +# if use kdu ; then +# find linden/libraries -type f -a ! -name '*kdu*' | xargs rm -f || die +# else + rm -rf linden/libraries +# fi + +# if ! use mozlib ; then + rm -rf linden/indra/newview/app_settings +# fi + + unpack slviewer-src-${MY_PV}.tar.gz + unpack slviewer-artwork-${MY_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)'|" \ + -e "/_cflags =/s|-O2|${CFLAGS}|" \ + -e "/_cxxflags =/s|-O2|${CXXFLAGS}|" \ + "${S}"/SConstruct || die + + # "${S}"/newview/viewer_manifest.py + #touch "${S}"/newview/gridargs.dat + echo '-settings settings_default.xml -channel "Second Life default"' > "${S}"/newview/gridargs.dat +} + +src_compile() { + local myarch + local myopts="BUILD=release BTARGET=client DISTCC=no" + + 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 + + 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 [ "${ARCH}" == "x86" ] ; then + if use fmod; then + myopts="${myopts} FMOD=yes OPENSOURCE=no" + else + myopts="${myopts} FMOD=no OPENSOURCE=yes" + fi + +# if use mozlib ; then +# myopts="${myopts} MOZLIB=yes STANDALONE=no" +# else + myopts="${myopts} MOZLIB=no STANDALONE=yes" +# fi + else + myopts="${myopts} FMOD=no MOZLIB=no STANDALONE=yes OPENSOURCE=yes" + fi + + 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_*_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 +} |