Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/notecase: ChangeLog notecase-1.8.8.ebuild notecase-1.8.1.ebuild
Date: Tue, 29 Apr 2008 09:26:06
Message-Id: E1Jqm5y-0007Sj-9T@stork.gentoo.org
1 armin76 08/04/29 09:25:54
2
3 Modified: ChangeLog
4 Added: notecase-1.8.8.ebuild
5 Removed: notecase-1.8.1.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.17 app-text/notecase/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 25 Mar 2008 13:55:27 -0000 1.16
24 +++ ChangeLog 29 Apr 2008 09:25:53 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/notecase
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.16 2008/03/25 13:55:27 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.17 2008/04/29 09:25:53 armin76 Exp $
30 +
31 +*notecase-1.8.8 (29 Apr 2008)
32 +
33 + 29 Apr 2008; Raúl Porcel <armin76@g.o> -notecase-1.8.1.ebuild,
34 + +notecase-1.8.8.ebuild:
35 + Version bump
36
37 *notecase-1.8.4 (25 Mar 2008)
38
39
40
41
42 1.1 app-text/notecase/notecase-1.8.8.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/notecase-1.8.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/notecase/notecase-1.8.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: notecase-1.8.8.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.8.8.ebuild,v 1.1 2008/04/29 09:25:53 armin76 Exp $
52
53 inherit eutils fdo-mime
54
55 DESCRIPTION="Hierarchical note manager written using GTK+ and C++"
56 HOMEPAGE="http://notecase.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.gz"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="gnome nls"
63
64 RDEPEND=">=x11-libs/gtk+-2.6"
65 DEPEND="${RDEPEND}
66 dev-util/pkgconfig"
67
68 # test doesn't work
69 RESTRICT="test"
70
71 MAKEOPTS="${MAKEOPTS} -j1"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 # Respect CFLAGS and don't use --as-needed by default
78 epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
79
80 if ! use gnome; then
81 # Comment variable in the Makefile if we don't have gnome
82 sed -i -e 's/HAVE_GNOME_VFS=1/#HAVE_GNOME_VFS=1/g' \
83 -e 's/AUTODETECT_GNOME_VFS=1/#AUTODETECT_GNOME_VFS=1/g' \
84 Makefile || die "gnome sed failed"
85 fi
86
87 ! use nls && {
88 sed -i -e 's/notecase$(EXE) poinstall/notecase$(EXE)/g' \
89 Makefile || die "nls sed failed"
90 }
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install || die "make install failed"
95 dodoc readme.txt
96 }
97
98 pkg_postinst() {
99 fdo-mime_desktop_database_update
100 fdo-mime_mime_database_update
101 }
102
103 pkg_postrm() {
104 fdo-mime_desktop_database_update
105 fdo-mime_mime_database_update
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list