blob: a5331c35582151a2035c56b33a449b623500ca3b (
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224-r2.ebuild,v 1.2 2013/06/27 20:30:15 aballier Exp $
EAPI=5
inherit emul-linux-x86
LICENSE="APL-1.0 GPL-2 BSD BSD-2 public-domain LGPL-2 MPL-1.1 LGPL-2.1 !abi_x86_32? ( MPEG-4 )"
KEYWORDS="-* ~amd64"
IUSE="abi_x86_32"
DEPEND=""
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
~app-emulation/emul-linux-x86-xlibs-${PV}
~app-emulation/emul-linux-x86-db-${PV}
!<=app-emulation/emul-linux-x86-sdl-20081109
!<=app-emulation/emul-linux-x86-soundlibs-20110101
!>=media-libs/libv4l-0.8.9-r1[abi_x86_32]
abi_x86_32? (
>=media-libs/libvpx-1.2.0_pre[abi_x86_32(-)]
>=media-libs/xvid-1.3.2-r1[abi_x86_32(-)]
>=media-sound/lame-3.99.5-r1[abi_x86_32(-)]
>=media-libs/faac-1.28-r4[abi_x86_32(-)]
>=media-libs/faad2-2.7-r3[abi_x86_32(-)]
>=media-libs/libtheora-1.1.1-r1[abi_x86_32(-)]
)
"
PDEPEND="~app-emulation/emul-linux-x86-soundlibs-${PV}"
src_prepare() {
# Include all libv4l libs, bug #348277
ALLOWED="${S}/usr/lib32/libv4l/"
emul-linux-x86_src_prepare
# Remove migrated stuff.
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native")
}
|