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

Collapse All | Expand All

(-)firefox-bin-52.0.1.ebuild (-3 / +14 lines)
Lines 31-37 Link Here
31
KEYWORDS="-* ~amd64 ~x86"
31
KEYWORDS="-* ~amd64 ~x86"
32
SLOT="0"
32
SLOT="0"
33
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
33
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
34
IUSE="selinux startup-notification"
34
IUSE="apulse pulseaudio selinux startup-notification"
35
35
36
DEPEND="app-arch/unzip"
36
DEPEND="app-arch/unzip"
37
RDEPEND="dev-libs/atk
37
RDEPEND="dev-libs/atk
Lines 54-59 Link Here
54
	x11-libs/libXt
54
	x11-libs/libXt
55
	>=x11-libs/pango-1.22.0
55
	>=x11-libs/pango-1.22.0
56
	virtual/freedesktop-icon-theme
56
	virtual/freedesktop-icon-theme
57
	apulse? ( >=media-sound/apulse-0.1.9 )
58
	pulseaudio? ( media-sound/pulseaudio )
57
	selinux? ( sec-policy/selinux-mozilla )
59
	selinux? ( sec-policy/selinux-mozilla )
58
"
60
"
59
61
Lines 134-141 Link Here
134
	unset LD_PRELOAD
136
	unset LD_PRELOAD
135
	LD_LIBRARY_PATH="/opt/firefox/"
137
	LD_LIBRARY_PATH="/opt/firefox/"
136
	GTK_PATH=/usr/lib/gtk-2.0/
138
	GTK_PATH=/usr/lib/gtk-2.0/
137
	exec /opt/${MOZ_PN}/${MOZ_PN} "\$@"
138
	EOF
139
	EOF
140
	if use apulse; then
141
		echo "apulse /opt/${MOZ_PN}/${MOZ_PN} \"\$@\"" >>"${ED}"usr/bin/${PN}
142
	else
143
		echo "exec /opt/${MOZ_PN}/${MOZ_PN} \"\$@\"" >>"${ED}"usr/bin/${PN}
144
	fi
139
	fperms 0755 /usr/bin/${PN}
145
	fperms 0755 /usr/bin/${PN}
140
146
141
	# revdep-rebuild entry
147
	# revdep-rebuild entry
Lines 162-168 Link Here
162
		einfo "gnome-base/orbit and net-misc/curl emerged."
168
		einfo "gnome-base/orbit and net-misc/curl emerged."
163
		einfo
169
		einfo
164
	fi
170
	fi
165
	einfo "For HTML5 video you need media-video/ffmpeg installed."
171
	if ! has_version 'media-video/ffmpeg'; then
172
		einfo "For HTML5 video you need media-video/ffmpeg installed."
173
	fi
174
	if ! use apulse && ! use pulseaudio; then
175
		einfo "For HTML sound you need to enable apulse or pulseaudio"
176
	fi
166
177
167
	# Drop requirement of curl not built with nss as it's not necessary anymore
178
	# Drop requirement of curl not built with nss as it's not necessary anymore
168
	#if has_version 'net-misc/curl[nss]'; then
179
	#if has_version 'net-misc/curl[nss]'; then

Return to bug 615000