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

Collapse All | Expand All

(-)conky-1.7.0_rc1.ebuild (-6 / +26 lines)
Lines 14-20 Link Here
14
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
14
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
16
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
17
IUSE="audacious bmpx debug hddtemp ibm ipv6 moc mpd nano-syntax nvidia rss truetype vim-syntax wifi X"
17
IUSE="audacious bmpx debug hddtemp imlib2 ipv6 lua moc mpd nano-syntax openmp nvidia rss thinkpad truetype vim-syntax wifi X"
18
18
19
DEPEND_COMMON="
19
DEPEND_COMMON="
20
	X? (
20
	X? (
Lines 36-42 Link Here
36
			)
36
			)
37
	wifi? ( net-wireless/wireless-tools )
37
	wifi? ( net-wireless/wireless-tools )
38
	nvidia? ( media-video/nvidia-settings )
38
	nvidia? ( media-video/nvidia-settings )
39
	!ipv6? ( >=dev-libs/glib-2.0 )"
39
	!ipv6? ( >=dev-libs/glib-2.0 )
40
	lua? ( >=dev-lang/lua-5.1 )
41
	imlib2? ( media-libs/imlib2 )
42
	"
40
RDEPEND="${DEPEND_COMMON}
43
RDEPEND="${DEPEND_COMMON}
41
	hddtemp? ( app-admin/hddtemp )
44
	hddtemp? ( app-admin/hddtemp )
42
	vim-syntax? ( || ( app-editors/vim
45
	vim-syntax? ( || ( app-editors/vim
Lines 61-73 Link Here
61
		myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
64
		myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
62
		myconf="${myconf} --disable-xft"
65
		myconf="${myconf} --disable-xft"
63
	fi
66
	fi
67
68
	# openmp support only works with >=sys-devel/gcc-4.3
69
	# see bug #223825
70
	if use openmp && built_with_use --missing false sys-devel/gcc openmp; then
71
		if [[ "$(gcc-version)" == "4.2" ]] ; then
72
			ewarn "you need >=sys-devel/gcc-4.3 to be able to use openmp, disabling."
73
			myconf="${myconf} --disable-openmp"
74
		else
75
			myconf="${myconf} --enable-openmp"
76
		fi
77
	else
78
		elog "disabling openmp support (gcc is not built with openmp support)"
79
		myconf="${myconf} --disable-openmp"
80
	fi
81
64
	econf \
82
	econf \
65
		${myconf} \
83
		${myconf} \
66
		$(use_enable audacious) \
84
		$(use_enable audacious) \
67
		$(use_enable bmpx) \
85
		$(use_enable bmpx) \
68
		$(use_enable debug) \
86
		$(use_enable debug) \
69
		$(use_enable hddtemp ) \
87
		$(use_enable hddtemp) \
70
		$(use_enable ibm) \
88
		$(use_enable imlib2) \
89
		$(use_enable lua) \
90
		$(use_enable thinkpad ibm) \
71
		$(use_enable moc) \
91
		$(use_enable moc) \
72
		$(use_enable mpd) \
92
		$(use_enable mpd) \
73
		$(use_enable nvidia) \
93
		$(use_enable nvidia) \
Lines 116-123 Link Here
116
	elog
136
	elog
117
	elog "For more info on Conky's new features,"
137
	elog "For more info on Conky's new features,"
118
	elog "please look at the README and ChangeLog:"
138
	elog "please look at the README and ChangeLog:"
119
	elog "/usr/share/doc/${PF}/README.bz2"
139
	elog "/usr/share/doc/${PF}/README"
120
	elog "/usr/share/doc/${PF}/ChangeLog.bz2"
140
	elog "/usr/share/doc/${PF}/ChangeLog"
121
	elog "There are also pretty html docs available"
141
	elog "There are also pretty html docs available"
122
	elog "on Conky's site or in /usr/share/doc/${PF}"
142
	elog "on Conky's site or in /usr/share/doc/${PF}"
123
	elog
143
	elog

Return to bug 273264