1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="OV51x driver for Linux which supports JPEG decompression inside the kernel"
8 HOMEPAGE="http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page"
9 SRC_URI="http://www.rastageeks.org/downloads/${PN}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
16 CONFIG_CHECK="USB VIDEO_V4L1_COMPAT"
17 ERROR_USB="${P} requires Host-side USB support (CONFIG_USB)."
18 ERROR_VIDEO_V4L1_COMPAT="${P} require support for the Video For Linux API 1 compatibility layer (CONFIG_VIDEO_V4L1_COMPAT)."
19 MODULE_NAMES="ov51x-jpeg(media/video:)"
21 BUILD_PARAMS="KERNELDIR=${KV_DIR}"
24 "${FILESDIR}"/${PV}-kernel-messages.patch
25 "${FILESDIR}"/${PV}-2.6.29_final.patch
30 dodoc ChangeLog || die "dodoc failed"