summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kryczek <mkay@gentoo.org>2005-09-20 09:59:18 +0000
committerMarcin Kryczek <mkay@gentoo.org>2005-09-20 09:59:18 +0000
commit6eaf385939f62bb1fb9cc9731e0a6cc9c739609e (patch)
tree5201c86574364785e92eb44dbdbc888b6e957f8e /net-p2p/amule/amule-2.0.1.ebuild
parentmaildrop-1.8.1.2005* doesn't exist anymore (diff)
downloadgentoo-2-6eaf385939f62bb1fb9cc9731e0a6cc9c739609e.tar.gz
gentoo-2-6eaf385939f62bb1fb9cc9731e0a6cc9c739609e.tar.bz2
gentoo-2-6eaf385939f62bb1fb9cc9731e0a6cc9c739609e.zip
I forgot about rev. bump:| restoring old ebuilds and adding new without gtk2 flag
(Portage version: 1.589-cvs)
Diffstat (limited to 'net-p2p/amule/amule-2.0.1.ebuild')
-rw-r--r--net-p2p/amule/amule-2.0.1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/net-p2p/amule/amule-2.0.1.ebuild b/net-p2p/amule/amule-2.0.1.ebuild
index be1e989ce839..60c2abb5779d 100644
--- a/net-p2p/amule/amule-2.0.1.ebuild
+++ b/net-p2p/amule/amule-2.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.0.1.ebuild,v 1.6 2005/09/20 09:40:19 mkay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.0.1.ebuild,v 1.7 2005/09/20 09:59:18 mkay Exp $
inherit eutils flag-o-matic wxwidgets
@@ -14,7 +14,7 @@ SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc ~ppc64 ~sparc ~alpha"
-IUSE="amuled debug gtk nls remote stats unicode"
+IUSE="amuled debug gtk2 nls remote stats unicode"
DEPEND=">=x11-libs/wxGTK-2.6.0
@@ -27,8 +27,13 @@ DEPEND=">=x11-libs/wxGTK-2.6.0
pkg_setup() {
export WX_GTK_VER="2.6"
- need-wxwidgets gtk
- use unicode && need-wxwidgets unicode
+ if ! use gtk2; then
+ need-wxwidgets gtk
+ elif use unicode; then
+ need-wxwidgets unicode
+ else
+ need-wxwidgets gtk2
+ fi
}
src_unpack() {