summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-07-09 10:11:11 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-07-09 10:11:11 +0000
commit715b341085b8b2ab9df8606eb14de42bc93991f3 (patch)
tree19dab7daa527474171d1dcc2b12cf045e6adcc54
parentVersion bumped. Fixed scons issue. (diff)
downloadsecondlife-715b341085b8b2ab9df8606eb14de42bc93991f3.tar.gz
secondlife-715b341085b8b2ab9df8606eb14de42bc93991f3.tar.bz2
secondlife-715b341085b8b2ab9df8606eb14de42bc93991f3.zip
Version bumped.
svn path=/secondlife/; revision=18
-rw-r--r--games-simulation/secondlife/Manifest14
-rw-r--r--games-simulation/secondlife/files/digest-secondlife-1.17.3.09
-rw-r--r--games-simulation/secondlife/files/secondlife-1.17.3.0-gcc4.patch12
-rw-r--r--games-simulation/secondlife/secondlife-1.17.3.0.ebuild154
4 files changed, 189 insertions, 0 deletions
diff --git a/games-simulation/secondlife/Manifest b/games-simulation/secondlife/Manifest
index c7d8908..70597b7 100644
--- a/games-simulation/secondlife/Manifest
+++ b/games-simulation/secondlife/Manifest
@@ -18,12 +18,19 @@ AUX secondlife-1.17.2.0-size_t.patch 462 RMD160 07db64e519f9a4fffbd03fcc6ce97547
MD5 514085daf53b44790b50f9bb4de4c53d files/secondlife-1.17.2.0-size_t.patch 462
RMD160 07db64e519f9a4fffbd03fcc6ce975470fed4f52 files/secondlife-1.17.2.0-size_t.patch 462
SHA256 b1fb3ef3d60e803cca87ed660f0ea02cbb6b98bc75170fa0de7008f7eab7f96e files/secondlife-1.17.2.0-size_t.patch 462
+AUX secondlife-1.17.3.0-gcc4.patch 510 RMD160 798e96765ad4d358d9f152893cdff607c6604ec9 SHA1 57967ef3228b25a3425f1b1ab54267b61f1e85c6 SHA256 3559de958ad2c7706e81c5e6ffb91d15d7d9d7a82d61f8851ac15e5c821f387d
+MD5 d9972db418d5fae045c5c4e68b7b9dbe files/secondlife-1.17.3.0-gcc4.patch 510
+RMD160 798e96765ad4d358d9f152893cdff607c6604ec9 files/secondlife-1.17.3.0-gcc4.patch 510
+SHA256 3559de958ad2c7706e81c5e6ffb91d15d7d9d7a82d61f8851ac15e5c821f387d files/secondlife-1.17.3.0-gcc4.patch 510
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-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-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
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
@@ -32,9 +39,16 @@ EBUILD secondlife-1.17.2.0.ebuild 3795 RMD160 8016dd582d48e979f8b343f4b1bb0b79ad
MD5 fffe24bc0b4c0b0c371374fa5213ff36 secondlife-1.17.2.0.ebuild 3795
RMD160 8016dd582d48e979f8b343f4b1bb0b79adcd7020 secondlife-1.17.2.0.ebuild 3795
SHA256 9eeca698c887e27d1f7ea0a3b19d99a96660ebb39fd54d791773b37eb8f8bc0e secondlife-1.17.2.0.ebuild 3795
+EBUILD secondlife-1.17.3.0.ebuild 3853 RMD160 22fc7b0c8ffc9da7f90cedd0f3c178cc3932fa69 SHA1 ad32964a8ef7455d81479bb334d19a999d685fd5 SHA256 961538032e4e423f9002553a518dc6dbfffda8f760a633b7d8ce25caca579438
+MD5 4be5261dbf6b8774547474df05120dd2 secondlife-1.17.3.0.ebuild 3853
+RMD160 22fc7b0c8ffc9da7f90cedd0f3c178cc3932fa69 secondlife-1.17.3.0.ebuild 3853
+SHA256 961538032e4e423f9002553a518dc6dbfffda8f760a633b7d8ce25caca579438 secondlife-1.17.3.0.ebuild 3853
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
MD5 5222f46d8a05dae2d2661045fb0ec5a0 files/digest-secondlife-1.17.2.0 834
RMD160 c115b7863483c4e29d0788e9802cd0d6b30a8755 files/digest-secondlife-1.17.2.0 834
SHA256 37bccb337ca1b663d96c704eb47ec7543251a9389da4eb66ef89c59f0be7da0d files/digest-secondlife-1.17.2.0 834
+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
diff --git a/games-simulation/secondlife/files/digest-secondlife-1.17.3.0 b/games-simulation/secondlife/files/digest-secondlife-1.17.3.0
new file mode 100644
index 0000000..3e9e5c3
--- /dev/null
+++ b/games-simulation/secondlife/files/digest-secondlife-1.17.3.0
@@ -0,0 +1,9 @@
+MD5 ac695fd99ffa6b4197d224456c7fa6c2 slviewer-artwork-1.17.3.0.zip 24679565
+RMD160 55bee38147f53bd8560b94869518e51a1585a897 slviewer-artwork-1.17.3.0.zip 24679565
+SHA256 1b57a57b788c73ddc76fcf24a84a51a1169ea89fae0f8ecaf34b5794c55776a7 slviewer-artwork-1.17.3.0.zip 24679565
+MD5 12659f9c0e1bef3b8eb1d4ecef6bfc9e slviewer-linux-libs-1.17.3.0.tar.gz 28636482
+RMD160 87c01aab65c13f828e73ae6bdb7257c755c0eaf6 slviewer-linux-libs-1.17.3.0.tar.gz 28636482
+SHA256 d83ff67ddd10448d6d2e7dd8612900f21385a5c17cfd736378b22b1f41ca4c30 slviewer-linux-libs-1.17.3.0.tar.gz 28636482
+MD5 b3cebc93952f4601a798e8a64c1721cc slviewer-src-1.17.3.0.tar.gz 5198192
+RMD160 9698a5e53b2a7a69c00f11db239f4ef0c58597e9 slviewer-src-1.17.3.0.tar.gz 5198192
+SHA256 bf40ffaa40cc808d0ed30cba9f7b996a53930cefd30bc261d498c3bececf47cd slviewer-src-1.17.3.0.tar.gz 5198192
diff --git a/games-simulation/secondlife/files/secondlife-1.17.3.0-gcc4.patch b/games-simulation/secondlife/files/secondlife-1.17.3.0-gcc4.patch
new file mode 100644
index 0000000..d0dcf3f
--- /dev/null
+++ b/games-simulation/secondlife/files/secondlife-1.17.3.0-gcc4.patch
@@ -0,0 +1,12 @@
+diff -Naur linden.orig/indra/newview/llstatusbar.h linden/indra/newview/llstatusbar.h
+--- linden.orig/indra/newview/llstatusbar.h 2007-07-07 03:43:29.000000000 +0900
++++ linden/indra/newview/llstatusbar.h 2007-07-09 18:23:13.000000000 +0900
+@@ -127,7 +127,7 @@
+
+ static std::vector<std::string> sDays;
+ static std::vector<std::string> sMonths;
+- static const U32 LLStatusBar::MAX_DATE_STRING_LENGTH;
++ static const U32 MAX_DATE_STRING_LENGTH;
+ };
+
+ // *HACK: Status bar owns your cached money balance. JC
diff --git a/games-simulation/secondlife/secondlife-1.17.3.0.ebuild b/games-simulation/secondlife/secondlife-1.17.3.0.ebuild
new file mode 100644
index 0000000..b6c9080
--- /dev/null
+++ b/games-simulation/secondlife/secondlife-1.17.3.0.ebuild
@@ -0,0 +1,154 @@
+# 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="fmod"
+#IUSE="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
+ dev-libs/elfio
+ >=media-libs/openjpeg-1.1.1
+ media-fonts/kochi-substitute
+ 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}"/${P}-gcc4.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 llmozlib ; then
+ # myopts="${myopts} MOZLIB=yes"
+ # else
+ myopts="${myopts} MOZLIB=no"
+ # fi
+
+ # if use elfio ; then
+ myopts="${myopts} ELFIO=yes"
+ # else
+ # myopts="${myopts} ELFIO=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 || die
+ newins featuretable.txt 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
+
+ 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/* || 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
+}