summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224-r1.ebuild')
-rw-r--r--app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224-r1.ebuild b/app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224-r1.ebuild
new file mode 100644
index 000000000000..c85fbaea3576
--- /dev/null
+++ b/app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224-r1.ebuild
@@ -0,0 +1,34 @@
+# 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-r1.ebuild,v 1.1 2013/06/26 17:24:26 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 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(-)]
+ )
+ "
+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")
+}