1 |
voyageur 09/12/01 13:36:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: chromium-bin-4.0.260.0_p33405.ebuild |
5 |
Removed: chromium-bin-4.0.240.0_p31382.ebuild |
6 |
Log: |
7 |
Version bump, enables bookmarks sync by default, allows again extensions to access file:// elements (adblock+) |
8 |
(Portage version: 2.2_rc54/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.46 www-client/chromium-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.46&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.46&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?r1=1.45&r2=1.46 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v |
20 |
retrieving revision 1.45 |
21 |
retrieving revision 1.46 |
22 |
diff -u -r1.45 -r1.46 |
23 |
--- ChangeLog 19 Nov 2009 16:12:11 -0000 1.45 |
24 |
+++ ChangeLog 1 Dec 2009 13:36:26 -0000 1.46 |
25 |
@@ -1,6 +1,14 @@ |
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.45 2009/11/19 16:12:11 voyageur Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.46 2009/12/01 13:36:26 voyageur Exp $ |
30 |
+ |
31 |
+*chromium-bin-4.0.260.0_p33405 (01 Dec 2009) |
32 |
+ |
33 |
+ 01 Dec 2009; Bernard Cafarelli <voyageur@g.o> |
34 |
+ -chromium-bin-4.0.240.0_p31382.ebuild, |
35 |
+ +chromium-bin-4.0.260.0_p33405.ebuild: |
36 |
+ Version bump, enables bookmarks sync by default, allows again extensions |
37 |
+ to access file:// elements (adblock+) |
38 |
|
39 |
19 Nov 2009; Bernard Cafarelli <voyageur@g.o> |
40 |
chromium-bin-4.0.251.0_p32167.ebuild, chromium-bin-9999.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 www-client/chromium-bin/chromium-bin-4.0.260.0_p33405.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.260.0_p33405.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.260.0_p33405.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: chromium-bin-4.0.260.0_p33405.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.260.0_p33405.ebuild,v 1.1 2009/12/01 13:36:26 voyageur Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
inherit eutils multilib |
57 |
|
58 |
# Latest revision id can be found at |
59 |
# http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST |
60 |
MY_PV="${PV/[0-9.]*\_p}" |
61 |
|
62 |
DESCRIPTION="Open-source version of Google Chrome web browser (binary version)" |
63 |
HOMEPAGE="http://code.google.com/chromium/" |
64 |
SRC_URI="x86? ( http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${MY_PV}/chrome-linux.zip -> ${PN}-x86-${MY_PV}.zip ) |
65 |
amd64? ( http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${MY_PV}/chrome-linux.zip -> ${PN}-amd64-${MY_PV}.zip )" |
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="-* ~amd64 ~x86" |
69 |
IUSE="" |
70 |
|
71 |
DEPEND="app-arch/unzip" |
72 |
RDEPEND="gnome-base/gconf |
73 |
media-fonts/corefonts |
74 |
>=media-libs/alsa-lib-1.0.19 |
75 |
>=sys-devel/gcc-4.2 |
76 |
>=dev-libs/nspr-4.7 |
77 |
>=dev-libs/nss-3.12 |
78 |
x11-libs/pango |
79 |
x11-themes/gnome-icon-theme" |
80 |
|
81 |
S=${WORKDIR} |
82 |
|
83 |
QA_EXECSTACK="opt/chromium.org/chrome-linux/chrome" |
84 |
|
85 |
# Ogg/Theora/Vorbis-only FFmpeg binaries |
86 |
QA_TEXTRELS="opt/chromium.org/chrome-linux/libffmpegsumo.so" |
87 |
QA_PRESTRIPPED="opt/chromium.org/chrome-linux/libffmpegsumo.so" |
88 |
|
89 |
pkg_setup() { |
90 |
# Built with SSE2 enabled, so will fail on older processors |
91 |
if [[ ${ROOT} == "/" ]] && ! grep -q sse2 /proc/cpuinfo; then |
92 |
die "This binary requires SSE2 support, it will not work on older processors" |
93 |
fi |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
declare CHROMIUM_HOME=/opt/chromium.org |
98 |
|
99 |
dodir ${CHROMIUM_HOME} |
100 |
cp -R chrome-linux/ "${D}"${CHROMIUM_HOME} || die "Unable to install chrome-linux folder" |
101 |
|
102 |
# Man page (rename to prevent collision with chromium) |
103 |
newman chrome-linux/chrome.1 chromium-bin.1 |
104 |
rm "${D}"${CHROMIUM_HOME}/chrome-linux/chrome.1 |
105 |
|
106 |
# Plugins symlink |
107 |
dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/chrome-linux/plugins |
108 |
|
109 |
# Create symlinks for needed libraries |
110 |
dodir ${CHROMIUM_HOME}/nss-nspr |
111 |
NSS_DIR=/usr/$(get_libdir)/nss |
112 |
NSPR_DIR=/usr/$(get_libdir)/nspr |
113 |
|
114 |
dosym ${NSPR_DIR}/libnspr4.so ${CHROMIUM_HOME}/nss-nspr/libnspr4.so.0d |
115 |
dosym ${NSPR_DIR}/libplc4.so ${CHROMIUM_HOME}/nss-nspr/libplc4.so.0d |
116 |
dosym ${NSPR_DIR}/libplds4.so ${CHROMIUM_HOME}/nss-nspr/libplds4.so.0d |
117 |
dosym ${NSS_DIR}/libnss3.so ${CHROMIUM_HOME}/nss-nspr/libnss3.so.1d |
118 |
dosym ${NSS_DIR}/libnssutil3.so ${CHROMIUM_HOME}/nss-nspr/libnssutil3.so.1d |
119 |
dosym ${NSS_DIR}/libsmime3.so ${CHROMIUM_HOME}/nss-nspr/libsmime3.so.1d |
120 |
dosym ${NSS_DIR}/libssl3.so ${CHROMIUM_HOME}/nss-nspr/libssl3.so.1d |
121 |
|
122 |
# Create chromium-bin wrapper |
123 |
make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/nss-nspr:${CHROMIUM_HOME}/chrome-linux |
124 |
newicon "${FILESDIR}"/chromium.png ${PN}.png |
125 |
make_desktop_entry chromium-bin "Chromium (bin)" ${PN} "Network;WebBrowser" |
126 |
sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \ |
127 |
|| die "desktop file sed failed" |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
ewarn "This binary requires the C++ runtime from >=sys-devel/gcc-4.2" |
132 |
ewarn "If you get the \"version \`GLIBCXX_3.4.9' not found\" error message," |
133 |
ewarn "switch your active gcc to a version >=4.2 with gcc-config" |
134 |
if [[ ${ROOT} != "/" ]]; then |
135 |
ewarn "This package will not work on processors without SSE2 instruction" |
136 |
ewarn "set support (Intel Pentium III/AMD Athlon or older)." |
137 |
fi |
138 |
} |