# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit autotools eutils DESCRIPTION="An advanced on screen display (OSD) library" HOMEPAGE="http://www.atheme.org/project/libaosd" SRC_URI="http://distfiles.atheme.org/${P}.tgz" LICENSE="MIT/X11" SLOT="0" KEYWORDS="~amd64" IUSE="xcomposite pangocairo glib" RESTRICT="mirror" DEPEND=" pangocairo? ( x11-libs/pango x11-libs/cairo ) glib? ( >=dev-libs/glib-2.0 ) " RDEPEND=" xcomposite? ( x11-libs/libXcomposite ) " src_configure() { econf \ $(use_enable xcomposite) \ $(use_enable pangocairo) \ $(use_enable glib) \ || die "econf failed" } src_compile() { emake || die "compile failure" }