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