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 (-11 / +18 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 imlib 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 25-30 Link Here
25
		x11-libs/libXrender
25
		x11-libs/libXrender
26
		x11-libs/libXdamage
26
		x11-libs/libXdamage
27
		x11-libs/libXft
27
		x11-libs/libXft
28
		openmp? ( >=sys-devel/gcc-4.3[openmp] )
28
		truetype? ( >=media-libs/freetype-2 )
29
		truetype? ( >=media-libs/freetype-2 )
29
		audacious? ( >=media-sound/audacious-1.5 )
30
		audacious? ( >=media-sound/audacious-1.5 )
30
		bmpx? ( media-sound/bmpx
31
		bmpx? ( media-sound/bmpx
Lines 36-42 Link Here
36
			)
37
			)
37
	wifi? ( net-wireless/wireless-tools )
38
	wifi? ( net-wireless/wireless-tools )
38
	nvidia? ( media-video/nvidia-settings )
39
	nvidia? ( media-video/nvidia-settings )
39
	!ipv6? ( >=dev-libs/glib-2.0 )"
40
	!ipv6? ( >=dev-libs/glib-2.0 )
41
	lua? ( >=dev-lang/lua-5.1 )
42
	imlib? ( media-libs/imlib2 )
43
	"
40
RDEPEND="${DEPEND_COMMON}
44
RDEPEND="${DEPEND_COMMON}
41
	hddtemp? ( app-admin/hddtemp )
45
	hddtemp? ( app-admin/hddtemp )
42
	vim-syntax? ( || ( app-editors/vim
46
	vim-syntax? ( || ( app-editors/vim
Lines 53-76 Link Here
53
57
54
src_configure() {
58
src_configure() {
55
	local myconf
59
	local myconf
56
	myconf="--enable-proc-uptime"
57
	if useq X; then
60
	if useq X; then
58
		myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window"
61
		myconf="--enable-x11 --enable-double-buffer --enable-xdamage"
59
		myconf="${myconf} $(use_enable truetype xft)"
62
		myconf="${myconf} --enable-own-window $(use_enable truetype xft)"
60
	else
63
	else
61
		myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
64
		myconf="--disable-x11 --disable-double-buffer --disable-xdamage"
62
		myconf="${myconf} --disable-xft"
65
		myconf="${myconf} --disable-own-window --disable-xft"
63
	fi
66
	fi
67
64
	econf \
68
	econf \
65
		${myconf} \
69
		${myconf} \
66
		$(use_enable audacious) \
70
		$(use_enable audacious) \
67
		$(use_enable bmpx) \
71
		$(use_enable bmpx) \
68
		$(use_enable debug) \
72
		$(use_enable debug) \
69
		$(use_enable hddtemp ) \
73
		$(use_enable hddtemp) \
70
		$(use_enable ibm) \
74
		$(use_enable imlib) \
75
		$(use_enable lua) \
76
		$(use_enable thinkpad ibm) \
71
		$(use_enable moc) \
77
		$(use_enable moc) \
72
		$(use_enable mpd) \
78
		$(use_enable mpd) \
73
		$(use_enable nvidia) \
79
		$(use_enable nvidia) \
80
		$(use_enable openmp) \
74
		$(use_enable rss) \
81
		$(use_enable rss) \
75
		$(use_enable wifi wlan) \
82
		$(use_enable wifi wlan) \
76
		$(use_enable !ipv6 portmon) || die "econf failed"
83
		$(use_enable !ipv6 portmon) || die "econf failed"
Lines 116-123 Link Here
116
	elog
123
	elog
117
	elog "For more info on Conky's new features,"
124
	elog "For more info on Conky's new features,"
118
	elog "please look at the README and ChangeLog:"
125
	elog "please look at the README and ChangeLog:"
119
	elog "/usr/share/doc/${PF}/README.bz2"
126
	elog "/usr/share/doc/${PF}/README"
120
	elog "/usr/share/doc/${PF}/ChangeLog.bz2"
127
	elog "/usr/share/doc/${PF}/ChangeLog"
121
	elog "There are also pretty html docs available"
128
	elog "There are also pretty html docs available"
122
	elog "on Conky's site or in /usr/share/doc/${PF}"
129
	elog "on Conky's site or in /usr/share/doc/${PF}"
123
	elog
130
	elog

Return to bug 273264