From: | "Cedric Krier (cedk)" <cedk@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/i810switch: i810switch-0.6.5-r3.ebuild ChangeLog i810switch-0.6.5.ebuild |
Date: | Tue, 31 Jul 2012 15:49:44 |
Message-Id: | 20120731154934.8E8492004B@flycatcher.gentoo.org |
1 | cedk 12/07/31 15:49:34 |
2 | |
3 | Modified: ChangeLog |
4 | Added: i810switch-0.6.5-r3.ebuild |
5 | Removed: i810switch-0.6.5.ebuild |
6 | Log: |
7 | Fix respect of LDFLAGS for Bug #331817 |
8 | |
9 | (Portage version: 2.1.10.65/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.21 app-misc/i810switch/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/i810switch/ChangeLog?rev=1.21&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/i810switch/ChangeLog?rev=1.21&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/i810switch/ChangeLog?r1=1.20&r2=1.21 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-misc/i810switch/ChangeLog,v |
21 | retrieving revision 1.20 |
22 | retrieving revision 1.21 |
23 | diff -u -r1.20 -r1.21 |
24 | --- ChangeLog 23 Sep 2009 16:03:09 -0000 1.20 |
25 | +++ ChangeLog 31 Jul 2012 15:49:34 -0000 1.21 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-misc/i810switch |
28 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/ChangeLog,v 1.20 2009/09/23 16:03:09 patrick Exp $ |
30 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 | +# $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/ChangeLog,v 1.21 2012/07/31 15:49:34 cedk Exp $ |
32 | + |
33 | +*i810switch-0.6.5-r3 (31 Jul 2012) |
34 | + |
35 | + 31 Jul 2012; Cédric Krier <cedk@g.o> +files/i810switch-ldflags.patch, |
36 | + -i810switch-0.6.5.ebuild, +i810switch-0.6.5-r3.ebuild: |
37 | + Fix respect of LDFLAGS for Bug #331817 |
38 | |
39 | 23 Sep 2009; Patrick Lauer <patrick@g.o> i810switch-0.6.5.ebuild: |
40 | Remove virtual/libc |
41 | |
42 | |
43 | |
44 | 1.1 app-misc/i810switch/i810switch-0.6.5-r3.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/i810switch/i810switch-0.6.5-r3.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/i810switch/i810switch-0.6.5-r3.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: i810switch-0.6.5-r3.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2012 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/i810switch-0.6.5-r3.ebuild,v 1.1 2012/07/31 15:49:34 cedk Exp $ |
54 | |
55 | inherit eutils toolchain-funcs |
56 | |
57 | DESCRIPTION="A utility for switching the LCD and external VGA displays on and off" |
58 | HOMEPAGE="http://www16.plala.or.jp/mano-a-mano/i810switch.html" |
59 | SRC_URI="http://www16.plala.or.jp/mano-a-mano/i810switch/${P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="-* ~x86" |
64 | IUSE="" |
65 | |
66 | DEPEND="" |
67 | RDEPEND="sys-apps/pciutils" |
68 | |
69 | src_unpack() { |
70 | unpack ${A} |
71 | cd "${S}" |
72 | epatch "${FILESDIR}"/i810switch-macbook-support.patch |
73 | epatch "${FILESDIR}"/i810switch-ldflags.patch |
74 | emake clean |
75 | } |
76 | |
77 | src_compile() { |
78 | emake CC=$(tc-getCC) || die "emake failed" |
79 | } |
80 | |
81 | src_install() { |
82 | emake DESTDIR="${D}" install || die "emake install failed" |
83 | dodoc AUTHORS ChangeLog README TODO |
84 | } |
85 | |
86 | pkg_postinst() { |
87 | einfo "To allow non-root users to use i810switch run:" |
88 | einfo " chmod u+s /usr/bin/i810switch" |
89 | } |