/[gentoo-x86]/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r1.ebuild
Gentoo

Contents of /media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 3 13:56:26 2015 UTC (5 years, 5 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
compile fix with KV 3.19, thx to ??? on wrt bug 541642

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 34C2808A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109.ebuild,v 1.1 2015/02/15 16:26:36 hd_brummy Exp $
4
5 EAPI=5
6
7 inherit linux-info linux-mod
8
9 DESCRIPTION="driver for saa716x based dvb cards like Technotrend S2-6400 or Technisat Skystar 2 eXpress HD"
10 HOMEPAGE="https://bitbucket.org/powARman/v4l-dvb-saa716x/overview"
11
12 HG_REVISION="d7e98fc59230"
13 HG_REVISION_DATE="20141109"
14
15 SRC_URI="https://bitbucket.org/powARman/v4l-dvb-saa716x/get/${HG_REVISION}.tar.gz
16 -> v4l-dvb-saa716x-0.0.1_p${HG_REVISION_DATE}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="+firmware"
22
23 DEPEND=""
24 RDEPEND="${DEPEND}
25 firmware? ( sys-firmware/tt-s2-6400-firmware )"
26
27 S="${WORKDIR}/powARman-v4l-dvb-saa716x-${HG_REVISION}"
28
29 BUILD_TARGETS="modules"
30 MODULE_NAMES="saa716x_ff(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
31 saa716x_core(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
32 saa716x_budget(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
33 saa716x_hybrid(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)"
34
35 CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x"
36
37 src_prepare() {
38 epatch "${FILESDIR}/OSD_RAW_CMD_patch_2.diff"
39 epatch "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch-2.diff"
40 kernel_is ge 3 19 0 && epatch "${FILESDIR}/v4l-dvb-saa716x-3.19-set_gpio.patch"
41 }
42
43 src_compile() {
44 BUILD_PARAMS="SUBDIRS=${S}/linux/drivers/media/common/saa716x \
45 CONFIG_SAA716X_CORE=m CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m \
46 CONFIG_DVB_SAA716X_HYBRID=m"
47 addpredict "${ROOT}"/usr/src/linux/
48 linux-mod_src_compile
49 }

  ViewVC Help
Powered by ViewVC 1.1.20