Gentoo Archives: gentoo-commits

From: "Thomas Kahle (tomka)" <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/mu: metadata.xml ChangeLog mu-0.9.2.ebuild
Date: Fri, 04 Feb 2011 10:31:44
Message-Id: 20110204103133.8B22920054@flycatcher.gentoo.org
1 tomka 11/02/04 10:31:33
2
3 Modified: metadata.xml ChangeLog mu-0.9.2.ebuild
4 Log:
5 introduce USE=gui to build the experimental gui, QA per bug #353653.
6
7 (Portage version: 2.1.9.35/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 net-mail/mu/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/mu/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 3 Feb 2011 10:11:42 -0000 1.1
23 +++ metadata.xml 4 Feb 2011 10:31:33 -0000 1.2
24 @@ -10,4 +10,7 @@
25 'mu' is a set of command-line tools for Linux/Unix that enable you to quickly find the e-mails you
26 are looking for, assuming that you store your e-mails in Maildirs.
27 </longdescription>
28 +<use>
29 + <flag name="gui">Build and install the experimental gui 'mug'.</flag>
30 +</use>
31 </pkgmetadata>
32
33
34
35 1.2 net-mail/mu/ChangeLog
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/ChangeLog?rev=1.2&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/ChangeLog?rev=1.2&content-type=text/plain
39 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/ChangeLog?r1=1.1&r2=1.2
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/net-mail/mu/ChangeLog,v
44 retrieving revision 1.1
45 retrieving revision 1.2
46 diff -u -r1.1 -r1.2
47 --- ChangeLog 3 Feb 2011 10:11:42 -0000 1.1
48 +++ ChangeLog 4 Feb 2011 10:31:33 -0000 1.2
49 @@ -1,6 +1,9 @@
50 # ChangeLog for net-mail/mu
51 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mu/ChangeLog,v 1.1 2011/02/03 10:11:42 tomka Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mu/ChangeLog,v 1.2 2011/02/04 10:31:33 tomka Exp $
54 +
55 + 04 Feb 2011; Thomas Kahle <tomka@g.o> mu-0.9.2.ebuild, metadata.xml:
56 + introduce USE=gui to build the experimental gui, QA per bug #353653.
57
58 *mu-0.9.2 (03 Feb 2011)
59
60
61
62
63 1.2 net-mail/mu/mu-0.9.2.ebuild
64
65 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/mu-0.9.2.ebuild?rev=1.2&view=markup
66 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/mu-0.9.2.ebuild?rev=1.2&content-type=text/plain
67 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mu/mu-0.9.2.ebuild?r1=1.1&r2=1.2
68
69 Index: mu-0.9.2.ebuild
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/net-mail/mu/mu-0.9.2.ebuild,v
72 retrieving revision 1.1
73 retrieving revision 1.2
74 diff -u -r1.1 -r1.2
75 --- mu-0.9.2.ebuild 3 Feb 2011 10:11:42 -0000 1.1
76 +++ mu-0.9.2.ebuild 4 Feb 2011 10:31:33 -0000 1.2
77 @@ -1,10 +1,10 @@
78 # Copyright 1999-2011 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mu/mu-0.9.2.ebuild,v 1.1 2011/02/03 10:11:42 tomka Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mu/mu-0.9.2.ebuild,v 1.2 2011/02/04 10:31:33 tomka Exp $
82
83 EAPI=3
84
85 -inherit base eutils
86 +inherit base
87
88 DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
89 HOMEPAGE="http://www.djcbsoftware.nl/code/mu/"
90 @@ -13,15 +13,33 @@
91 LICENSE="GPL-3"
92 SLOT="0"
93 KEYWORDS="~amd64 ~x86"
94 -IUSE=""
95 +IUSE="gui"
96
97 DEPEND=">=dev-libs/gmime-2.4
98 dev-libs/xapian
99 - >=dev-libs/glib-2.22"
100 + >=dev-libs/glib-2.22
101 + gui? ( x11-libs/gtk+
102 + net-libs/webkit-gtk ) "
103 RDEPEND="${DEPEND}"
104
105 -src_test () {
106 - emake check || die
107 +src_configure() {
108 + local guiconf
109 + if use gui; then
110 + guiconf="--with-gui=gtk2"
111 + else
112 + guiconf="--with-gui=none"
113 + fi
114 +
115 + econf "${guiconf}"
116 +}
117 +
118 +src_install () {
119 + base_src_install
120 + # Installing the guis is not supported by upstream
121 + if use gui; then
122 + dobin toys/mug/mug || die
123 + dobin toys/mug2/mug2 || die
124 + fi
125 }
126
127 DOCS=( "AUTHORS" "HACKING" "NEWS" "TODO" )