| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI=3
|
| 6 |
inherit autotools-utils
|
| 7 |
|
| 8 |
DESCRIPTION="An advanced on screen display (OSD) library"
|
| 9 |
HOMEPAGE="http://www.atheme.org/project/libaosd"
|
| 10 |
SRC_URI="http://distfiles.atheme.org/${P}.tgz"
|
| 11 |
|
| 12 |
LICENSE="MIT"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64"
|
| 15 |
IUSE="pango +tools xcomposite"
|
| 16 |
|
| 17 |
RDEPEND="x11-libs/cairo
|
| 18 |
x11-libs/libX11
|
| 19 |
x11-libs/libXrender
|
| 20 |
pango? ( x11-libs/pango )
|
| 21 |
tools? ( dev-libs/glib:2 )
|
| 22 |
xcomposite? ( x11-libs/libXcomposite )"
|
| 23 |
DEPEND="${RDEPEND}"
|
| 24 |
|
| 25 |
AUTOTOOLS_IN_SOURCE_BUILD=1
|
| 26 |
DOCS=( Changelog )
|
| 27 |
|
| 28 |
src_configure() {
|
| 29 |
myeconfargs=(
|
| 30 |
$(use_enable tools glib)
|
| 31 |
$(use_enable pango pangocairo)
|
| 32 |
$(use_enable xcomposite)
|
| 33 |
)
|
| 34 |
|
| 35 |
autotools-utils_src_configure
|
| 36 |
}
|