Lines 19-25
Link Here
|
19 |
LICENSE="BSD hotwording? ( no-source-code )" |
19 |
LICENSE="BSD hotwording? ( no-source-code )" |
20 |
SLOT="0" |
20 |
SLOT="0" |
21 |
KEYWORDS="amd64 ~arm x86" |
21 |
KEYWORDS="amd64 ~arm x86" |
22 |
IUSE="cups gnome gnome-keyring hidpi hotwording kerberos neon pic +proprietary-codecs pulseaudio selinux +tcmalloc" |
22 |
IUSE="cups gnome gnome-keyring hidpi hotwording kerberos neon pic +proprietary-codecs pulseaudio selinux +tcmalloc +widevine" |
23 |
RESTRICT="proprietary-codecs? ( bindist )" |
23 |
RESTRICT="proprietary-codecs? ( bindist )" |
24 |
|
24 |
|
25 |
# Native Client binaries are compiled with different set of flags, bug #452066. |
25 |
# Native Client binaries are compiled with different set of flags, bug #452066. |
Lines 91-97
Link Here
|
91 |
sys-apps/hwids[usb(+)] |
91 |
sys-apps/hwids[usb(+)] |
92 |
>=sys-devel/bison-2.4.3 |
92 |
>=sys-devel/bison-2.4.3 |
93 |
sys-devel/flex |
93 |
sys-devel/flex |
94 |
virtual/pkgconfig" |
94 |
virtual/pkgconfig |
|
|
95 |
widevine? ( www-plugins/chrome-binary-plugins[widevine] )" |
95 |
|
96 |
|
96 |
# For nvidia-drivers blocker, see bug #413637 . |
97 |
# For nvidia-drivers blocker, see bug #413637 . |
97 |
RDEPEND+=" |
98 |
RDEPEND+=" |
Lines 122-127
Link Here
|
122 |
EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; |
123 |
EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; |
123 |
fi |
124 |
fi |
124 |
|
125 |
|
|
|
126 |
# TODO: flag-mask widevine in non-intel profiles in lieu of this |
127 |
REQUIRED_USE="|| ( x86 amd64 !widevine )" |
128 |
|
125 |
DISABLE_AUTOFORMATTING="yes" |
129 |
DISABLE_AUTOFORMATTING="yes" |
126 |
DOC_CONTENTS=" |
130 |
DOC_CONTENTS=" |
127 |
Some web pages may require additional fonts to display properly. |
131 |
Some web pages may require additional fonts to display properly. |
Lines 188-193
Link Here
|
188 |
|
192 |
|
189 |
epatch "${FILESDIR}/${PN}-system-jinja-r7.patch" |
193 |
epatch "${FILESDIR}/${PN}-system-jinja-r7.patch" |
190 |
|
194 |
|
|
|
195 |
# Retrieve the widevine CDM version from the widevine.version file |
196 |
epatch "${FILESDIR}/${PN}-widevine-version.patch" |
197 |
|
191 |
epatch_user |
198 |
epatch_user |
192 |
|
199 |
|
193 |
# Remove most bundled libraries. Some are still needed. |
200 |
# Remove most bundled libraries. Some are still needed. |
Lines 362-368
Link Here
|
362 |
$(gyp_use hotwording enable_hotwording) |
369 |
$(gyp_use hotwording enable_hotwording) |
363 |
$(gyp_use kerberos) |
370 |
$(gyp_use kerberos) |
364 |
$(gyp_use pulseaudio) |
371 |
$(gyp_use pulseaudio) |
365 |
$(gyp_use tcmalloc use_allocator tcmalloc none)" |
372 |
$(gyp_use tcmalloc use_allocator tcmalloc none) |
|
|
373 |
$(gyp_use widevine enable_widevine)" |
366 |
|
374 |
|
367 |
# Use explicit library dependencies instead of dlopen. |
375 |
# Use explicit library dependencies instead of dlopen. |
368 |
# This makes breakages easier to detect by revdep-rebuild. |
376 |
# This makes breakages easier to detect by revdep-rebuild. |
Lines 582-587
Link Here
|
582 |
newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die |
590 |
newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die |
583 |
newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die |
591 |
newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die |
584 |
|
592 |
|
|
|
593 |
if use widevine; then |
594 |
doexe out/Release/libwidevinecdmadapter.so |
595 |
fi |
596 |
|
585 |
# Install icons and desktop entry. |
597 |
# Install icons and desktop entry. |
586 |
local branding size |
598 |
local branding size |
587 |
for size in 16 22 24 32 48 64 128 256 ; do |
599 |
for size in 16 22 24 32 48 64 128 256 ; do |