# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0_rc3_p4983.ebuild,v 1.10 2007/10/11 18:19:43 lack Exp $ inherit eutils autotools versionator IUSE="nls xinerama truetype kde gnome imlib disableslit disabletoolbar" DESCRIPTION="Fluxbox is an X11 window manager featuring tabs and an iconbar" MY_P="fluxbox-1.0rc3" MY_PBASE=$(get_version_component_range 1-3) MY_SVN=$(get_version_component_range 4) S="${WORKDIR}/${MY_P}" SRC_URI="mirror://sourceforge/fluxbox/${MY_P}.tar.bz2 mirror://gentoo/${P}.patch.gz" HOMEPAGE="http://www.fluxbox.org" # Please note that USE="kde gnome" simply adds support for the respective # protocols, and does not depend on external libraries. They do, however, # make the binary a fair bit bigger, so we don't want to turn them on unless # the user actually wants them. RDEPEND="x11-libs/libXpm x11-libs/libXrandr xinerama? ( x11-libs/libXinerama ) x11-apps/xmessage virtual/xft truetype? ( media-libs/freetype ) imlib? ( >=media-libs/imlib2-1.2.0 ) ! "${D}/etc/X11/Sessions/fluxbox" fperms a+x /etc/X11/Sessions/fluxbox dodir /usr/share/fluxbox/menu.d # Styles menu framework dodir /usr/share/fluxbox/menu.d/styles insinto /usr/share/fluxbox/menu.d/styles doins "${FILESDIR}/styles-menu-fluxbox" || die doins "${FILESDIR}/styles-menu-commonbox" || die doins "${FILESDIR}/styles-menu-user" || die }