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