Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-dicts/gwaei: ChangeLog gwaei-0.15.1-r1.ebuild
Date: Tue, 03 Mar 2009 14:44:47
Message-Id: E1LeVrR-0005cF-Mg@stork.gentoo.org
1 matsuu 09/03/03 14:44:45
2
3 Modified: ChangeLog
4 Added: gwaei-0.15.1-r1.ebuild
5 Log:
6 Fixed to compile without gnome USE flag.
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.11 app-dicts/gwaei/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/gwaei/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/gwaei/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/gwaei/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 2 Mar 2009 14:55:11 -0000 1.10
23 +++ ChangeLog 3 Mar 2009 14:44:45 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-dicts/gwaei
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v 1.10 2009/03/02 14:55:11 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v 1.11 2009/03/03 14:44:45 matsuu Exp $
29 +
30 +*gwaei-0.15.1-r1 (02 Mar 2009)
31 +
32 + 02 Mar 2009; MATSUU Takuto <matsuu@g.o>
33 + +files/gwaei-0.15.1-glib.patch, +gwaei-0.15.1-r1.ebuild:
34 + Fixed to compile without gnome USE flag.
35
36 *gwaei-0.15.1 (02 Mar 2009)
37
38
39
40
41 1.1 app-dicts/gwaei/gwaei-0.15.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/gwaei/gwaei-0.15.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/gwaei/gwaei-0.15.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gwaei-0.15.1-r1.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-dicts/gwaei/gwaei-0.15.1-r1.ebuild,v 1.1 2009/03/03 14:44:45 matsuu Exp $
51
52 inherit autotools eutils gnome2-utils
53
54 DESCRIPTION="Japanese-English Dictionary for GNOME"
55 HOMEPAGE="http://gwaei.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
57
58 LICENSE="GPL-3"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="gnome libsexy nls"
62
63 RDEPEND=">=x11-libs/gtk+-2.12
64 >=net-misc/curl-7.18
65 >=dev-libs/glib-2.16.5
66 gnome? (
67 >=gnome-base/libgnome-2.22
68 >=gnome-base/gconf-2.22
69 )
70 libsexy? ( >=x11-libs/libsexy-0.1.11 )
71 nls? ( virtual/libintl )"
72 DEPEND="${RDEPEND}
73 nls? ( >=sys-devel/gettext-0.17 )
74 dev-util/pkgconfig"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79 epatch "${FILESDIR}/${P}-glib.patch"
80 epatch "${FILESDIR}/${P}-parallel-install.patch"
81 eautoreconf
82 }
83
84 src_compile() {
85 econf \
86 $(use_enable gnome gconf) \
87 $(use_enable gnome) \
88 $(use_enable libsexy) \
89 $(use_enable nls) \
90 --disable-schemas-install || die
91 emake || die
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die
96
97 rm -rf "${D}/usr/share/doc/${P}"
98 dodoc AUTHORS ChangeLog NEWS README
99 }
100 pkg_preinst() {
101 if use gnome ; then
102 gnome2_gconf_savelist
103 gnome2_icon_savelist
104 fi
105 }
106
107 pkg_postinst() {
108 use gnome && gnome2_gconf_install
109 }