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

(-)a/media-plugins/alsa-plugins/alsa-plugins-1.1.8-r1.ebuild (-5 / +3 lines)
Lines 81-91 multilib_src_install_all() { Link Here
81
		doins "${FILESDIR}"/pulse-default.conf
81
		doins "${FILESDIR}"/pulse-default.conf
82
		insinto /usr/share/alsa/alsa.conf.d
82
		insinto /usr/share/alsa/alsa.conf.d
83
		doins "${FILESDIR}"/51-pulseaudio-probe.conf
83
		doins "${FILESDIR}"/51-pulseaudio-probe.conf
84
		# bug #410261, comment 5+
84
		dosym {/usr/share/alsa/alsa.conf.d,/etc/alsa/conf.d}/51-pulseaudio-probe.conf
85
		# seems to work fine without any path
85
		# This example is similar to our pulse-default.conf
86
		sed -i \
86
		rm -f "${ED%/}"/etc/alsa/conf.d/99-pulseaudio-default.conf.example || die
87
			-e "s:/usr/lib/alsa-lib/::" \
88
			"${ED%/}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261
89
	fi
87
	fi
90
88
91
	find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
89
	find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
(-)a/media-plugins/alsa-plugins/files/51-pulseaudio-probe.conf (-1 / +1 lines)
Lines 2-8 Link Here
2
# default output for applications using alsa when pulseaudio is running.
2
# default output for applications using alsa when pulseaudio is running.
3
3
4
hook_func.pulse_load_if_running {
4
hook_func.pulse_load_if_running {
5
	lib "/usr/lib/alsa-lib/libasound_module_conf_pulse.so"
5
	lib "libasound_module_conf_pulse.so"
6
	func "conf_pulse_hook_load_if_running"
6
	func "conf_pulse_hook_load_if_running"
7
}
7
}
8
8

Return to bug 681628