| 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/nitrogen/nitrogen-1.5.2.ebuild,v 1.2 2012/05/05 04:53:45 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit autotools eutils
|
| 7 |
|
| 8 |
DESCRIPTION="A background browser and setter for X"
|
| 9 |
HOMEPAGE="http://projects.l3ib.org/nitrogen/"
|
| 10 |
SRC_URI="http://projects.l3ib.org/${PN}/files/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
IUSE="nls xinerama"
|
| 16 |
|
| 17 |
RDEPEND=">=dev-cpp/gtkmm-2.10:2.4
|
| 18 |
>=gnome-base/librsvg-2.20:2
|
| 19 |
>=x11-libs/gtk+-2.10:2
|
| 20 |
xinerama? ( x11-libs/libXinerama )"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
virtual/pkgconfig
|
| 23 |
nls? ( sys-devel/gettext )
|
| 24 |
xinerama? ( x11-proto/xineramaproto )"
|
| 25 |
|
| 26 |
src_prepare() {
|
| 27 |
epatch "${FILESDIR}"/${P}-gold.patch
|
| 28 |
eautoreconf
|
| 29 |
}
|
| 30 |
|
| 31 |
src_configure() {
|
| 32 |
econf \
|
| 33 |
--disable-dependency-tracking \
|
| 34 |
$(use_enable nls) \
|
| 35 |
$(use_enable xinerama)
|
| 36 |
}
|
| 37 |
|
| 38 |
DOCS=( AUTHORS ChangeLog NEWS README )
|