summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2012-01-27 11:45:32 +0000
committerJory Pratt <anarchy@gentoo.org>2012-01-27 11:45:32 +0000
commit495b30d9fb2361be379b26fafe032bf46a7144d2 (patch)
treed49fa7bb99fa11223858b64a3a07b15d94029704 /net-misc
parentversion bump, add reload functionnality to init script (diff)
downloadgentoo-2-495b30d9fb2361be379b26fafe032bf46a7144d2.tar.gz
gentoo-2-495b30d9fb2361be379b26fafe032bf46a7144d2.tar.bz2
gentoo-2-495b30d9fb2361be379b26fafe032bf46a7144d2.zip
Give the option for a mac4lin icon theme
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/wicd/ChangeLog5
-rw-r--r--net-misc/wicd/metadata.xml1
-rw-r--r--net-misc/wicd/wicd-1.7.1_pre20120127.ebuild12
3 files changed, 14 insertions, 4 deletions
diff --git a/net-misc/wicd/ChangeLog b/net-misc/wicd/ChangeLog
index b6fcf06f3773..7f8d2c034fd0 100644
--- a/net-misc/wicd/ChangeLog
+++ b/net-misc/wicd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/wicd
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.105 2012/01/27 10:06:46 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.106 2012/01/27 11:45:32 anarchy Exp $
+
+ 27 Jan 2012; <anarchy@gentoo.org> wicd-1.7.1_pre20120127.ebuild:
+ Give the option for a mac4lin icon theme
*wicd-1.7.1_pre20120127 (27 Jan 2012)
diff --git a/net-misc/wicd/metadata.xml b/net-misc/wicd/metadata.xml
index c4cdd7183df9..9588531c3f36 100644
--- a/net-misc/wicd/metadata.xml
+++ b/net-misc/wicd/metadata.xml
@@ -14,6 +14,7 @@
intended behavior. Requires <pkg>dev-python/pygtk</pkg></flag>
<flag name='ioctl'>Installs additional python libraries to use as a backend.
This will improve speed but is experimental.</flag>
+ <flag name='mac4lin'>Change default icons to mac4lin icon set</flag>
<flag name='ncurses'>Installs a ncurses UI</flag>
<flag name='pm-utils'>Installs the pm-utils hooks for suspend/resume and
requires <pkg>sys-power/pm-utils</pkg></flag>
diff --git a/net-misc/wicd/wicd-1.7.1_pre20120127.ebuild b/net-misc/wicd/wicd-1.7.1_pre20120127.ebuild
index dab5f77bae1f..f1616a75b0dd 100644
--- a/net-misc/wicd/wicd-1.7.1_pre20120127.ebuild
+++ b/net-misc/wicd/wicd-1.7.1_pre20120127.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20120127.ebuild,v 1.1 2012/01/27 10:06:46 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20120127.ebuild,v 1.2 2012/01/27 11:45:32 anarchy Exp $
EAPI=3
@@ -17,12 +17,13 @@ S="${WORKDIR}/${MY_PV}"
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"
+SRC_URI="http://dev.gentoo.org/~tomka/files/${P}.tar.gz
+ mac4lin? ( http://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="X +gtk ioctl libnotify ncurses nls +pm-utils"
+IUSE="X +gtk ioctl libnotify mac4lin ncurses nls +pm-utils"
DEPEND=""
# Maybe virtual/dhcp would work, but there are enough problems with
@@ -94,6 +95,11 @@ src_install() {
|| die "keepdir failed, critical for this app"
use nls || rm -rf "${D}"/usr/share/locale
systemd_dounit "${S}/other/wicd.service"
+
+ 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
}
pkg_postinst() {