Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/focuswriter/
Date: Sat, 30 Jun 2018 02:11:55
Message-Id: 1530324700.c759c5a9f36433e44fec1635e1612d294c5199d1.kensington@gentoo
1 commit: c759c5a9f36433e44fec1635e1612d294c5199d1
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 30 02:11:25 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 30 02:11:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c759c5a9
7
8 app-editors/focuswriter: version bump 1.6.13
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-editors/focuswriter/Manifest | 1 +
13 app-editors/focuswriter/focuswriter-1.6.13.ebuild | 55 +++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/app-editors/focuswriter/Manifest b/app-editors/focuswriter/Manifest
17 index c3ec35a035a..a66a902870a 100644
18 --- a/app-editors/focuswriter/Manifest
19 +++ b/app-editors/focuswriter/Manifest
20 @@ -1 +1,2 @@
21 DIST focuswriter-1.6.10-src.tar.bz2 10202594 BLAKE2B d7b59dc2c37d87ed0d1e58358906a9fef6f14a339e12a50980d17cdbed043f604bb355edca956af61b5fcaa78f68eb35b54ef85fc08dfa00dfa747893d6c1200 SHA512 8c12481af77fa4353840f22a6aa54c5264041afc141d9746e097e42171a9f274663940fc0c5e5e2c91ef677190c682a195cb775199d4b8cc2b1ad040542e2e61
22 +DIST focuswriter-1.6.13-src.tar.bz2 10342493 BLAKE2B 11086bf7d35cc392169e7b6de57ea0b65c919bef0d845946893641f705ba0522bdef7244f4035104188d3fdf0dd3b6ad30ed6bf347b5ce8c422d7eea6c6dc714 SHA512 d78719d5a1e25afec8035759d0ebff17728e856fe346d4d8fefd38a15eea3476eb1c6e2aca30955ac148fadd4701a9c4a83399baffe93239a18b93854fab9858
23
24 diff --git a/app-editors/focuswriter/focuswriter-1.6.13.ebuild b/app-editors/focuswriter/focuswriter-1.6.13.ebuild
25 new file mode 100644
26 index 00000000000..f61c59e9ba3
27 --- /dev/null
28 +++ b/app-editors/focuswriter/focuswriter-1.6.13.ebuild
29 @@ -0,0 +1,55 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit gnome2-utils qmake-utils xdg-utils
36 +
37 +DESCRIPTION="A fullscreen and distraction-free word processor"
38 +HOMEPAGE="https://gottcode.org/focuswriter/"
39 +SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
40 +
41 +LICENSE="LGPL-3 GPL-3"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE=""
45 +
46 +# drop qtcore subslot when minimal Qt is 5.10
47 +RDEPEND="
48 + app-text/hunspell:=
49 + dev-qt/qtcore:5=
50 + dev-qt/qtgui:5
51 + dev-qt/qtmultimedia:5
52 + dev-qt/qtprintsupport:5
53 + dev-qt/qtsingleapplication[qt5(+),X]
54 + dev-qt/qtwidgets:5
55 + sys-libs/zlib
56 +"
57 +DEPEND="${RDEPEND}
58 + dev-qt/linguist-tools:5
59 + dev-qt/qtconcurrent:5
60 + virtual/pkgconfig
61 +"
62 +
63 +DOCS=( ChangeLog CREDITS NEWS README )
64 +
65 +PATCHES=( "${FILESDIR}/${PN}-1.6.0-unbundle-qtsingleapplication.patch" )
66 +
67 +src_configure() {
68 + eqmake5 PREFIX="${EPREFIX}/usr"
69 +}
70 +
71 +src_install() {
72 + emake INSTALL_ROOT="${D}" install
73 + einstalldocs
74 +}
75 +
76 +pkg_postinst() {
77 + gnome2_icon_cache_update
78 + xdg_desktop_database_update
79 +}
80 +
81 +pkg_postrm() {
82 + gnome2_icon_cache_update
83 + xdg_desktop_database_update
84 +}