# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20140322.ebuild,v 1.1 2014/05/04 11:43:07 hd_brummy Exp $ EAPI=5 inherit linux-info linux-mod DESCRIPTION="driver for saa716x based dvb cards like Technotrend S2-6400 or Technisat Skystar 2 eXpress HD" HOMEPAGE="http://powarman.dyndns.org/hgwebdir.cgi/v4l-dvb-saa716x/" HG_REVISION="196681f1e154" HG_REVISION_DATE="20140322" SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/v4l-dvb-saa716x/archive/${HG_REVISION}.tar.gz -> v4l-dvb-saa716x-0.0.1_p${HG_REVISION_DATE}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+firmware" DEPEND="" RDEPEND="${DEPEND} firmware? ( sys-firmware/tt-s2-6400-firmware )" S="${WORKDIR}/v4l-dvb-saa716x-${HG_REVISION}" BUILD_TARGETS="modules" MODULE_NAMES="saa716x_ff(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) saa716x_core(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) saa716x_budget(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x) saa716x_hybrid(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)" CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x" src_prepare() { epatch "${FILESDIR}/OSD_RAW_CMD_patch_2.diff" epatch "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch-2.diff" } src_compile() { BUILD_PARAMS="SUBDIRS=${S}/linux/drivers/media/common/saa716x \ CONFIG_SAA716X_CORE=m CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m \ CONFIG_DVB_SAA716X_HYBRID=m" addpredict "${ROOT}"/usr/src/linux/ linux-mod_src_compile }