--- /usr/portage/app-admin/conky/conky-1.8.1.ebuild 2010-10-06 23:35:34.000000000 +0400 +++ /home/sterkrig/overlay/app-admin/conky/conky-1.8.1-r1.ebuild 2010-10-07 18:48:29.000000000 +0400 @@ -13,7 +13,7 @@ LICENSE="GPL-3 BSD LGPL-2.1 MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2" +IUSE="apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses noxdamage nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2" DEPEND_COMMON=" X? ( @@ -23,7 +23,7 @@ nvidia? ( media-video/nvidia-settings ) truetype? ( x11-libs/libXft >=media-libs/freetype-2 ) x11-libs/libX11 - x11-libs/libXdamage + !noxdamage? ( x11-libs/libXdamage ) x11-libs/libXext audacious? ( >=media-sound/audacious-1.5 dev-libs/glib ) xmms2? ( media-sound/xmms2 ) @@ -60,7 +60,10 @@ local myconf if use X; then - myconf="--enable-x11 --enable-double-buffer --enable-xdamage" + myconf="--enable-x11 --enable-double-buffer" + if not use noxdamage; then + myconf="${myconf} --enable-xdamage" + fi myconf="${myconf} --enable-argb --enable-own-window" myconf="${myconf} $(use_enable imlib imlib2) $(use_enable lua-cairo)" myconf="${myconf} $(use_enable lua-imlib lua-imlib2)"