diff options
author | 2007-11-10 03:19:45 +0000 | |
---|---|---|
committer | 2007-11-10 03:19:45 +0000 | |
commit | b0814bf799393a5e5ad3d259f18032c859349b76 (patch) | |
tree | cddabb1f1ec65f68cf5c87d42c40e6f9c7f7ea84 | |
parent | Removed -Werror. (diff) | |
download | secondlife-b0814bf799393a5e5ad3d259f18032c859349b76.tar.gz secondlife-b0814bf799393a5e5ad3d259f18032c859349b76.tar.bz2 secondlife-b0814bf799393a5e5ad3d259f18032c859349b76.zip |
Version bumped.
svn path=/secondlife/; revision=34
6 files changed, 320 insertions, 0 deletions
diff --git a/games-simulation/secondlife-bin/Manifest b/games-simulation/secondlife-bin/Manifest index 9c75ce3..20f9427 100644 --- a/games-simulation/secondlife-bin/Manifest +++ b/games-simulation/secondlife-bin/Manifest @@ -1,6 +1,7 @@ DIST SecondLife_i686_1_18_2_1.tar.bz2 51739122 RMD160 e115fb1fcd1958553f3fa2bbaac432b062fccbac SHA1 084750569e436ab33d8c314a88b79e3ef50e68aa SHA256 cef1d151da08125c1ba95d6a18f07d9553f9eb408d8c26bac4f1f1874f13f7e8 DIST SecondLife_i686_1_18_3_5.tar.bz2 52119522 RMD160 977481ea909bebe1518638622d08683fb174e2cb SHA1 1c069c945c1230731ecb093b7d8af5d859c315f4 SHA256 f1cfea85f4ae174d2e14de319ca8fd09b92390282aa001b27e8942b1d4defae1 DIST SecondLife_i686_1_18_4_1_RELEASECANDIDATE.tar.bz2 51464309 RMD160 ea38f1963d5e0a8ff7ee3013918223877fd6e0f4 SHA1 034824622c3a85f0db45196ffecc42cfcd4e9494 SHA256 59c5a08b22626cf8e7fef1c5bade28794ca059f9e5672aad3b5ff11b4caa325d +DIST SecondLife_i686_1_18_4_3.tar.bz2 51218262 RMD160 1080e935c7280f0c06714e7dae26fd29f2f03b3d SHA1 a1d13e9df72e5591cb4942b2ba7893988cf84fae SHA256 866ff7b9e9420af8b33fe14324eef20201e002faf9e030cb15621f901538f59c EBUILD secondlife-bin-1.18.2.1.ebuild 2164 RMD160 eed34b0d35598ed54854c010b096dad00a1108e5 SHA1 1905c7b5fc1956763bb51daca6f8b94611df37f6 SHA256 d54891c000439abbe9daff652f798d55148a6e28bd46c092543d48dd7eafe351 MD5 343ea05a44aa8e8400a9a8c97e517c8e secondlife-bin-1.18.2.1.ebuild 2164 RMD160 eed34b0d35598ed54854c010b096dad00a1108e5 secondlife-bin-1.18.2.1.ebuild 2164 @@ -13,6 +14,10 @@ EBUILD secondlife-bin-1.18.4.1.ebuild 2332 RMD160 5c7c90a6bf489dd70db090739b27f3 MD5 597427aae707a7c0a104d3f0068c52f4 secondlife-bin-1.18.4.1.ebuild 2332 RMD160 5c7c90a6bf489dd70db090739b27f3d3d008b4b2 secondlife-bin-1.18.4.1.ebuild 2332 SHA256 d1dc191c368789621c897fc07f363dd270c5d59c25b5247cffd3487f2deca51e secondlife-bin-1.18.4.1.ebuild 2332 +EBUILD secondlife-bin-1.18.4.3.ebuild 2100 RMD160 724bdf18ef6ce91613ea60e1532d4fb2a7f15588 SHA1 8ba38121edd4219c2ecd5ab722a401fff647fec0 SHA256 46f675ee9350ff78195c5e7cc08e210b286ef81af2c7c9a1fe6216eb52b7d81a +MD5 78a3af0df82189e927d18376b09e10f9 secondlife-bin-1.18.4.3.ebuild 2100 +RMD160 724bdf18ef6ce91613ea60e1532d4fb2a7f15588 secondlife-bin-1.18.4.3.ebuild 2100 +SHA256 46f675ee9350ff78195c5e7cc08e210b286ef81af2c7c9a1fe6216eb52b7d81a secondlife-bin-1.18.4.3.ebuild 2100 MISC ChangeLog 457 RMD160 b57b0371abc68a6cda6cd3855c1b0adf3ab8b507 SHA1 cbcdf207786d28e71441ce69f8807d61152cadb9 SHA256 74770379d39e8e37e4be5806ccd01a6dac28b336a868a2161ba3823297ba06f4 MD5 eebdc477c8efa6d2a0e27360390b7146 ChangeLog 457 RMD160 b57b0371abc68a6cda6cd3855c1b0adf3ab8b507 ChangeLog 457 @@ -30,3 +35,6 @@ SHA256 4a82bba2208cfe8e25e98dadcd00f1c00ef1ed7dec4ff1196388d0abeaaa5d66 files/di MD5 a5563e5862b0c7dff04c5933cdebc3cc files/digest-secondlife-bin-1.18.4.1 334 RMD160 89b502840a6e0df481111970bb157f2bd523de2e files/digest-secondlife-bin-1.18.4.1 334 SHA256 8920628edb45583a88f71f934c4a7ad261f7e61a02e146f68b1c6710ae57eeb8 files/digest-secondlife-bin-1.18.4.1 334 +MD5 a70395825f5498faf2c12fdf800b65a3 files/digest-secondlife-bin-1.18.4.3 283 +RMD160 5ca2ff7b790ac352e628052032d5b4cabbee3a94 files/digest-secondlife-bin-1.18.4.3 283 +SHA256 ed13eb575f5c600913c0cee7eae26811157b4ec1112e922ff2c9b21b20b8ad83 files/digest-secondlife-bin-1.18.4.3 283 diff --git a/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.4.3 b/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.4.3 new file mode 100644 index 0000000..e0f248a --- /dev/null +++ b/games-simulation/secondlife-bin/files/digest-secondlife-bin-1.18.4.3 @@ -0,0 +1,3 @@ +MD5 4dbd6324c5d5e161f309306ad8a1a747 SecondLife_i686_1_18_4_3.tar.bz2 51218262 +RMD160 1080e935c7280f0c06714e7dae26fd29f2f03b3d SecondLife_i686_1_18_4_3.tar.bz2 51218262 +SHA256 866ff7b9e9420af8b33fe14324eef20201e002faf9e030cb15621f901538f59c SecondLife_i686_1_18_4_3.tar.bz2 51218262 diff --git a/games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild b/games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild new file mode 100644 index 0000000..1836922 --- /dev/null +++ b/games-simulation/secondlife-bin/secondlife-bin-1.18.4.3.ebuild @@ -0,0 +1,92 @@ +# 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}/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 +} diff --git a/games-simulation/secondlife/Manifest b/games-simulation/secondlife/Manifest index 4f201b4..683391a 100644 --- a/games-simulation/secondlife/Manifest +++ b/games-simulation/secondlife/Manifest @@ -17,12 +17,15 @@ SHA256 82ff8b167f005c2c4c952a278505dea2732b51837a12bbe30d0bec4d39d9e47e files/se DIST gtk-20071105.tar.bz2 32328 RMD160 df04128daabce1c77ab6b8401244be30182a9396 SHA1 6847d7d3942d7ae5f4d3fab047b7ccd78e9e02fc SHA256 ea40778eadee645272164dd619318291064155dc05a38361e56880a18d528511 DIST ime-20070909.patch 92248 RMD160 b1d4992f9bf3b2780c193627af2fe6b7cc7ee690 SHA1 036c7ada1a42580733f2e01ac21a3bda2106d7b4 SHA256 14a9570e9b45f509b0700f07abbe1e8f6774cc270fcc79496cd0d0b1e5efc0da DIST slviewer-artwork-1.18.2.0.zip 24702596 RMD160 aafc1966cb5c1ee7fbfda935efe29f37dbeef749 SHA1 d5ab2cfe7e1a1e7b0ef40f0e7e3095553757f7b0 SHA256 327fe454b2f6a596aa9d6446a827323f4800c62bcc7623010a2e880e23124ad7 +DIST slviewer-artwork-1.18.4.3.zip 24602698 RMD160 415f87ac6b5d957e9d1a202e8db255a9286b9f3a SHA1 f2358bf88f5f1a3efd54f06c0fe96edcaddb022e SHA256 5f64891d40d727b5382a667bd4799bea6596e5261dca7124036c231b753912d7 DIST slviewer-artwork-RC-1.18.3.5.zip 24659237 RMD160 019766a92a70f6a306300ca855f4dae2e9c9e268 SHA1 d865a7804c172dfd10cc1e561aa29e154462fc7a SHA256 829f66f523b2edae0054786d037bb16ba3d7f8fbecdd54a33d495ec54e28e4f1 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-1.18.4.3.tar.gz 31116177 RMD160 cd9c1e00ce58ffe8cc2002d4a43533040d34884d SHA1 830496f5654c4269accd61bcebfc867f68d9e262 SHA256 69c6894f7d1c0ee9a0597efee23501c91c4776146bfc7970f9c325548948ca66 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.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-1.18.4.3.tar.gz 5487090 RMD160 7568000e643b1f8fa2052d0cc7aff08be7272051 SHA1 38136e643ab66122ec602105adeea311f716964e SHA256 42147006c877be401134ff444f2627824179d42ad5358789929a9d73d0483666 DIST slviewer-src-RC-1.18.3.5.tar.gz 5421257 RMD160 83507a8ebe5dcf14fc80fea21e9f157a570b87cb SHA1 f58a288438eaccd7545f4a73f5e3982730b9552c SHA256 125063329f543d244697dd38f2e5d54b85f1e61eaa90c89adaa34e3ae544eeb7 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 @@ -37,6 +40,10 @@ EBUILD secondlife-1.18.4.1_rc.ebuild 4946 RMD160 8c4e6904796dab7bcdab8f83ad90e2a MD5 7721cd4852370ec893717a6e9fd12991 secondlife-1.18.4.1_rc.ebuild 4946 RMD160 8c4e6904796dab7bcdab8f83ad90e2a06c673859 secondlife-1.18.4.1_rc.ebuild 4946 SHA256 1ebad99fff1d27afcca451e769fcbe06349fc4246f37f83126e56a5495ec0387 secondlife-1.18.4.1_rc.ebuild 4946 +EBUILD secondlife-1.18.4.3.ebuild 4858 RMD160 738edb53d1ad35718a11ee648ca6f5bc8a6a77c1 SHA1 9ef103f67fc08f17293c8c43812f543f7c099f9c SHA256 4c561d56ef4b19ad9ba0871e88e38c443c40d7a58fa064e4125b0e29f408f1d4 +MD5 4f345e0368e315bfbfec09cc07062a63 secondlife-1.18.4.3.ebuild 4858 +RMD160 738edb53d1ad35718a11ee648ca6f5bc8a6a77c1 secondlife-1.18.4.3.ebuild 4858 +SHA256 4c561d56ef4b19ad9ba0871e88e38c443c40d7a58fa064e4125b0e29f408f1d4 secondlife-1.18.4.3.ebuild 4858 MISC ChangeLog 397 RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f SHA1 17e67ab90c2e9e9498546dea1e697fff4757555c SHA256 cfd4bfd6466fb3e1db42817b34283356390a43f1e54f0b8217847a6d78a15dc6 MD5 f098b81a2533118dabb62f9f470dbad1 ChangeLog 397 RMD160 63706792a2ef7f9f6415e659f853b285deae8b2f ChangeLog 397 @@ -54,3 +61,6 @@ SHA256 b95b56e4926fc3411f3aa4db096a408d5d394b202340ee0245355a3168c0604b files/di 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 +MD5 21e23da07c020537363e3033c502d220 files/digest-secondlife-1.18.4.3 834 +RMD160 bd9a56249d364ec0ebd5f4f0340afa7d514fb800 files/digest-secondlife-1.18.4.3 834 +SHA256 a89724dddfbd4879e4dfe69fbad0ac0b0c695b50bf776c32b12a2aad102604a2 files/digest-secondlife-1.18.4.3 834 diff --git a/games-simulation/secondlife/files/digest-secondlife-1.18.4.3 b/games-simulation/secondlife/files/digest-secondlife-1.18.4.3 new file mode 100644 index 0000000..93263b0 --- /dev/null +++ b/games-simulation/secondlife/files/digest-secondlife-1.18.4.3 @@ -0,0 +1,9 @@ +MD5 7f1a5a0c96177f8a00f78cf9a3ae9f81 slviewer-artwork-1.18.4.3.zip 24602698 +RMD160 415f87ac6b5d957e9d1a202e8db255a9286b9f3a slviewer-artwork-1.18.4.3.zip 24602698 +SHA256 5f64891d40d727b5382a667bd4799bea6596e5261dca7124036c231b753912d7 slviewer-artwork-1.18.4.3.zip 24602698 +MD5 bc45fcecf7af9d7ab0357870bc623755 slviewer-linux-libs-1.18.4.3.tar.gz 31116177 +RMD160 cd9c1e00ce58ffe8cc2002d4a43533040d34884d slviewer-linux-libs-1.18.4.3.tar.gz 31116177 +SHA256 69c6894f7d1c0ee9a0597efee23501c91c4776146bfc7970f9c325548948ca66 slviewer-linux-libs-1.18.4.3.tar.gz 31116177 +MD5 210f54eb9f33a41173ed24f07fae3321 slviewer-src-1.18.4.3.tar.gz 5487090 +RMD160 7568000e643b1f8fa2052d0cc7aff08be7272051 slviewer-src-1.18.4.3.tar.gz 5487090 +SHA256 42147006c877be401134ff444f2627824179d42ad5358789929a9d73d0483666 slviewer-src-1.18.4.3.tar.gz 5487090 diff --git a/games-simulation/secondlife/secondlife-1.18.4.3.ebuild b/games-simulation/secondlife/secondlife-1.18.4.3.ebuild new file mode 100644 index 0000000..9f1621f --- /dev/null +++ b/games-simulation/secondlife/secondlife-1.18.4.3.ebuild @@ -0,0 +1,198 @@ +# 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/11/slviewer-src-${MY_PV}.tar.gz + http://secondlife.com/developers/opensource/downloads/2007/11/slviewer-artwork-${MY_PV}.zip + http://secondlife.com/developers/opensource/downloads/2007/11/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/gst-plugins-base-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}"/${PN}-1.18.4.1_rc-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 +} + +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 +} |