--- wicd-1.7.1_pre20120127.ebuild 2012-01-28 12:29:27.751561033 +0900 +++ wicd-1.7.1_pre20120127.ebuild_ambiance 2012-01-28 23:30:38.426807112 +0900 @@ -18,12 +18,15 @@ DESCRIPTION="A lightweight wired and wireless network manager for Linux" HOMEPAGE="http://wicd.sourceforge.net/" SRC_URI="http://dev.gentoo.org/~tomka/files/${P}.tar.gz - mac4lin? ( http://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz )" + mac4lin? ( http://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz ) + ambiance? ( + http://freetimesblog.altervista.org/blog/wp-content/uploads/downloads/2010/05/Icone-Wicd-Lucid.tar.gz + )" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 ~x86" -IUSE="X +gtk ioctl libnotify mac4lin ncurses nls +pm-utils" +IUSE="X ambiance +gtk ioctl libnotify mac4lin ncurses nls +pm-utils" DEPEND="" # Maybe virtual/dhcp would work, but there are enough problems with @@ -100,6 +103,12 @@ rm -rf "${D}"/usr/share/pixmaps/wicd || die "Failed to remove old icons" mv "${WORKDIR}"/wicd "${D}"/usr/share/pixmaps/ fi + if use ambiance; then + # Overwrite tray icons only + einfo "Replacing default tray icons with ambiance tray icons" + rm "${WORKDIR}/Icone Wicd Lucid"/signal* + cp "${WORKDIR}/Icone Wicd Lucid"/*.png "${D}"/usr/share/pixmaps/wicd/ + fi } pkg_postinst() {