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