blob: c1638cc9478f04ac1eb3327d1acd1a22c251185e (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild,v 1.1 2014/06/10 19:21:56 mgorny Exp $
EAPI="5"
GST_ORG_MODULE=gst-plugins-good
inherit eutils gstreamer
DESCRIPION="plugin to allow capture from video4linux2 devices"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="udev"
RDEPEND="
media-libs/libv4l[${MULTILIB_USEDEP}]
>=media-plugins/gst-plugins-xvideo-${PV}:${SLOT}[${MULTILIB_USEDEP}]
udev? ( >=virtual/udev-143[gudev,${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}
virtual/os-headers"
GST_PLUGINS_BUILD="gst_v4l2"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.6.patch #437012
epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.9.patch #468618
}
multilib_src_configure() {
gstreamer_multilib_src_configure \
--with-libv4l2 \
$(use_with udev gudev)
}
|