blob: 8ad7b7531e054ed24db9b698947302bee80196d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
MY_P="libomxil-${P}"
DESCRIPTION="An Open Source implementation of the OpenMAX Integration Layer"
HOMEPAGE="http://omxil.sourceforge.net"
SRC_URI="mirror://sourceforge/omxil/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa doc fbcon ffmpeg jpeg mad vorbis"
RDEPEND="
media-libs/alsa-lib
mad? ( media-libs/libmad )
vorbis? ( media-libs/libvorbis )
ffmpeg? ( virtual/ffmpeg )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
src_configure() {
econf \
--docdir=/usr/share/doc/${PF} \
$(use_enable alsa) \
$(use_enable doc) \
$(use_enable fbcon fbvideosink) \
$(use_enable ffmpeg ffmpegcomponents) \
$(use_enable jpeg) \
$(use_enable mad madcomponents) \
$(use_enable vorbis vorbiscomponents)
}
|