1 |
commit: 5de7d5593d01d476cd7c0e31879c15b61540292f |
2 |
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org> |
3 |
AuthorDate: Tue Oct 1 20:44:32 2013 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 20:44:32 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=5de7d559 |
7 |
|
8 |
www-client/chromium-bin-debian: 29.0.1547.57_p3_p1 |
9 |
|
10 |
--- |
11 |
.../chromium-bin-debian-29.0.1547.57_p3_p1.ebuild | 88 ++++++++++++++++++++++ |
12 |
1 file changed, 88 insertions(+) |
13 |
|
14 |
diff --git a/www-client/chromium-bin-debian/chromium-bin-debian-29.0.1547.57_p3_p1.ebuild b/www-client/chromium-bin-debian/chromium-bin-debian-29.0.1547.57_p3_p1.ebuild |
15 |
new file mode 100644 |
16 |
index 0000000..ed4fe53 |
17 |
--- /dev/null |
18 |
+++ b/www-client/chromium-bin-debian/chromium-bin-debian-29.0.1547.57_p3_p1.ebuild |
19 |
@@ -0,0 +1,88 @@ |
20 |
+# Copyright 1999-2013 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+# $Header: $ |
23 |
+ |
24 |
+EAPI="3" |
25 |
+ |
26 |
+inherit multilib unpacker |
27 |
+ |
28 |
+MY_PV=${PV/_p/-}; MY_PV=${MY_PV/_p/+b} |
29 |
+MY_PN=${PN%%-bin-debian} |
30 |
+ |
31 |
+DESCRIPTION="Chromium build from Debian unstable" |
32 |
+HOMEPAGE="http://packages.debian.org/sid/chromium" |
33 |
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN:0:8}-browser/${PN:0:8}_${MY_PV}_amd64.deb" |
34 |
+ |
35 |
+LICENSE="BSD" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64" |
38 |
+IUSE="" |
39 |
+ |
40 |
+UDEV_V=198 |
41 |
+ |
42 |
+DEPEND="app-arch/dpkg" |
43 |
+RDEPEND=" |
44 |
+ app-accessibility/speech-dispatcher |
45 |
+ dev-libs/atk |
46 |
+ dev-libs/expat |
47 |
+ dev-libs/glib:2 |
48 |
+ dev-libs/libevent |
49 |
+ dev-libs/libgcrypt |
50 |
+ dev-libs/libxml2 |
51 |
+ dev-libs/libxslt |
52 |
+ dev-libs/nspr |
53 |
+ dev-libs/nss |
54 |
+ gnome-base/gconf |
55 |
+ gnome-base/libgnome-keyring |
56 |
+ media-libs/alsa-lib |
57 |
+ media-libs/flac |
58 |
+ media-libs/fontconfig |
59 |
+ media-libs/freetype |
60 |
+ media-libs/libvpx |
61 |
+ media-libs/speex |
62 |
+ >=media-sound/pulseaudio-2.0 |
63 |
+ net-print/cups |
64 |
+ sys-apps/dbus |
65 |
+ >=sys-apps/systemd-${UDEV_V} |
66 |
+ >=sys-devel/gcc-4.6[cxx] |
67 |
+ >=sys-fs/udev-${UDEV_V} |
68 |
+ virtual/jpeg |
69 |
+ x11-libs/cairo |
70 |
+ x11-libs/gdk-pixbuf |
71 |
+ x11-libs/gtk+ |
72 |
+ x11-libs/libX11 |
73 |
+ x11-libs/libXScrnSaver |
74 |
+ x11-libs/libXcomposite |
75 |
+ x11-libs/libXext |
76 |
+ x11-libs/libXfixes |
77 |
+ x11-libs/libXrender |
78 |
+ x11-libs/pango |
79 |
+ " |
80 |
+ |
81 |
+S=${WORKDIR} |
82 |
+ |
83 |
+QA_PREBUILT="usr/lib*/${MY_PN}/*" |
84 |
+ |
85 |
+src_install() { |
86 |
+ mv "${S}"/{usr,etc} "${D}"/ || die |
87 |
+ |
88 |
+ local libdir=$(get_libdir) |
89 |
+ [[ "${libdir}" != lib ]] && { |
90 |
+ mv "${D}"/usr/{lib,"${libdir}"} || die |
91 |
+ } |
92 |
+ |
93 |
+ echo sid > "${D}"/etc/debian_version || die |
94 |
+ |
95 |
+ # Link to Flash (not in RDEPEND) |
96 |
+ local flash_plugin_dir=/usr/${libdir}/firefox/plugins |
97 |
+ dodir "${flash_plugin_dir}" |
98 |
+ ln -s ../../nsbrowser/plugins/libflashplayer.so "${D}"/${flash_plugin_dir}/libflashplayer.so || die |
99 |
+ |
100 |
+ # Otherwise: |
101 |
+ # [14345:14345:0708/125539:FATAL:zygote_host_impl_linux.cc(140)] |
102 |
+ # The SUID sandbox helper binary was found, but is not configured correctly. |
103 |
+ # Rather than run without sandboxing I'm aborting now. You need to make sure |
104 |
+ # that /usr/lib/chromium/chromium-sandbox is owned by root and has mode 4755. |
105 |
+ # Aborted |
106 |
+ chmod 4755 "${D}"/usr/${libdir}/${MY_PN}/${MY_PN}-sandbox || die |
107 |
+} |