| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/wbar-2.3.0.ebuild,v 1.5 2012/07/23 06:16:34 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit eutils flag-o-matic
|
| 8 |
|
| 9 |
DESCRIPTION="A fast, lightweight quick launch bar"
|
| 10 |
HOMEPAGE="http://code.google.com/p/wbar/"
|
| 11 |
SRC_URI="http://${PN}.googlecode.com/files/${PN}_${PV}.orig.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-3"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 x86"
|
| 16 |
IUSE="gtk"
|
| 17 |
|
| 18 |
RDEPEND="media-libs/imlib2[X]
|
| 19 |
virtual/init
|
| 20 |
x11-libs/libX11
|
| 21 |
gtk? ( gnome-base/libglade
|
| 22 |
media-libs/freetype:2
|
| 23 |
x11-libs/gdk-pixbuf:2
|
| 24 |
x11-libs/gtk+:2 )"
|
| 25 |
DEPEND="${RDEPEND}
|
| 26 |
dev-util/intltool
|
| 27 |
sys-devel/gettext
|
| 28 |
virtual/pkgconfig"
|
| 29 |
|
| 30 |
src_prepare() {
|
| 31 |
use gtk || epatch "${FILESDIR}"/${P}-cfg.patch
|
| 32 |
}
|
| 33 |
|
| 34 |
src_configure() {
|
| 35 |
append-flags -Wno-error
|
| 36 |
econf \
|
| 37 |
$(use_enable gtk wbar-config)
|
| 38 |
}
|