1 |
ssuominen 11/01/31 18:00:59 |
2 |
|
3 |
Modified: ChangeLog claws-mail-notification-0.26.ebuild |
4 |
Log: |
5 |
Fix building with x11-libs/libnotify >= 0.7. |
6 |
|
7 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.57 mail-client/claws-mail-notification/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail-notification/ChangeLog?rev=1.57&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail-notification/ChangeLog?rev=1.57&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail-notification/ChangeLog?r1=1.56&r2=1.57 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail-notification/ChangeLog,v |
19 |
retrieving revision 1.56 |
20 |
retrieving revision 1.57 |
21 |
diff -u -r1.56 -r1.57 |
22 |
--- ChangeLog 15 Jan 2011 14:37:39 -0000 1.56 |
23 |
+++ ChangeLog 31 Jan 2011 18:00:59 -0000 1.57 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for mail-client/claws-mail-notification |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-notification/ChangeLog,v 1.56 2011/01/15 14:37:39 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-notification/ChangeLog,v 1.57 2011/01/31 18:00:59 ssuominen Exp $ |
29 |
+ |
30 |
+ 31 Jan 2011; Samuli Suominen <ssuominen@g.o> |
31 |
+ claws-mail-notification-0.26.ebuild, |
32 |
+ +files/claws-mail-notification-0.26-libnotify-0.7.patch: |
33 |
+ Fix building with x11-libs/libnotify >= 0.7. |
34 |
|
35 |
15 Jan 2011; Markus Meier <maekke@g.o> |
36 |
claws-mail-notification-0.26.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.5 mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild?rev=1.5&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild?rev=1.5&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild?r1=1.4&r2=1.5 |
45 |
|
46 |
Index: claws-mail-notification-0.26.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild,v |
49 |
retrieving revision 1.4 |
50 |
retrieving revision 1.5 |
51 |
diff -u -r1.4 -r1.5 |
52 |
--- claws-mail-notification-0.26.ebuild 15 Jan 2011 14:37:39 -0000 1.4 |
53 |
+++ claws-mail-notification-0.26.ebuild 31 Jan 2011 18:00:59 -0000 1.5 |
54 |
@@ -1,33 +1,43 @@ |
55 |
# Copyright 1999-2011 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild,v 1.4 2011/01/15 14:37:39 maekke Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-notification/claws-mail-notification-0.26.ebuild,v 1.5 2011/01/31 18:00:59 ssuominen Exp $ |
59 |
|
60 |
-MY_P="${PN#claws-mail-}_plugin-${PV}" |
61 |
+EAPI=2 |
62 |
+inherit eutils multilib |
63 |
+ |
64 |
+MY_P=${PN#claws-mail-}_plugin-${PV} |
65 |
|
66 |
DESCRIPTION="Plugin providing various ways to notify user of new and unread mail" |
67 |
HOMEPAGE="http://www.claws-mail.org/" |
68 |
SRC_URI="http://www.claws-mail.org/downloads/plugins/${MY_P}.tar.gz" |
69 |
+ |
70 |
LICENSE="GPL-3" |
71 |
SLOT="0" |
72 |
KEYWORDS="amd64 ~ppc x86" |
73 |
IUSE="libnotify" |
74 |
+ |
75 |
RDEPEND=">=mail-client/claws-mail-3.7.7 |
76 |
- >=x11-libs/gtk+-2.10 |
77 |
- libnotify? ( x11-libs/libnotify )" |
78 |
+ >=x11-libs/gtk+-2.10 |
79 |
+ libnotify? ( x11-libs/libnotify )" |
80 |
DEPEND="${RDEPEND} |
81 |
- dev-util/pkgconfig" |
82 |
+ dev-util/pkgconfig" |
83 |
|
84 |
-S="${WORKDIR}/${MY_P}" |
85 |
+S=${WORKDIR}/${MY_P} |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ epatch "${FILESDIR}"/${P}-libnotify-0.7.patch |
89 |
+} |
90 |
|
91 |
-src_compile() { |
92 |
- econf $(use_enable libnotify) || die |
93 |
- emake || die |
94 |
+src_configure() { |
95 |
+ econf \ |
96 |
+ --disable-dependency-tracking \ |
97 |
+ --disable-static \ |
98 |
+ $(use_enable libnotify) |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
emake DESTDIR="${D}" install || die |
103 |
dodoc AUTHORS ChangeLog README |
104 |
|
105 |
- # kill useless files |
106 |
- rm -f "${D}"/usr/lib*/claws-mail/plugins/*.{a,la} |
107 |
+ rm -f "${D}"/usr/$(get_libdir)/claws-mail/plugins/*.la |
108 |
} |