Gentoo Archives: gentoo-commits

From: "David Shakaryan (omp)" <omp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/conky: ChangeLog conky-1.5.1_pre01083.ebuild
Date: Sun, 30 Mar 2008 06:07:36
Message-Id: E1JfqhZ-0001At-51@stork.gentoo.org
1 omp 08/03/30 06:07:33
2
3 Modified: ChangeLog
4 Added: conky-1.5.1_pre01083.ebuild
5 Log:
6 Version bump requested by upstream.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.71 app-admin/conky/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.71&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.71&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.70&r2=1.71
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
19 retrieving revision 1.70
20 retrieving revision 1.71
21 diff -u -r1.70 -r1.71
22 --- ChangeLog 27 Mar 2008 20:41:19 -0000 1.70
23 +++ ChangeLog 30 Mar 2008 06:07:32 -0000 1.71
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-admin/conky
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.70 2008/03/27 20:41:19 omp Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.71 2008/03/30 06:07:32 omp Exp $
29 +
30 +*conky-1.5.1_pre01083 (30 Mar 2008)
31 +
32 + 30 Mar 2008; David Shakaryan <omp@g.o>
33 + +conky-1.5.1_pre01083.ebuild:
34 + Version bump requested by upstream.
35
36 *conky-1.5.1_pre01052 (27 Mar 2008)
37
38
39
40
41 1.1 app-admin/conky/conky-1.5.1_pre01083.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.5.1_pre01083.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.5.1_pre01083.ebuild?rev=1.1&content-type=text/plain
45
46 Index: conky-1.5.1_pre01083.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.5.1_pre01083.ebuild,v 1.1 2008/03/30 06:07:32 omp Exp $
51
52 inherit eutils
53 # used for epause
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="BSD"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="audacious bmpx debug hddtemp ipv6 mpd nano-syntax rss truetype vim-syntax smapi wifi X"
63
64 DEPEND_COMMON="
65 virtual/libc
66 X? (
67 x11-libs/libICE
68 x11-libs/libXext
69 x11-libs/libX11
70 x11-libs/libSM
71 x11-libs/libXrender
72 x11-libs/libXdamage
73 x11-libs/libXft
74 truetype? ( >=media-libs/freetype-2 )
75 audacious? ( >=media-sound/audacious-1.4.0 )
76 bmpx? ( media-sound/bmpx
77 >=sys-apps/dbus-0.35
78 )
79 )
80 rss? ( dev-libs/libxml2
81 net-misc/curl
82 )
83 wifi? ( net-wireless/wireless-tools )
84 !ipv6? ( >=dev-libs/glib-2.0 )"
85 RDEPEND="${DEPEND_COMMON}
86 hddtemp? ( app-admin/hddtemp )
87 vim-syntax? ( || ( app-editors/vim
88 app-editors/gvim ) )
89 nano-syntax? ( app-editors/nano )"
90 DEPEND="
91 ${DEPEND_COMMON}
92 X? (
93 x11-libs/libXt
94 x11-proto/xextproto
95 x11-proto/xproto
96 )"
97
98 pkg_setup() {
99 if use audacious; then
100 if has_version <media-sound/audacious-1.5.0 && ! built_with_use media-sound/audacious dbus; then
101 eerror "media-sound/audacious is not built with dbus USE flag."
102 eerror "Please add 'dbus' to your USE flags, and re-emerge media-sound/audacious."
103 die "media-sound/audacious needs USE=dbus"
104 fi
105 fi
106 }
107
108 src_compile() {
109 local mymake
110 if useq ipv6 ; then
111 ewarn "You have the ipv6 USE flag enabled. Please note that using"
112 ewarn "the ipv6 USE flag with Conky disables the port monitor."
113 epause
114 else
115 mymake="MPD_NO_IPV6=noipv6"
116 fi
117 local myconf
118 myconf="--enable-proc-uptime"
119 if useq X; then
120 myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window"
121 myconf="${myconf} $(use_enable truetype xft)"
122 else
123 myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
124 myconf="${myconf} --disable-xft"
125 fi
126 econf \
127 ${myconf} \
128 $(use_enable audacious) \
129 $(use_enable bmpx) \
130 $(use_enable debug) \
131 $(use_enable hddtemp ) \
132 $(use_enable mpd) \
133 $(use_enable rss) \
134 $(use_enable smapi) \
135 $(use_enable wifi wlan) \
136 $(use_enable !ipv6 portmon) || die "econf failed"
137 emake ${mymake} || die "compile failed"
138 }
139
140 src_install() {
141 emake DESTDIR="${D}" install || die "make install failed"
142 dodoc ChangeLog AUTHORS README
143 dohtml doc/docs.html doc/config_settings.html doc/variables.html
144
145 if use vim-syntax; then
146 insinto /usr/share/vim/vimfiles/ftdetect
147 doins "${S}"/extras/vim/ftdetect/conkyrc.vim
148
149 insinto /usr/share/vim/vimfiles/syntax
150 doins "${S}"/extras/vim/syntax/conkyrc.vim
151 fi
152
153 if use nano-syntax; then
154 insinto /usr/share/nano/
155 doins "${S}"/extras/nano/conky.nanorc
156 fi
157 }
158
159 pkg_postinst() {
160 elog "You can find the sample configuration file at"
161 elog "/etc/conky/conky.conf. To customize it, copy"
162 elog "/etc/conky/conky.conf to ~/.conkyrc and edit"
163 elog "it to your liking."
164 elog
165 elog "For more info on Conky's new features,"
166 elog "please look at the README and ChangeLog:"
167 elog "/usr/share/doc/${PF}/README.bz2"
168 elog "/usr/share/doc/${PF}/ChangeLog.bz2"
169 elog "There are also pretty html docs available"
170 elog "on Conky's site or in /usr/share/doc/${PF}"
171 elog
172 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
173 elog
174 elog "Vim syntax highlighting for conkyrc now enabled with"
175 elog "USE=vim-syntax, for Nano with USE=nano-syntax"
176 elog
177 }
178
179
180
181 --
182 gentoo-commits@l.g.o mailing list