1 |
voyageur 09/07/17 15:37:55 |
2 |
|
3 |
Modified: ChangeLog chromium-bin-9999.ebuild |
4 |
Added: chromium-bin-0_p20951.ebuild |
5 |
Log: |
6 |
Version bump, more options and video/audio HTML5 tags support |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.15 www-client/chromium-bin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.15&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.15&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?r1=1.14&r2=1.15 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v |
19 |
retrieving revision 1.14 |
20 |
retrieving revision 1.15 |
21 |
diff -u -r1.14 -r1.15 |
22 |
--- ChangeLog 10 Jul 2009 17:13:12 -0000 1.14 |
23 |
+++ ChangeLog 17 Jul 2009 15:37:55 -0000 1.15 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for www-client/chromium-bin |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.14 2009/07/10 17:13:12 voyageur Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.15 2009/07/17 15:37:55 voyageur Exp $ |
29 |
+ |
30 |
+*chromium-bin-0_p20951 (17 Jul 2009) |
31 |
+ |
32 |
+ 17 Jul 2009; Bernard Cafarelli <voyageur@g.o> |
33 |
+ +chromium-bin-0_p20951.ebuild, chromium-bin-9999.ebuild: |
34 |
+ Version bump, more options and video/audio HTML5 tags support |
35 |
|
36 |
*chromium-bin-0_p20377 (10 Jul 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.12 www-client/chromium-bin/chromium-bin-9999.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?rev=1.12&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?rev=1.12&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?r1=1.11&r2=1.12 |
46 |
|
47 |
Index: chromium-bin-9999.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v |
50 |
retrieving revision 1.11 |
51 |
retrieving revision 1.12 |
52 |
diff -u -r1.11 -r1.12 |
53 |
--- chromium-bin-9999.ebuild 30 Jun 2009 11:40:28 -0000 1.11 |
54 |
+++ chromium-bin-9999.ebuild 17 Jul 2009 15:37:55 -0000 1.12 |
55 |
@@ -1,6 +1,6 @@ |
56 |
# Copyright 1999-2009 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.11 2009/06/30 11:40:28 voyageur Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.12 2009/07/17 15:37:55 voyageur Exp $ |
60 |
|
61 |
EAPI="2" |
62 |
inherit eutils multilib |
63 |
@@ -35,6 +35,14 @@ |
64 |
|
65 |
QA_EXECSTACK="opt/chromium.org/chrome-linux/chrome" |
66 |
|
67 |
+# Ogg/Theora/Vorbis-only FFmpeg binaries |
68 |
+QA_TEXTRELS="opt/chromium.org/chrome-linux/libavcodec.so.52 |
69 |
+ opt/chromium.org/chrome-linux/libavformat.so.52 |
70 |
+ opt/chromium.org/chrome-linux/libavutil.so.50" |
71 |
+QA_PRESTRIPPED="opt/chromium.org/chrome-linux/libavcodec.so.52 |
72 |
+ opt/chromium.org/chrome-linux/libavformat.so.52 |
73 |
+ opt/chromium.org/chrome-linux/libavutil.so.50" |
74 |
+ |
75 |
pkg_setup() { |
76 |
# This is a binary x86 package |
77 |
has_multilib_profile && ABI="x86" |
78 |
@@ -91,7 +99,7 @@ |
79 |
dosym ${NSS_DIR}/libssl3.so ${CHROMIUM_HOME}/lib/libssl3.so.1d |
80 |
|
81 |
# Create chromium-bin wrapper |
82 |
- make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/lib |
83 |
+ make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/lib:${CHROMIUM_HOME}/chrome-linux |
84 |
newicon "${FILESDIR}"/chromium.png ${PN}.png |
85 |
make_desktop_entry chromium-bin "Chromium" ${PN}.png "Network;WebBrowser" |
86 |
} |
87 |
|
88 |
|
89 |
|
90 |
1.1 www-client/chromium-bin/chromium-bin-0_p20951.ebuild |
91 |
|
92 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-0_p20951.ebuild?rev=1.1&view=markup |
93 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-0_p20951.ebuild?rev=1.1&content-type=text/plain |
94 |
|
95 |
Index: chromium-bin-0_p20951.ebuild |
96 |
=================================================================== |
97 |
# Copyright 1999-2009 Gentoo Foundation |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-0_p20951.ebuild,v 1.1 2009/07/17 15:37:55 voyageur Exp $ |
100 |
|
101 |
EAPI="2" |
102 |
inherit eutils multilib |
103 |
|
104 |
# Latest revision id can be found at |
105 |
# http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST |
106 |
MY_PV="${PV/0\_p}" |
107 |
|
108 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
109 |
HOMEPAGE="http://code.google.com/chromium/" |
110 |
SRC_URI="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${MY_PV}/chrome-linux.zip -> ${PN}-${MY_PV}.zip" |
111 |
LICENSE="GPL-2" |
112 |
SLOT="0" |
113 |
KEYWORDS="-* ~x86" |
114 |
IUSE="" |
115 |
|
116 |
AMD64_DEPEND="amd64? ( |
117 |
|| ( www-plugins/adobe-flash[32bit] |
118 |
www-client/mozilla-firefox-bin |
119 |
net-libs/xulrunner-bin ) |
120 |
>=app-emulation/emul-linux-x86-gtklibs-20081109 |
121 |
app-emulation/emul-linux-x86-soundlibs |
122 |
)" |
123 |
|
124 |
DEPEND="app-arch/unzip |
125 |
${AMD64_DEPEND}" |
126 |
RDEPEND="media-fonts/corefonts |
127 |
>=sys-devel/gcc-4.2 |
128 |
x86? ( >=dev-libs/nspr-4.7 |
129 |
>=dev-libs/nss-3.12 |
130 |
gnome-base/gconf |
131 |
x11-libs/pango ) |
132 |
${AMD64_DEPEND}" |
133 |
|
134 |
S=${WORKDIR} |
135 |
|
136 |
QA_EXECSTACK="opt/chromium.org/chrome-linux/chrome" |
137 |
|
138 |
# Ogg/Theora/Vorbis-only FFmpeg binaries |
139 |
QA_TEXTRELS="opt/chromium.org/chrome-linux/libavcodec.so.52 |
140 |
opt/chromium.org/chrome-linux/libavformat.so.52 |
141 |
opt/chromium.org/chrome-linux/libavutil.so.50" |
142 |
QA_PRESTRIPPED="opt/chromium.org/chrome-linux/libavcodec.so.52 |
143 |
opt/chromium.org/chrome-linux/libavformat.so.52 |
144 |
opt/chromium.org/chrome-linux/libavutil.so.50" |
145 |
|
146 |
pkg_setup() { |
147 |
# This is a binary x86 package |
148 |
has_multilib_profile && ABI="x86" |
149 |
} |
150 |
|
151 |
src_install() { |
152 |
declare CHROMIUM_HOME=/opt/chromium.org |
153 |
|
154 |
dodir ${CHROMIUM_HOME} |
155 |
cp -R chrome-linux/ "${D}"${CHROMIUM_HOME} || die "Unable to install chrome-linux folder" |
156 |
|
157 |
# Plugins symlink |
158 |
dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/chrome-linux/plugins |
159 |
|
160 |
# Create symlinks for needed libraries |
161 |
dodir ${CHROMIUM_HOME}/lib |
162 |
if use x86; then |
163 |
NSS_DIR=../../../usr/$(get_libdir)/nss |
164 |
NSPR_DIR=../../../usr/$(get_libdir)/nspr |
165 |
elif use amd64; then |
166 |
# amd64: we still miss gconf |
167 |
if has_version www-client/mozilla-firefox-bin; then |
168 |
einfo "Using NSS/NSPR libraries from www-client/mozilla-firefox-bin" |
169 |
NSS_DIR=../../../opt/firefox |
170 |
NSPR_DIR=../../../opt/firefox |
171 |
elif has_version net-libs/xulrunner-bin; then |
172 |
einfo "Using NSS/NSPR libraries from net-libs/xulrunner-bin" |
173 |
NSS_DIR=../../../opt/xulrunner |
174 |
NSPR_DIR=../../../opt/xulrunner |
175 |
elif has_version www-plugins/adobe-flash; then |
176 |
einfo "Using NSS/NSPR libraries from www-plugins/adobe-flash" |
177 |
NSS_DIR=../../../opt/flash-libcompat |
178 |
NSPR_DIR=../../../opt/flash-libcompat |
179 |
else |
180 |
die "One of these packages is needed: www-client/mozilla-firefox-bin, net-libs/xulrunner-bin, www-plugins/adobe-flash[32bit]" |
181 |
fi |
182 |
|
183 |
fi |
184 |
|
185 |
dosym ${NSPR_DIR}/libnspr4.so ${CHROMIUM_HOME}/lib/libnspr4.so.0d |
186 |
dosym ${NSPR_DIR}/libplc4.so ${CHROMIUM_HOME}/lib/libplc4.so.0d |
187 |
dosym ${NSPR_DIR}/libplds4.so ${CHROMIUM_HOME}/lib/libplds4.so.0d |
188 |
dosym ${NSS_DIR}/libnss3.so ${CHROMIUM_HOME}/lib/libnss3.so.1d |
189 |
dosym ${NSS_DIR}/libnssutil3.so ${CHROMIUM_HOME}/lib/libnssutil3.so.1d |
190 |
dosym ${NSS_DIR}/libsmime3.so ${CHROMIUM_HOME}/lib/libsmime3.so.1d |
191 |
dosym ${NSS_DIR}/libssl3.so ${CHROMIUM_HOME}/lib/libssl3.so.1d |
192 |
|
193 |
# Create chromium-bin wrapper |
194 |
make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/lib:${CHROMIUM_HOME}/chrome-linux |
195 |
newicon "${FILESDIR}"/chromium.png ${PN}.png |
196 |
make_desktop_entry chromium-bin "Chromium" ${PN}.png "Network;WebBrowser" |
197 |
} |
198 |
|
199 |
pkg_postinst() { |
200 |
ewarn "This binary requires the C++ runtime from >=sys-devel/gcc-4.2" |
201 |
ewarn "If you get the \"version \`GLIBCXX_3.4.9' not found\" error message," |
202 |
ewarn "switch your active gcc to a version >=4.2 with gcc-config" |
203 |
} |