Gentoo Archives: gentoo-commits

From: "Daniel Pielmeier (billie)" <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/conky: ChangeLog conky-1.8.0.ebuild conky-1.8.0_rc2.ebuild
Date: Tue, 30 Mar 2010 19:04:32
Message-Id: E1Nwgjm-0003yt-2Z@stork.gentoo.org
1 billie 10/03/30 19:04:30
2
3 Modified: ChangeLog
4 Added: conky-1.8.0.ebuild
5 Removed: conky-1.8.0_rc2.ebuild
6 Log:
7 Version bump. Remove release candidate.
8 (Portage version: 2.1.7.17/cvs/Linux i686)
9
10 Revision Changes Path
11 1.131 app-admin/conky/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.131&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.131&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.130&r2=1.131
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
20 retrieving revision 1.130
21 retrieving revision 1.131
22 diff -u -r1.130 -r1.131
23 --- ChangeLog 11 Mar 2010 18:25:21 -0000 1.130
24 +++ ChangeLog 30 Mar 2010 19:04:29 -0000 1.131
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-admin/conky
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.130 2010/03/11 18:25:21 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.131 2010/03/30 19:04:29 billie Exp $
30 +
31 +*conky-1.8.0 (30 Mar 2010)
32 +
33 + 30 Mar 2010; Daniel Pielmeier <billie@g.o> -conky-1.8.0_rc2.ebuild,
34 + +conky-1.8.0.ebuild:
35 + Version bump. Remove release candidate.
36
37 11 Mar 2010; Markos Chandras <hwoarang@g.o> conky-1.7.2-r2.ebuild:
38 Stable on amd64 wrt bug #304761
39
40
41
42 1.1 app-admin/conky/conky-1.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: conky-1.8.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/app-admin/conky/conky-1.8.0.ebuild,v 1.1 2010/03/30 19:04:29 billie Exp $
52
53 EAPI="2"
54
55 DESCRIPTION="An advanced, highly configurable system monitor for X"
56 HOMEPAGE="http://conky.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58
59 LICENSE="GPL-3 BSD LGPL-2.1 MIT"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X"
63
64 DEPEND_COMMON="
65 X? (
66 imlib? ( media-libs/imlib2 )
67 lua-cairo? ( >=dev-lang/toluapp-1.0.93 x11-libs/cairo[X] )
68 lua-imlib? ( >=dev-lang/toluapp-1.0.93 media-libs/imlib2 )
69 nvidia? ( media-video/nvidia-settings )
70 truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
71 x11-libs/libX11
72 x11-libs/libXdamage
73 x11-libs/libXext
74 )
75 audacious? ( >=media-sound/audacious-1.5 dev-libs/glib )
76 curl? ( net-misc/curl )
77 eve? ( net-misc/curl dev-libs/libxml2 )
78 portmon? ( dev-libs/glib )
79 lua? ( >=dev-lang/lua-5.1 )
80 ncurses? ( sys-libs/ncurses )
81 rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib )
82 wifi? ( net-wireless/wireless-tools )
83 weather-metar? ( net-misc/curl )
84 weather-xoap? ( dev-libs/libxml2 net-misc/curl )
85 virtual/libiconv
86 "
87 RDEPEND="
88 ${DEPEND_COMMON}
89 apcupsd? ( sys-power/apcupsd )
90 hddtemp? ( app-admin/hddtemp )
91 moc? ( media-sound/moc )
92 nano-syntax? ( app-editors/nano )
93 vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
94 "
95 DEPEND="
96 ${DEPEND_COMMON}
97 dev-util/pkgconfig
98 "
99
100 src_configure() {
101 local myconf
102 if use X; then
103 myconf="--enable-x11 --enable-double-buffer --enable-xdamage --enable-argb"
104 myconf="${myconf} --enable-own-window"
105 myconf="${myconf} $(use_enable imlib imlib2) $(use_enable lua-cairo)"
106 myconf="${myconf} $(use_enable lua-imlib lua-imlib2)"
107 myconf="${myconf} $(use_enable nvidia) $(use_enable truetype xft)"
108 else
109 myconf="--disable-x11 --disable-own-window --disable-argb"
110 myconf="${myconf} --disable-imlib --disable-lua-cairo --disable-lua-imlib"
111 myconf="${myconf} --disable-nvidia --disable-xft"
112 fi
113
114 econf \
115 ${myconf} \
116 $(use_enable apcupsd) \
117 $(use_enable audacious) \
118 $(use_enable curl) \
119 $(use_enable debug) \
120 $(use_enable eve) \
121 $(use_enable hddtemp) \
122 $(use_enable iostats) \
123 $(use_enable lua) \
124 $(use_enable thinkpad ibm) \
125 $(use_enable math) \
126 $(use_enable moc) \
127 $(use_enable mpd) \
128 $(use_enable ncurses) \
129 $(use_enable portmon) \
130 $(use_enable rss) \
131 $(use_enable weather-metar) \
132 $(use_enable weather-xoap) \
133 $(use_enable wifi wlan)
134 }
135
136 src_install() {
137 emake DESTDIR="${D}" install || die "make install failed"
138 dodoc ChangeLog AUTHORS TODO || die "dodoc failed"
139 dohtml doc/docs.html doc/config_settings.html doc/variables.html \
140 || die "dohtml failed"
141
142 if use vim-syntax; then
143 insinto /usr/share/vim/vimfiles/ftdetect
144 doins "${S}"/extras/vim/ftdetect/conkyrc.vim || die "doins failed"
145
146 insinto /usr/share/vim/vimfiles/syntax
147 doins "${S}"/extras/vim/syntax/conkyrc.vim|| die "doins failed"
148 fi
149
150 if use nano-syntax; then
151 insinto /usr/share/nano/
152 doins "${S}"/extras/nano/conky.nanorc|| die "doins failed"
153 fi
154 }
155
156 pkg_postinst() {
157 elog "You can find a sample configuration file at ${ROOT%/}/etc/conky/conky.conf."
158 elog "To customize, copy it to ~/.conkyrc and edit it to your liking."
159 elog
160 elog "For more info on Conky's features please look at the Changelog in"
161 elog "${ROOT%/}/usr/share/doc/${PF}. There are also pretty html docs available"
162 elog "on Conky's site or in ${ROOT%/}/usr/share/doc/${PF}/html."
163 elog
164 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
165 elog
166 }