Gentoo Archives: gentoo-commits

From: "Joe Peterson (lavajoe)" <lavajoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-simulation/secondlife-bin: secondlife-bin-1.22_rc11-r1.ebuild ChangeLog secondlife-bin-1.22_rc11.ebuild secondlife-bin-1.22_rc10.ebuild
Date: Thu, 16 Apr 2009 19:42:30
Message-Id: E1LuXTg-00088D-UJ@stork.gentoo.org
1 lavajoe 09/04/16 19:42:28
2
3 Modified: ChangeLog
4 Added: secondlife-bin-1.22_rc11-r1.ebuild
5 Removed: secondlife-bin-1.22_rc11.ebuild
6 secondlife-bin-1.22_rc10.ebuild
7 Log:
8 Fix audio streaming on amd64; remove old
9 (Portage version: 2.1.6.11/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.17 games-simulation/secondlife-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/secondlife-bin/ChangeLog?rev=1.17&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/secondlife-bin/ChangeLog?rev=1.17&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/secondlife-bin/ChangeLog?r1=1.16&r2=1.17
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-simulation/secondlife-bin/ChangeLog,v
21 retrieving revision 1.16
22 retrieving revision 1.17
23 diff -u -r1.16 -r1.17
24 --- ChangeLog 11 Mar 2009 23:41:21 -0000 1.16
25 +++ ChangeLog 16 Apr 2009 19:42:28 -0000 1.17
26 @@ -1,6 +1,14 @@
27 # ChangeLog for games-simulation/secondlife-bin
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/secondlife-bin/ChangeLog,v 1.16 2009/03/11 23:41:21 lavajoe Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/secondlife-bin/ChangeLog,v 1.17 2009/04/16 19:42:28 lavajoe Exp $
31 +
32 +*secondlife-bin-1.22_rc11-r1 (16 Apr 2009)
33 +
34 + 16 Apr 2009; Joe Peterson <lavajoe@g.o>
35 + +files/secondlife-bin-1.22_rc11-amd64-audio-streaming-fix.patch,
36 + -secondlife-bin-1.22_rc10.ebuild, -secondlife-bin-1.22_rc11.ebuild,
37 + +secondlife-bin-1.22_rc11-r1.ebuild:
38 + Fix audio streaming on amd64; remove old
39
40 *secondlife-bin-1.22_rc11 (11 Mar 2009)
41
42
43
44
45 1.1 games-simulation/secondlife-bin/secondlife-bin-1.22_rc11-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/secondlife-bin/secondlife-bin-1.22_rc11-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/secondlife-bin/secondlife-bin-1.22_rc11-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: secondlife-bin-1.22_rc11-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/games-simulation/secondlife-bin/secondlife-bin-1.22_rc11-r1.ebuild,v 1.1 2009/04/16 19:42:28 lavajoe Exp $
55
56 inherit eutils multilib games versionator
57
58 SECONDLIFE_REVISION=113976
59 SECONDLIFE_MAJOR_VER=$(get_version_component_range 1-2)
60 SECONDLIFE_MINOR_VER=$(get_version_component_range 3)
61 SECONDLIFE_MINOR_VER=${SECONDLIFE_MINOR_VER/rc/}
62 MY_P="SecondLife-i686-${SECONDLIFE_MAJOR_VER}.${SECONDLIFE_MINOR_VER}.${SECONDLIFE_REVISION}"
63
64 DESCRIPTION="The Second Life (an online, 3D virtual world) viewer"
65 HOMEPAGE="http://secondlife.com/"
66 SRC_URI="http://release-candidate-secondlife-com.s3.amazonaws.com/${MY_P}.tar.bz2"
67 RESTRICT="mirror strip"
68
69 LICENSE="GPL-2-with-Linden-Lab-FLOSS-exception"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE=""
73
74 # Note, used to RDEPEND on:
75 # media-fonts/kochi-substitute
76 RDEPEND="sys-libs/glibc
77 sys-apps/dbus
78 x11-libs/libX11
79 x11-libs/libXau
80 x11-libs/libXdmcp
81 x11-libs/libXext
82 dev-libs/libgcrypt
83 dev-libs/libgpg-error
84 dev-libs/openssl
85 media-libs/freetype
86 media-libs/libogg
87 media-libs/libsdl
88 media-libs/libvorbis
89 media-libs/gstreamer
90 net-libs/gnutls
91 net-misc/curl
92 sys-libs/zlib
93 virtual/glu
94 virtual/opengl
95 amd64? (
96 app-emulation/emul-linux-x86-sdl
97 app-emulation/emul-linux-x86-gtklibs
98 )"
99
100 S="${WORKDIR}/${MY_P}"
101
102 SECONDLIFE_HOME="${GAMES_PREFIX_OPT}/secondlife"
103
104 QA_TEXTRELS="${SECONDLIFE_HOME:1}/bin/libllkdu.so
105 ${SECONDLIFE_HOME:1}/lib/libkdu_v42R.so
106 ${SECONDLIFE_HOME:1}/lib/libfmod-3.75.so
107 ${SECONDLIFE_HOME:1}/lib/libvivoxsdk.so
108 ${SECONDLIFE_HOME:1}/app_settings/mozilla-runtime-linux-i686/libxul.so"
109 QA_EXECSTACK="${SECONDLIFE_HOME:1}/bin/do-not-directly-run-secondlife-bin
110 ${SECONDLIFE_HOME:1}/bin/libllkdu.so
111 ${SECONDLIFE_HOME:1}/lib/libSDL-1.2.so.0
112 ${SECONDLIFE_HOME:1}/lib/libcrypto.so.0.9.7
113 ${SECONDLIFE_HOME:1}/lib/libkdu_v42R.so
114 ${SECONDLIFE_HOME:1}/lib/libfmod-3.75.so
115 ${SECONDLIFE_HOME:1}/app_settings/mozilla-runtime-linux-i686/libxul.so"
116
117 pkg_setup() {
118 games_pkg_setup
119
120 # x86 binary package, ABI=x86
121 has_multilib_profile && ABI="x86"
122 }
123
124 src_unpack() {
125 unpack ${A}
126 cd "${S}"
127
128 # On 64-bit systems, we need to uncomment LL_BAD_OPENAL_DRIVER=x
129 # to fix streaming audio.
130 use amd64 && epatch "${FILESDIR}"/${P}-amd64-audio-streaming-fix.patch
131 }
132
133 src_install() {
134 exeinto "${SECONDLIFE_HOME}"
135 doexe launch_url.sh linux-crash-logger.bin secondlife || die
136 rm -rf launch_url.sh linux-crash-logger.bin secondlife
137
138 exeinto "${SECONDLIFE_HOME}"/bin
139 doexe bin/* || die
140 rm -rf bin
141
142 exeinto "${SECONDLIFE_HOME}"/lib
143 doexe lib/* || die
144 rm -rf lib
145
146 insinto "${SECONDLIFE_HOME}"
147 doins -r * || die "doins * failed"
148
149 #dosym /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf "${SECONDLIFE_HOME}"/unicode.ttf
150
151 games_make_wrapper secondlife-bin "./secondlife --set VersionChannelName Gentoo" "${SECONDLIFE_HOME}" "${SECONDLIFE_HOME}"/lib
152 make_desktop_entry secondlife-bin "Second Life" /opt/secondlife/secondlife_icon.png
153
154 prepgamesdirs
155 }