Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in xfce-extra/xfce4-sensors-plugin: xfce4-sensors-plugin-1.0.0.ebuild
Date: Sat, 29 Jan 2011 20:26:37
Message-Id: 20110129202627.6059320054@flycatcher.gentoo.org
1 ssuominen 11/01/29 20:26:27
2
3 Modified: xfce4-sensors-plugin-1.0.0.ebuild
4 Log:
5 force old libnotify in old sensors plug-in, correct some syntax
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.11 xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild?r1=1.10&r2=1.11
15
16 Index: xfce4-sensors-plugin-1.0.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- xfce4-sensors-plugin-1.0.0.ebuild 11 Aug 2010 20:50:52 -0000 1.10
23 +++ xfce4-sensors-plugin-1.0.0.ebuild 29 Jan 2011 20:26:27 -0000 1.11
24 @@ -1,9 +1,9 @@
25 -# Copyright 1999-2010 Gentoo Foundation
26 +# Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild,v 1.10 2010/08/11 20:50:52 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0.ebuild,v 1.11 2011/01/29 20:26:27 ssuominen Exp $
30
31 +EAPI=3
32 EAUTORECONF=yes
33 -EAPI=2
34 inherit xfconf
35
36 DESCRIPTION="acpi, lm_sensors and hddtemp panel plugin"
37 @@ -19,7 +19,7 @@
38 >=xfce-base/libxfce4util-4.4
39 >=xfce-base/libxfcegui4-4.4
40 >=xfce-base/xfce4-panel-4.4
41 - libnotify? ( >=x11-libs/libnotify-0.4 )
42 + libnotify? ( <x11-libs/libnotify-0.7 )
43 lm_sensors? ( >=sys-apps/lm_sensors-3.1.0 )
44 hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )"
45 DEPEND="${RDEPEND}
46 @@ -27,7 +27,8 @@
47 dev-util/pkgconfig"
48
49 pkg_setup() {
50 - XFCONF="--disable-dependency-tracking
51 + XFCONF=(
52 + --disable-dependency-tracking
53 --disable-static
54 $(use_enable hddtemp)
55 $(use_enable hddtemp netcat)
56 @@ -35,16 +36,22 @@
57 $(use_enable acpi procacpi)
58 $(use_enable acpi sysfsacpi)
59 $(use_enable libnotify notification)
60 - $(xfconf_use_debug)"
61 + $(xfconf_use_debug)
62 + )
63
64 if ! use hddtemp && ! use lm_sensors && ! use acpi; then
65 - XFCONF="${XFCONF} --enable-procacpi --enable-sysfsacpi"
66 + XFCONF+=(
67 + --enable-procacpi
68 + --enable-sysfsacpi
69 + )
70 fi
71
72 DOCS="AUTHORS ChangeLog NEWS NOTES README TODO"
73
74 - PATCHES=( "${FILESDIR}/${P}-missing_includedir.patch"
75 - "${FILESDIR}/${P}-without_libnotify.patch" )
76 + PATCHES=(
77 + "${FILESDIR}"/${P}-missing_includedir.patch
78 + "${FILESDIR}"/${P}-without_libnotify.patch
79 + )
80 }
81
82 src_prepare() {