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