Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xbattbar: xbattbar-1.4.4.ebuild ChangeLog
Date: Wed, 05 Feb 2014 15:17:33
Message-Id: 20140205151728.14CA02004C@flycatcher.gentoo.org
1 jer 14/02/05 15:17:28
2
3 Modified: ChangeLog
4 Added: xbattbar-1.4.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.17 x11-misc/xbattbar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbattbar/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbattbar/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbattbar/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xbattbar/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 17 Feb 2012 04:16:36 -0000 1.16
24 +++ ChangeLog 5 Feb 2014 15:17:27 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-misc/xbattbar
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xbattbar/ChangeLog,v 1.16 2012/02/17 04:16:36 jer Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xbattbar/ChangeLog,v 1.17 2014/02/05 15:17:27 jer Exp $
31 +
32 +*xbattbar-1.4.4 (05 Feb 2014)
33 +
34 + 05 Feb 2014; Jeroen Roovers <jer@g.o> +xbattbar-1.4.4.ebuild,
35 + +files/xbattbar-1.4.4.patch:
36 + Version bump.
37
38 17 Feb 2012; Jeroen Roovers <jer@g.o> -xbattbar-1.4.2.ebuild:
39 Old.
40
41
42
43 1.1 x11-misc/xbattbar/xbattbar-1.4.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbattbar/xbattbar-1.4.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbattbar/xbattbar-1.4.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: xbattbar-1.4.4.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xbattbar/xbattbar-1.4.4.ebuild,v 1.1 2014/02/05 15:17:27 jer Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_{6,7} )
56 inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs
57
58 DESCRIPTION="Advanced Power Management battery status display for X"
59 HOMEPAGE="http://packages.qa.debian.org/x/xbattbar.html"
60 SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65
66 DEPEND="
67 dev-lang/perl
68 x11-libs/libX11
69 "
70 RDEPEND="
71 ${DEPEND}
72 ${PYTHON_DEPS}
73 !ppc? ( >=sys-power/acpi-1.5 )
74 " # ppc has APM
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${PN}-1.4.4.patch
78
79 sed -i \
80 -e "s:usr/lib:usr/$(get_libdir):" \
81 xbattbar.c || die
82 }
83
84 src_compile() {
85 use kernel_linux && append-flags -Dlinux
86 emake CC=$(tc-getCC) LIBDIR="$(get_libdir)"
87 python_fix_shebang ${PN}-check-sys
88 }
89
90 src_install() {
91 emake install DESTDIR="${D}" LIBDIR="$(get_libdir)"
92 dodoc README
93 }