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