From: | "Michael Palimaka (kensington)" <kensington@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/focuswriter: focuswriter-1.5.2.ebuild ChangeLog focuswriter-1.4.1.ebuild |
Date: | Thu, 31 Jul 2014 10:50:00 |
Message-Id: | 20140731104953.EEF722004E@flycatcher.gentoo.org |
1 | kensington 14/07/31 10:49:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: focuswriter-1.5.2.ebuild |
5 | Removed: focuswriter-1.4.1.ebuild |
6 | Log: |
7 | Version bump wrt bug #508578. Remove old. |
8 | |
9 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!) |
10 | |
11 | Revision Changes Path |
12 | 1.19 app-editors/focuswriter/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/ChangeLog?rev=1.19&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/ChangeLog?rev=1.19&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/ChangeLog?r1=1.18&r2=1.19 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v |
21 | retrieving revision 1.18 |
22 | retrieving revision 1.19 |
23 | diff -u -r1.18 -r1.19 |
24 | --- ChangeLog 4 Feb 2014 13:43:40 -0000 1.18 |
25 | +++ ChangeLog 31 Jul 2014 10:49:52 -0000 1.19 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-editors/focuswriter |
28 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.18 2014/02/04 13:43:40 hasufell Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.19 2014/07/31 10:49:52 kensington Exp $ |
31 | + |
32 | +*focuswriter-1.5.2 (31 Jul 2014) |
33 | + |
34 | + 31 Jul 2014; Michael Palimaka <kensington@g.o> |
35 | + +focuswriter-1.5.2.ebuild, -focuswriter-1.4.1.ebuild: |
36 | + Version bump wrt bug #508578. Remove old. |
37 | |
38 | *focuswriter-1.4.4 (04 Feb 2014) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-editors/focuswriter/focuswriter-1.5.2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: focuswriter-1.5.2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2.ebuild,v 1.1 2014/07/31 10:49:52 kensington Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | PLOCALES="ar ca cs da de el en en_GB es_MX es fi fr he hu hy id it ja ko nl pl |
57 | pt_BR pt ro ru sk sr sv tr uk vi zh_CN zh_TW" |
58 | PLOCALE_BACKUP="en" |
59 | inherit fdo-mime gnome2-utils l10n readme.gentoo qt4-r2 |
60 | |
61 | DESCRIPTION="A fullscreen and distraction-free word processor" |
62 | HOMEPAGE="http://gottcode.org/focuswriter/" |
63 | SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" |
64 | |
65 | LICENSE="GPL-3" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~x86" |
68 | IUSE="debug" |
69 | |
70 | RDEPEND="app-text/hunspell |
71 | dev-qt/qtcore:4 |
72 | dev-qt/qtgui:4 |
73 | sys-libs/zlib" |
74 | DEPEND="${RDEPEND} |
75 | virtual/pkgconfig" |
76 | |
77 | DOCS=( ChangeLog CREDITS NEWS README ) |
78 | DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is |
79 | installed with wav useflag enabled." |
80 | |
81 | src_prepare() { |
82 | l10n_for_each_disabled_locale_do rm_loc |
83 | } |
84 | |
85 | src_configure() { |
86 | eqmake4 PREFIX="${EPREFIX}/usr" |
87 | } |
88 | |
89 | src_install() { |
90 | readme.gentoo_create_doc |
91 | qt4-r2_src_install |
92 | } |
93 | |
94 | pkg_preinst() { |
95 | gnome2_icon_savelist |
96 | } |
97 | |
98 | pkg_postinst() { |
99 | readme.gentoo_pkg_postinst |
100 | gnome2_icon_cache_update |
101 | fdo-mime_desktop_database_update |
102 | } |
103 | |
104 | pkg_postrm() { |
105 | gnome2_icon_cache_update |
106 | fdo-mime_desktop_database_update |
107 | } |
108 | |
109 | rm_loc() { |
110 | sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed' |
111 | rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed" |
112 | } |