commit: de41b779f3f54ae334faffb1443c90c4d320d764 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Sun Mar 5 22:31:07 2017 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Sun Mar 5 22:38:41 2017 +0000 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=de41b779
www-client/chromium-bin-debian: Prevent collisions, allow installing extensions ...6_p5.ebuild => chromium-bin-debian-56.0.2924.76_p5-r1.ebuild} | 5 ++++- ...ium-bin-debian-56.0.2924.76_p5-enable-remote-extensions.patch | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5.ebuild b/www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5-r1.ebuild similarity index 91% rename from www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5.ebuild rename to www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5-r1.ebuild index c273d6e..e2775e1 100644 --- a/www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5.ebuild +++ b/www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5-r1.ebuild @@ -91,6 +91,7 @@ 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 } src_install() { @@ -102,7 +103,9 @@ src_install() { } # Make it find Debian libraries, sourced by /usr/bin/chromium - echo 'export LD_LIBRARY_PATH="/usr/lib64/x86_64-linux-gnu/${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"' \ + # 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) diff --git a/www-client/chromium-bin-debian/files/chromium-bin-debian-56.0.2924.76_p5-enable-remote-extensions.patch b/www-client/chromium-bin-debian/files/chromium-bin-debian-56.0.2924.76_p5-enable-remote-extensions.patch new file mode 100644 index 0000000..e08f1c3 --- /dev/null +++ b/www-client/chromium-bin-debian/files/chromium-bin-debian-56.0.2924.76_p5-enable-remote-extensions.patch @@ -0,0 +1,9 @@ +--- a/etc/chromium.d/default-flags 2017-03-05 23:33:32.296413527 +0100 ++++ b/etc/chromium.d/default-flags 2017-03-05 23:34:46.041613523 +0100 +@@ -14,3 +14,6 @@ + + # Disable the builtin media router (bug #833477) + export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --media-router=0" ++ ++# Allow installing browser extensions ++export CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --enable-remote-extensions"