1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="An Open Source implementation of the OpenMAX Integration Layer"
6 HOMEPAGE="http://omxil.sourceforge.net"
7 SRC_URI="mirror://sourceforge/omxil/libomxil-${P}.tar.gz"
11 KEYWORDS="~amd64 ~x86"
13 IUSE="alsa doc fbcon ffmpeg jpeg mad vorbis"
15 RDEPEND="media-libs/alsa-lib
16 mad? ( media-libs/libmad )
17 vorbis? ( media-libs/libvorbis )
18 ffmpeg? ( media-video/ffmpeg )"
21 S="${WORKDIR}/libomxil-${P}"
25 --docdir=/usr/share/doc/${PF} \
28 $(use_enable fbcon fbvideosink) \
29 $(use_enable ffmpeg ffmpegcomponents) \
31 $(use_enable mad madcomponents) \
32 $(use_enable vorbis vorbiscomponents)
33 emake || die "emake failed"
37 emake DESTDIR="${D}" install || die "emake install failed"
38 dodoc ChangeLog || die "dodoc failed"