diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-11-16 15:36:27 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-11-16 15:36:27 +0000 |
commit | 9c332a13d75d8b0d349244e8d616905a3f921d18 (patch) | |
tree | af83fbb122942ac571575d3cbe4093541a7f2066 /x11-wm/icewm/icewm-1.2.37.ebuild | |
parent | Version bump, bug 280908. (diff) | |
download | historical-9c332a13d75d8b0d349244e8d616905a3f921d18.tar.gz historical-9c332a13d75d8b0d349244e8d616905a3f921d18.tar.bz2 historical-9c332a13d75d8b0d349244e8d616905a3f921d18.zip |
Enabling support of icewm-menu-gnome2 bug 205133
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'x11-wm/icewm/icewm-1.2.37.ebuild')
-rw-r--r-- | x11-wm/icewm/icewm-1.2.37.ebuild | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/x11-wm/icewm/icewm-1.2.37.ebuild b/x11-wm/icewm/icewm-1.2.37.ebuild index f2e43e80f2e8..31c425f49016 100644 --- a/x11-wm/icewm/icewm-1.2.37.ebuild +++ b/x11-wm/icewm/icewm-1.2.37.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.37.ebuild,v 1.3 2009/11/11 21:25:27 vostorga Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.37.ebuild,v 1.4 2009/11/16 15:36:27 vostorga Exp $ -inherit eutils +inherit eutils autotools DESCRIPTION="Ice Window Manager with Themes" @@ -18,7 +18,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="esd imlib nls truetype xinerama minimal debug uclibc" +IUSE="esd gnome imlib nls truetype xinerama minimal debug uclibc" RDEPEND="x11-libs/libX11 x11-libs/libXrandr @@ -30,6 +30,7 @@ RDEPEND="x11-libs/libX11 x11-libs/libICE xinerama? ( x11-libs/libXinerama ) esd? ( media-sound/esound ) + gnome? ( gnome-base/gnome-desktop ) imlib? ( >=media-libs/imlib-1.9.10-r1 ) nls? ( sys-devel/gettext ) truetype? ( >=media-libs/freetype-2.0.9 ) @@ -57,6 +58,12 @@ src_unpack() { echo "#!/bin/sh" > "$T/icewm" echo "/usr/bin/icewm-session" >> "$T/icewm" + + cd "${S}" + #Fixing gnome2 support + epatch "${FILESDIR}/${P}-gnome2.patch" + + eautoreconf } src_compile() { @@ -74,6 +81,7 @@ src_compile() { --with-cfgdir=/etc/icewm --with-docdir=/usr/share/doc/${PF}/html $(use_with esd esd-config /usr/bin/esd-config) + $(use_enable gnome menus-gnome2) $(use_enable nls) $(use_enable nls i18n) $(use_with imlib) @@ -101,3 +109,11 @@ src_install(){ insinto /usr/share/xsessions doins "${FILESDIR}/IceWM.desktop" } + +pkg_postinst() { + if use gnome; then + elog "You have enabled gnome USE flag which provides icewm-menu-gnome2 ." + elog "It is used internally and generates IceWM program menus from" + elog "FreeDesktop .desktop files" + fi +} |