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