1 |
commit: 3347a95434b9cacda630683a7acbf36f60fb0949 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 15 17:48:04 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 15 17:54:58 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3347a954 |
7 |
|
8 |
app-editors/focuswriter: version bump |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-editors/focuswriter/Manifest | 1 + |
13 |
app-editors/focuswriter/focuswriter-1.5.5.ebuild | 67 ++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/focuswriter/Manifest b/app-editors/focuswriter/Manifest |
17 |
index c2bf163..72ab73c 100644 |
18 |
--- a/app-editors/focuswriter/Manifest |
19 |
+++ b/app-editors/focuswriter/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST focuswriter-1.5.3-src.tar.bz2 5201148 SHA256 1c48c72879a7b40cf7d97c28abf5cf713c063b7f83a1179093b1241f5797a8c4 SHA512 6796fc8dbe5d5ba545fc8ee5797f620e56dea67a038f4c4eb9e404940a863b32ea2ceb30ed7ea8e22187be2763cc128def3f08f61187ba11de94ec9ae16f807f WHIRLPOOL c5dbf0e739928833bbccdc2e5de6305ca553a3e8f0f1d54d1d2a6bd4636b8ede85c3adedcaee85d66779e25cd53678428cc3817bdedcf30be42c89fc1aebdf07 |
22 |
DIST focuswriter-1.5.4-src.tar.bz2 5247111 SHA256 5ffd74a2d5a790e432d819dfd269ddb8d6c1a0168c91e441b2121fa6eaf8f565 SHA512 f532dac5a0691d7b82a16b5dae115c7d79b161484ba1ad2243fd1ccaeba8ae9c9ed0019eba6cd87cc4155a51f5a97cad16c92b9453671426e214e139d78bc526 WHIRLPOOL aca3722b60aee8bec0979f71a04d28217c82c9a2fb60b49a19a58596c9d67bd160626d14cc950eeaa9c0543001f93ec9576a1561c24bbe29a98eeec708287331 |
23 |
+DIST focuswriter-1.5.5-src.tar.bz2 5249014 SHA256 b6a2085587864b2685516d20870d9375803ccdf3472e66bf457382d028c1da0e SHA512 aed6a2e203dcf349ff7fef6caa8e7ab1dbba80da988933c06d6f4ea1ad49ad4c4546b30aaacf9373d1234cb8934daac36f00d0d7b3512d9c3fc4f1e1b273a766 WHIRLPOOL 29795304e6d6687d16d2774cd4d28d0c45382474391d7ad62fa557a134e7c5d11ba6bf81bb81df2b0fb3727b4bb32f705d8fe73a7129f44c8485cc9d8b19b2e1 |
24 |
|
25 |
diff --git a/app-editors/focuswriter/focuswriter-1.5.5.ebuild b/app-editors/focuswriter/focuswriter-1.5.5.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..f2e2306 |
28 |
--- /dev/null |
29 |
+++ b/app-editors/focuswriter/focuswriter-1.5.5.ebuild |
30 |
@@ -0,0 +1,67 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PLOCALES="ar ca cs da de el en en_GB es_MX es fi fr he hu hy id it ja ko nl pl |
38 |
+pt_BR pt ro ru sk sr sv tr uk vi zh_CN zh_TW" |
39 |
+PLOCALE_BACKUP="en" |
40 |
+inherit fdo-mime gnome2-utils l10n readme.gentoo qt4-r2 |
41 |
+ |
42 |
+DESCRIPTION="A fullscreen and distraction-free word processor" |
43 |
+HOMEPAGE="http://gottcode.org/focuswriter/" |
44 |
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="debug" |
50 |
+ |
51 |
+RDEPEND="app-text/hunspell |
52 |
+ dev-qt/qtcore:4 |
53 |
+ dev-qt/qtgui:4 |
54 |
+ dev-qt/qtsingleapplication[qt4(+),X] |
55 |
+ sys-libs/zlib" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ virtual/pkgconfig" |
58 |
+ |
59 |
+DOCS=( ChangeLog CREDITS NEWS README ) |
60 |
+DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is |
61 |
+installed with wav useflag enabled." |
62 |
+ |
63 |
+PATCHES=( "${FILESDIR}/${PN}-1.5.2-unbundle-qtsingleapplication.patch" ) |
64 |
+ |
65 |
+rm_loc() { |
66 |
+ sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed' |
67 |
+ rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed" |
68 |
+} |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ l10n_for_each_disabled_locale_do rm_loc |
72 |
+ qt4-r2_src_prepare |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ eqmake4 PREFIX="${EPREFIX}/usr" |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ readme.gentoo_create_doc |
81 |
+ qt4-r2_src_install |
82 |
+} |
83 |
+ |
84 |
+pkg_preinst() { |
85 |
+ gnome2_icon_savelist |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ readme.gentoo_pkg_postinst |
90 |
+ gnome2_icon_cache_update |
91 |
+ fdo-mime_desktop_database_update |
92 |
+} |
93 |
+ |
94 |
+pkg_postrm() { |
95 |
+ gnome2_icon_cache_update |
96 |
+ fdo-mime_desktop_database_update |
97 |
+} |