| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.3.1.ebuild,v 1.1 2012/03/27 15:28:42 blueness Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.3.1.ebuild,v 1.2 2012/08/09 12:53:06 blueness Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | # cmake-utils needs to be last, so we get its src_compile() |
7 | # cmake-utils needs to be last, so we get its src_compile() |
| 8 | inherit eutils qt4-r2 cmake-utils |
8 | inherit eutils qt4-r2 cmake-utils |
| … | |
… | |
| 20 | RDEPEND="${DEPEND} |
20 | RDEPEND="${DEPEND} |
| 21 | tor? ( net-misc/tor )" |
21 | tor? ( net-misc/tor )" |
| 22 | |
22 | |
| 23 | DOCS="CHANGELOG CREDITS README" |
23 | DOCS="CHANGELOG CREDITS README" |
| 24 | |
24 | |
|
|
25 | src_prepare() { |
|
|
26 | epatch "${FILESDIR}"/${PN}-0.3.1-gcc-4.7.patch |
|
|
27 | } |
|
|
28 | |
| 25 | pkg_postinst() { |
29 | pkg_postinst() { |
| 26 | ewarn |
30 | ewarn |
| 27 | if use tor; then |
31 | if use tor; then |
| 28 | ewarn "To have vidalia starting tor, you probably have to copy" |
32 | ewarn "To have vidalia starting tor, you probably have to copy" |
| 29 | ewarn "/etc/tor/torrc.sample to the users ~/.tor/torrc and comment" |
33 | ewarn "/etc/tor/torrc.sample to the users ~/.tor/torrc and comment" |