Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/em8300-modules: em8300-modules-0.18.0_p20120124.ebuild ChangeLog
Date: Sun, 04 Mar 2012 03:57:07
Message-Id: 20120304035658.77C592004B@flycatcher.gentoo.org
1 hd_brummy 12/03/04 03:56:58
2
3 Modified: ChangeLog
4 Added: em8300-modules-0.18.0_p20120124.ebuild
5 Log:
6 snapshot for testing, pmasked, bug #350211
7
8 (Portage version: 2.1.10.11/cvs/Linux i686)
9
10 Revision Changes Path
11 1.57 media-video/em8300-modules/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/em8300-modules/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/em8300-modules/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/em8300-modules/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 20 Oct 2010 13:31:46 -0000 1.56
24 +++ ChangeLog 4 Mar 2012 03:56:58 -0000 1.57
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-video/em8300-modules
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.56 2010/10/20 13:31:46 ssuominen Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.57 2012/03/04 03:56:58 hd_brummy Exp $
31 +
32 +*em8300-modules-0.18.0_p20120124 (04 Mar 2012)
33 +
34 + 04 Mar 2012; Joerg Bornkessel <hd_brummy@g.o>
35 + +em8300-modules-0.18.0_p20120124.ebuild:
36 + snapshot for testing, pmasked, bug #350211
37
38 20 Oct 2010; Samuli Suominen <ssuominen@g.o>
39 em8300-modules-0.18.0.ebuild, +files/em8300-modules-0.18.0-2.6.35.patch:
40
41
42
43 1.1 media-video/em8300-modules/em8300-modules-0.18.0_p20120124.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/em8300-modules/em8300-modules-0.18.0_p20120124.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/em8300-modules/em8300-modules-0.18.0_p20120124.ebuild?rev=1.1&content-type=text/plain
47
48 Index: em8300-modules-0.18.0_p20120124.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.18.0_p20120124.ebuild,v 1.1 2012/03/04 03:56:58 hd_brummy Exp $
53
54 EAPI=2
55 inherit eutils linux-mod
56
57 MY_P=${P/-modules}
58
59 DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card kernel modules"
60 HOMEPAGE="http://dxr3.sourceforge.net"
61 SRC_URI="http://vdr.websitec.de/download/${MY_P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE=""
67
68 RDEPEND=""
69 DEPEND="virtual/linux-sources"
70
71 CONFIG_CHECK="I2C"
72 MODULE_NAMES="em8300(video:) bt865(video:) adv717x(video:)"
73
74 S=${WORKDIR}/${MY_P}/modules
75
76 src_compile() {
77 set_arch_to_kernel
78 emake KERNEL_LOCATION="${KERNEL_DIR}" || die
79 }
80
81 src_install() {
82 linux-mod_src_install
83
84 dodoc README-modoptions README-modules.conf
85
86 newsbin devices.sh em8300-devices.sh
87
88 insinto /etc/modprobe.d
89 newins "${FILESDIR}"/modules.em8300 em8300.conf
90
91 insinto /etc/udev/rules.d
92 newins em8300-udev.rules 15-em8300.rules
93 }
94
95 pkg_preinst() {
96 linux-mod_pkg_preinst
97
98 local old1="${ROOT}/etc/modprobe.d/em8300"
99 local old2="${ROOT}/etc/modules.d/em8300"
100 local new="${ROOT}/etc/modprobe.d/em8300.conf"
101
102 if [[ ! -a ${new} ]]; then
103 if [[ -a ${old1} ]]; then
104 elog "Renaming em8300-modprobe configuration to em8300.conf"
105 mv "${old1}" "${new}"
106 elif [[ -a ${old2} ]]; then
107 elog "Moving old em8300 configuration in /etc/modules.d to new"
108 elog "location in /etc/modprobe.d"
109 mv "${old2}" "${new}"
110 fi
111 fi
112 }