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