Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 578628
Collapse All | Expand All

(-)a/chemical-mime-data-0.1.94-r3.ebuild (-1 / +11 lines)
Lines 12-18 Link Here
12
LICENSE="LGPL-2.1"
12
LICENSE="LGPL-2.1"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="amd64 arm arm64 x86"
14
KEYWORDS="amd64 arm arm64 x86"
15
IUSE=""
15
IUSE="opencl"
16
17
# With opencl, write acces to /dev/dri/card0 is needed and the portage
18
# user is (usually) not in the video group
19
# See #578628 and references therein.
20
RESTRICT="userpriv"
16
21
17
RDEPEND="
22
RDEPEND="
18
	gnome-base/gnome-mime-data
23
	gnome-base/gnome-mime-data
Lines 41-46 Link Here
41
}
46
}
42
47
43
src_configure() {
48
src_configure() {
49
	if use opencl; then
50
		addwrite /dev/dri/card0
51
		addwrite /proc/mtrr
52
	fi
53
44
	local myeconfargs=(
54
	local myeconfargs=(
45
		--disable-update-database
55
		--disable-update-database
46
		--htmldir=/usr/share/doc/${PF}/html
56
		--htmldir=/usr/share/doc/${PF}/html

Return to bug 578628