--- wicd-1.7.1_pre20120127.ebuild 2012-01-28 12:29:27.751561033 +0900 +++ wicd-1.7.1_pre20120127.ebuild_ambiance 2012-01-28 12:27:50.795429717 +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 @@ -96,10 +99,14 @@ use nls || rm -rf "${D}"/usr/share/locale systemd_dounit "${S}/other/wicd.service" - if use mac4lin; then + if use mac4lin ; then 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 + rm -rf "${D}"/usr/share/pixmaps/wicd || die "Failed to remove old icons" + mv "${WORKDIR}/Icone Wicd Lucid" "${D}"/usr/share/pixmaps/wicd + fi } pkg_postinst() {