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.6.2_pre1355.ebuild
Date: Thu, 01 Jan 2009 03:46:17
Message-Id: E1LIEVi-0003Uq-R4@stork.gentoo.org
1 omp 09/01/01 03:46:14
2
3 Modified: ChangeLog
4 Added: conky-1.6.2_pre1355.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-ARCH i686)
8
9 Revision Changes Path
10 1.106 app-admin/conky/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.106&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.106&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.105&r2=1.106
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
19 retrieving revision 1.105
20 retrieving revision 1.106
21 diff -u -r1.105 -r1.106
22 --- ChangeLog 20 Dec 2008 02:51:14 -0000 1.105
23 +++ ChangeLog 1 Jan 2009 03:46:14 -0000 1.106
24 @@ -1,6 +1,11 @@
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.105 2008/12/20 02:51:14 omp Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.106 2009/01/01 03:46:14 omp Exp $
30 +
31 +*conky-1.6.2_pre1355 (01 Jan 2009)
32 +
33 + 01 Jan 2009; David Shakaryan <omp@g.o> +conky-1.6.2_pre1355.ebuild:
34 + Version bump.
35
36 *conky-1.6.2_pre1347 (20 Dec 2008)
37
38
39
40
41 1.1 app-admin/conky/conky-1.6.2_pre1355.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.6.2_pre1355.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.6.2_pre1355.ebuild?rev=1.1&content-type=text/plain
45
46 Index: conky-1.6.2_pre1355.ebuild
47 ===================================================================
48 # Copyright 1999-2009 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.6.2_pre1355.ebuild,v 1.1 2009/01/01 03:46:14 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 moc mpd nano-syntax nvidia 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 nvidia? ( media-video/nvidia-settings )
85 !ipv6? ( >=dev-libs/glib-2.0 )"
86 RDEPEND="${DEPEND_COMMON}
87 hddtemp? ( app-admin/hddtemp )
88 vim-syntax? ( || ( app-editors/vim
89 app-editors/gvim ) )
90 nano-syntax? ( app-editors/nano )"
91 DEPEND="
92 ${DEPEND_COMMON}
93 dev-util/pkgconfig
94 X? (
95 x11-libs/libXt
96 x11-proto/xextproto
97 x11-proto/xproto
98 )"
99
100 pkg_setup() {
101 if use audacious; then
102 if has_version '<media-sound/audacious-1.5.0' && ! built_with_use media-sound/audacious dbus; then
103 eerror "media-sound/audacious is not built with dbus USE flag."
104 eerror "Please add 'dbus' to your USE flags, and re-emerge media-sound/audacious."
105 die "media-sound/audacious needs USE=dbus"
106 fi
107 fi
108 }
109
110 src_compile() {
111 local mymake
112 if useq ipv6 ; then
113 ewarn "You have the ipv6 USE flag enabled. Please note that using"
114 ewarn "the ipv6 USE flag with Conky disables the port monitor."
115 epause
116 else
117 mymake="MPD_NO_IPV6=noipv6"
118 fi
119 local myconf
120 myconf="--enable-proc-uptime"
121 if useq X; then
122 myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window"
123 myconf="${myconf} $(use_enable truetype xft)"
124 else
125 myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
126 myconf="${myconf} --disable-xft"
127 fi
128 econf \
129 ${myconf} \
130 $(use_enable audacious) \
131 $(use_enable bmpx) \
132 $(use_enable debug) \
133 $(use_enable hddtemp ) \
134 $(use_enable moc) \
135 $(use_enable mpd) \
136 $(use_enable nvidia) \
137 $(use_enable rss) \
138 $(use_enable smapi) \
139 $(use_enable wifi wlan) \
140 $(use_enable !ipv6 portmon) || die "econf failed"
141 emake ${mymake} || die "compile failed"
142 }
143
144 src_install() {
145 emake DESTDIR="${D}" install || die "make install failed"
146 dodoc ChangeLog AUTHORS README
147 dohtml doc/docs.html doc/config_settings.html doc/variables.html
148
149 if use vim-syntax; then
150 insinto /usr/share/vim/vimfiles/ftdetect
151 doins "${S}"/extras/vim/ftdetect/conkyrc.vim
152
153 insinto /usr/share/vim/vimfiles/syntax
154 doins "${S}"/extras/vim/syntax/conkyrc.vim
155 fi
156
157 if use nano-syntax; then
158 insinto /usr/share/nano/
159 doins "${S}"/extras/nano/conky.nanorc
160 fi
161 }
162
163 pkg_postinst() {
164 elog "You can find the sample configuration file at"
165 elog "/etc/conky/conky.conf. To customize it, copy"
166 elog "/etc/conky/conky.conf to ~/.conkyrc and edit"
167 elog "it to your liking."
168 elog
169 elog "For more info on Conky's new features,"
170 elog "please look at the README and ChangeLog:"
171 elog "/usr/share/doc/${PF}/README.bz2"
172 elog "/usr/share/doc/${PF}/ChangeLog.bz2"
173 elog "There are also pretty html docs available"
174 elog "on Conky's site or in /usr/share/doc/${PF}"
175 elog
176 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
177 elog
178 elog "Vim syntax highlighting for conkyrc now enabled with"
179 elog "USE=vim-syntax, for Nano with USE=nano-syntax"
180 elog
181 }