summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/package.mask5
-rw-r--r--www-client/chromium-bin-debian/Manifest1
-rw-r--r--www-client/chromium-bin-debian/chromium-bin-debian-60.0.3112.78_p1.ebuild135
3 files changed, 141 insertions, 0 deletions
diff --git a/profiles/package.mask b/profiles/package.mask
index e38b382..79ec450 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -4,3 +4,8 @@
# 2011-06-06 Sebastian Pipping <sping@gentoo.org>
# Experimental downstream patches
=media-gfx/cataract-1.1.0_p20110326_p2
+
+# 2017-08-07 Sebastian Pipping <sping@gentoo.org>
+# Error "Couldn't mmap v8 natives data file, status code is 1"
+# during start-up
+=www-client/chromium-bin-debian-60.0.3112.78_p1
diff --git a/www-client/chromium-bin-debian/Manifest b/www-client/chromium-bin-debian/Manifest
index 7263a42..1fbf0ca 100644
--- a/www-client/chromium-bin-debian/Manifest
+++ b/www-client/chromium-bin-debian/Manifest
@@ -1,5 +1,6 @@
DIST chromium_56.0.2924.76-5_amd64.deb 46557568 SHA256 4f6671f704ccadd74561764913f5ac33bca025023c26a65ccd68e3ec16d96dfb SHA512 88ca5241a50e90e0eade1c659981fddfd49d7c5b4f654bf9efd6ceefa659f7f2dfd2280e490510daca22027012b64d1b31cec4e8066fb9c81cbd2ac3eda87354 WHIRLPOOL a1754a87f1718fb38f3fc8185f396aa8f0140b02b9a32b820d14eb51354e2c57bc86f76ca7f079427043919eb41344f24f942e64125359ea2552b14cc029e6f2
DIST chromium_58.0.3029.96-1_amd64.deb 50462520 SHA256 a41ec9090b69d94a418a0ece572ccb547359b24fa3d743b70f2bd1e00e1d8ea8 SHA512 254b290ff5fae72f0d196ace270c76d4be4ae570c0329b05ece0eeddca505326a4fab13215afe2346c1f6a53bb0fd332d347e837e7534aec8f4aacfeebbbb7a8 WHIRLPOOL cf9407aabcc6660ade5cc682ffa0f632d334f8ebf1608bc791985a0f55dfe00bca2863444ab05f4681f211b242e3cd42f46b2c16958fd7284828fe7d5cd6e03d
+DIST chromium_60.0.3112.78-1_amd64.deb 51803220 SHA256 f5ce4ed70b6d155be2dec122166850ca0f3bcf1d8d010d848f2b37ee0d0694a0 SHA512 734066671f80d3dce31fc9f639d563b2543f87840e992bb6a11c399837d98975b7f349213add04a374b668dd567f88631dd7ed4c10a31840762df91906850375 WHIRLPOOL bfa47b822c00e0c2602bd18c40dae22ca6b9ab58e74b61c71ce7e5bb31edb60d41f0f576b135841338ee7ecbeed7eca287a0c49e00c6352bef54466bed48c878
DIST libavcodec57_3.2.4-1_amd64.deb 4430598 SHA256 69453bee89b7be639b89644bd2bddcec06b5828de3d7f9a4a686a081219557be SHA512 2413b9c9fbdccde315315397e54267bf1c60ea825683d7f0cae10fa0532ee4eac8bf5e6fcbff1c6b362804384e1adc8ab27437867ea7e51de09864d192ae1203 WHIRLPOOL 7f6c22062c687962b0992687e51af009a3cc33cab00e989a27f7d72fc4db25b2166ef772f8c285f54a49a2bd5027551309ee7891ee7485c6363160284a37f0bf
DIST libavformat57_3.2.4-1_amd64.deb 924964 SHA256 900ade534850b320febac1fda078a5d99efd2f1c8cea9707eef9ab3dd8ec9ae9 SHA512 70a148301e976c476793a8b4fb3625018ff9d643a483943f60b3dbef0a152e8a769839644403814217b85fd14e6c8a07454617fa8574b238c171572cdbc55d22 WHIRLPOOL 90d67658733f81be9278ff6321c489f80d70cb6aeb843aaba50b0ac4a2726881bc49e38fbea15f962f9f5ad737452cf6828b08512e18b9a3518dcf2c0501c0a9
DIST libavutil55_3.2.4-1_amd64.deb 207894 SHA256 887fbc66b8af3d8c2d4fad7dfcdb7b5c9b909e2c904731620659190c5eea242e SHA512 c53e16d1187108097386544018f6f42548ca1e30ce13fe7b0e095e53ce391df9a35df68a1d56d7e7bca06e14dfca28f52fecb1c35184ef23f5b4fefcc13434fe WHIRLPOOL fcb19ea93be46791a071d959c58fc1b3d917182381a19dc1769fbd38ebe10fd34f37552c625428867ef97d94e205ca268e118ca33e24e334785bdc0bb0b29e80
diff --git a/www-client/chromium-bin-debian/chromium-bin-debian-60.0.3112.78_p1.ebuild b/www-client/chromium-bin-debian/chromium-bin-debian-60.0.3112.78_p1.ebuild
new file mode 100644
index 0000000..7f393a9
--- /dev/null
+++ b/www-client/chromium-bin-debian/chromium-bin-debian-60.0.3112.78_p1.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib unpacker
+
+MY_PV=${PV/_p/-}
+MY_PN=${PN%%-bin-debian}
+
+DESCRIPTION="Chromium build from Debian unstable"
+HOMEPAGE="http://packages.debian.org/sid/chromium"
+SRC_PREFIX="http://snapshot.debian.org/archive/debian/20170802T161845Z/pool"
+SRC_URI="${SRC_PREFIX}/main/${PN:0:1}/${PN:0:8}-browser/${PN:0:8}_${MY_PV}_amd64.deb
+ ${SRC_PREFIX}/main/c/crystalhd/libcrystalhd3_0.0~git20110715.fdd2f19-11_amd64.deb
+ ${SRC_PREFIX}/main/f/ffmpeg/libavcodec57_3.2.4-1_amd64.deb
+ ${SRC_PREFIX}/main/f/ffmpeg/libavformat57_3.2.4-1_amd64.deb
+ ${SRC_PREFIX}/main/f/ffmpeg/libavutil55_3.2.4-1_amd64.deb
+ ${SRC_PREFIX}/main/f/ffmpeg/libswresample2_3.2.4-1_amd64.deb
+ ${SRC_PREFIX}/main/i/icu/libicu57_57.1-5_amd64.deb
+ ${SRC_PREFIX}/main/libb/libbluray/libbluray1_0.9.3-3_amd64.deb
+ ${SRC_PREFIX}/main/libe/libevent/libevent-2.0-5_2.0.21-stable-3_amd64.deb
+ ${SRC_PREFIX}/main/libo/libopenmpt/libopenmpt0_0.2.7386~beta20.3-3_amd64.deb
+ ${SRC_PREFIX}/main/libs/libssh/libssh-gcrypt-4_0.7.3-2_amd64.deb
+ ${SRC_PREFIX}/main/n/numactl/libnuma1_2.0.11-2.1_amd64.deb
+ ${SRC_PREFIX}/main/r/re2/libre2-3_20170101+dfsg-1_amd64.deb
+ ${SRC_PREFIX}/main/s/shine/libshine3_3.1.0-2.1_amd64.deb
+ ${SRC_PREFIX}/main/x/x265/libx265-95_2.1-2+b2_amd64.deb
+ "
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="app-arch/dpkg"
+RDEPEND="
+ app-accessibility/speech-dispatcher
+ app-arch/snappy
+ app-crypt/mit-krb5
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libevent
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/libgnome-keyring
+ media-libs/alsa-lib
+ media-libs/chromaprint:0/1
+ media-libs/flac
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/game-music-emu
+ media-libs/harfbuzz
+ >=media-libs/libjpeg-turbo-1.3.1
+ media-libs/libpng:0/16
+ media-libs/libvpx:0/4
+ media-libs/libwebp:0/7
+ media-libs/openjpeg:0/5
+ media-libs/opus
+ media-libs/schroedinger
+ media-libs/soxr
+ media-libs/x265
+ media-libs/xvid
+ media-libs/zvbi
+ >=media-sound/pulseaudio-2.0
+ media-sound/twolame
+ media-sound/wavpack
+ net-print/cups
+ sys-apps/dbus
+ >=sys-devel/gcc-4.9:*[cxx]
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+
+ x11-libs/libva
+ x11-libs/libvdpau
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/pango
+ "
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-53.0.2785.143_p1-gentoo.patch
+ epatch "${FILESDIR}"/${PN}-56.0.2924.76_p5-enable-remote-extensions.patch
+ eapply_user
+
+ local libdir="$(get_libdir)"
+ QA_PRESTRIPPED="
+ usr/${libdir}/chromium/chrome-sandbox
+ usr/${libdir}/chromium/chromium
+ usr/${libdir}/chromium/x86_64-linux-gnu/lib.\\+
+ "
+}
+
+src_install() {
+ mv usr etc "${D}"/ || die
+
+ local libdir="$(get_libdir)"
+ [[ "${libdir}" != lib ]] && {
+ mv "${D}"/usr/{lib,"${libdir}"} || die
+ }
+
+ # Make it find Debian libraries, sourced by /usr/bin/chromium
+ # While at it, we move them somewhere with less risk of collision
+ mv "${D}"/usr/lib64/{,chromium/}x86_64-linux-gnu/ || die
+ echo 'export LD_LIBRARY_PATH="/usr/lib64/chromium/x86_64-linux-gnu/${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"' \
+ > "${D}"/etc/chromium.d/ld-library-path
+
+ # Link to Flash (not in RDEPEND)
+ local flash_plugin_dir=/usr/${libdir}/firefox/plugins
+ dodir "${flash_plugin_dir}"
+ ln -s ../../nsbrowser/plugins/libflashplayer.so "${D}"/${flash_plugin_dir}/libflashplayer.so || die
+
+ # Otherwise:
+ # [14345:14345:0708/125539:FATAL:zygote_host_impl_linux.cc(140)]
+ # The SUID sandbox helper binary was found, but is not configured correctly.
+ # Rather than run without sandboxing I'm aborting now. You need to make sure
+ # that /usr/lib/chromium/chromium-sandbox is owned by root and has mode 4755.
+ # Aborted
+ chmod 4755 "${D}"/usr/${libdir}/${MY_PN}/chrome-sandbox || die
+}