Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 547630 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/www-client/chromium/chromium-44.0.2403.89.ebuild (-3 / +14 lines)
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 362-368 Link Here
362
		$(gyp_use hotwording enable_hotwording)
366
		$(gyp_use hotwording enable_hotwording)
363
		$(gyp_use kerberos)
367
		$(gyp_use kerberos)
364
		$(gyp_use pulseaudio)
368
		$(gyp_use pulseaudio)
365
		$(gyp_use tcmalloc use_allocator tcmalloc none)"
369
		$(gyp_use tcmalloc use_allocator tcmalloc none)
370
		$(gyp_use widevine enable_widevine)"
366
371
367
	# Use explicit library dependencies instead of dlopen.
372
	# Use explicit library dependencies instead of dlopen.
368
	# This makes breakages easier to detect by revdep-rebuild.
373
	# This makes breakages easier to detect by revdep-rebuild.
Lines 463-468 Link Here
463
		fi
468
		fi
464
	fi
469
	fi
465
470
471
	append-cppflags '-DWIDEVINE_CDM_VERSION_STRING=\"DRMSUCKS\"'
472
466
	# Make sure the build system will use the right tools, bug #340795.
473
	# Make sure the build system will use the right tools, bug #340795.
467
	tc-export AR CC CXX RANLIB
474
	tc-export AR CC CXX RANLIB
468
475
Lines 582-587 Link Here
582
	newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
589
	newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
583
	newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
590
	newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
584
591
592
	if use widevine; then
593
		doexe out/Release/libwidevinecdmadapter.so
594
	fi
595
585
	# Install icons and desktop entry.
596
	# Install icons and desktop entry.
586
	local branding size
597
	local branding size
587
	for size in 16 22 24 32 48 64 128 256 ; do
598
	for size in 16 22 24 32 48 64 128 256 ; do

Return to bug 547630