# Copyright 1999-2008 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.11.ebuild,v 1.1 2008/12/05 21:03:05 ssuominen Exp $ EAPI="1" inherit autotools eutils gst-plugins-good DESCRIPION="plugin to allow capture from video4linux2 devices" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" IUSE="+libv4l2" RDEPEND=">=media-libs/gst-plugins-base-0.10.21" DEPEND="${RDEPEND} virtual/os-headers dev-util/pkgconfig libv4l2? ( media-libs/libv4l )" src_unpack() { gst-plugins-good_src_unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-fedora-libv4l2.patch" epatch "${FILESDIR}/${P}-libv4l2-no-automagic.patch" eautoreconf } src_compile() { gst-plugins-good_src_compile $(use_with libv4l2) }