diff options
Diffstat (limited to 'media-video/ov51x-jpeg/ov51x-jpeg-1.5.9-r1.ebuild')
-rw-r--r-- | media-video/ov51x-jpeg/ov51x-jpeg-1.5.9-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-video/ov51x-jpeg/ov51x-jpeg-1.5.9-r1.ebuild b/media-video/ov51x-jpeg/ov51x-jpeg-1.5.9-r1.ebuild new file mode 100644 index 000000000..8d07686f9 --- /dev/null +++ b/media-video/ov51x-jpeg/ov51x-jpeg-1.5.9-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit base linux-mod + +DESCRIPTION="OV51x driver for Linux which supports JPEG decompression inside the kernel" +HOMEPAGE="http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page" +SRC_URI="http://www.rastageeks.org/downloads/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CONFIG_CHECK="USB VIDEO_V4L1_COMPAT" +ERROR_USB="${P} requires Host-side USB support (CONFIG_USB)." +ERROR_VIDEO_V4L1_COMPAT="${P} require support for the Video For Linux API 1 compatibility layer (CONFIG_VIDEO_V4L1_COMPAT)." +MODULE_NAMES="ov51x-jpeg(media/video:)" +BUILD_TARGETS="all" +BUILD_PARAMS="KERNELDIR=${KV_DIR}" + +PATCHES=( + "${FILESDIR}"/${PV}-kernel-messages.patch + "${FILESDIR}"/${PV}-2.6.29_final.patch + ) + +src_install() { + linux-mod_src_install + dodoc ChangeLog || die "dodoc failed" +} |