Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/bbswitch: bbswitch-0.5-r1.ebuild ChangeLog bbswitch-0.4.2.ebuild
Date: Tue, 26 Feb 2013 20:10:50
Message-Id: 20130226201045.894742171D@flycatcher.gentoo.org
1 pacho 13/02/26 20:10:45
2
3 Modified: ChangeLog
4 Added: bbswitch-0.5-r1.ebuild
5 Removed: bbswitch-0.4.2.ebuild
6 Log:
7 Add kernel-3.8 compatibity patch from upstream (#458508 by Philipp Leonhardt), drop old.
8
9 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.6 sys-power/bbswitch/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/bbswitch/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/bbswitch/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/bbswitch/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-power/bbswitch/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 27 Oct 2012 11:56:44 -0000 1.5
25 +++ ChangeLog 26 Feb 2013 20:10:45 -0000 1.6
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-power/bbswitch
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-power/bbswitch/ChangeLog,v 1.5 2012/10/27 11:56:44 pacho Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-power/bbswitch/ChangeLog,v 1.6 2013/02/26 20:10:45 pacho Exp $
32 +
33 +*bbswitch-0.5-r1 (26 Feb 2013)
34 +
35 + 26 Feb 2013; Pacho Ramos <pacho@g.o> +bbswitch-0.5-r1.ebuild,
36 + +files/bbswitch-0.5-kernel-3.8.patch, -bbswitch-0.4.2.ebuild:
37 + Add kernel-3.8 compatibity patch from upstream (#458508 by Philipp Leonhardt),
38 + drop old.
39
40 *bbswitch-0.5 (27 Oct 2012)
41
42
43
44
45 1.1 sys-power/bbswitch/bbswitch-0.5-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/bbswitch/bbswitch-0.5-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/bbswitch/bbswitch-0.5-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: bbswitch-0.5-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-power/bbswitch/bbswitch-0.5-r1.ebuild,v 1.1 2013/02/26 20:10:45 pacho Exp $
55
56 EAPI=5
57 inherit eutils linux-mod
58
59 DESCRIPTION="Toggle discrete NVIDIA Optimus graphics card"
60 HOMEPAGE="https://github.com/Bumblebee-Project/bbswitch"
61 SRC_URI="mirror://github/Bumblebee-Project/${PN}/${P}.tar.gz"
62
63 SLOT="0"
64 LICENSE="GPL-2"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67
68 DEPEND="virtual/linux-sources
69 sys-kernel/linux-headers"
70 RDEPEND=""
71
72 MODULE_NAMES="bbswitch(acpi)"
73
74 pkg_setup() {
75 linux-mod_pkg_setup
76
77 BUILD_TARGETS="default"
78 BUILD_PARAMS="KVERSION=${KV_FULL}"
79 }
80
81 src_prepare() {
82 # Linux 3.8 compatibility hack, bug #458508
83 epatch "${FILESDIR}/${P}-kernel-3.8.patch"
84 }
85
86 src_install() {
87 insinto /etc/modprobe.d
88 newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf
89 dodoc NEWS
90
91 linux-mod_src_install
92 }