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, 12 Aug 2017 14:56:32
Message-Id: 1502549779.75ed73ced921fbd971109d048701350f036addd9.kensington@gentoo
1 commit: 75ed73ced921fbd971109d048701350f036addd9
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 12 14:54:10 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 12 14:56:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ed73ce
7
8 app-editors/focuswriter: version bump 1.6.6
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 app-editors/focuswriter/Manifest | 1 +
13 app-editors/focuswriter/focuswriter-1.6.6.ebuild | 54 ++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/app-editors/focuswriter/Manifest b/app-editors/focuswriter/Manifest
17 index 0496aba016f..4a1b9f10637 100644
18 --- a/app-editors/focuswriter/Manifest
19 +++ b/app-editors/focuswriter/Manifest
20 @@ -1 +1,2 @@
21 DIST focuswriter-1.6.5-src.tar.bz2 10194695 SHA256 48e949986a65bc51f46f10c075de2904b2e1feb0e1c74c0a8efe99cd8c2de0ce SHA512 a15024bc94f0212db2ec4f8d88b942fc3640b2917f130b1fbfb04ab616ed4d10baa11f9cab8d27a8fc40150bfa3e25d3afe1d76581dbe96a3cd6d62530207e12 WHIRLPOOL acb8fb4cc802a4f12758d02250fb14ef9b1eef4dad5aa98219c3a985f5df56c9fb780f7668a52e4ef7944b5e153386b00aff86c0e8e6161a99aa2bbf818d92b0
22 +DIST focuswriter-1.6.6-src.tar.bz2 10195488 SHA256 472e78de5443f52b3fbad0be0096b3eb5425e2719813b75ce28aa2c8d9b6340a SHA512 d4faae8477080e3898bad144e154c4c43232befe0c2ee90643a816cbb847d3eb25ed8f6fe916cafa5d445c4b3483e880f84015f952f4606bc01f595aa01e113a WHIRLPOOL 0570009d2240c42c128ecd35274bd876ff026b6f9a2abb6d56aa686fadc4f1aebd8c2e637ae6574a377e501e406c19c34088667c34cf8c76a37400c28c1ddae7
23
24 diff --git a/app-editors/focuswriter/focuswriter-1.6.6.ebuild b/app-editors/focuswriter/focuswriter-1.6.6.ebuild
25 new file mode 100644
26 index 00000000000..00b883cea9f
27 --- /dev/null
28 +++ b/app-editors/focuswriter/focuswriter-1.6.6.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 1999-2017 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 +RDEPEND="
47 + app-text/hunspell:=
48 + dev-qt/qtcore:5
49 + dev-qt/qtgui:5
50 + dev-qt/qtmultimedia:5
51 + dev-qt/qtprintsupport:5
52 + dev-qt/qtsingleapplication[qt5,X]
53 + dev-qt/qtwidgets:5
54 + sys-libs/zlib
55 +"
56 +DEPEND="${RDEPEND}
57 + dev-qt/linguist-tools:5
58 + dev-qt/qtconcurrent:5
59 + virtual/pkgconfig
60 +"
61 +
62 +DOCS=( ChangeLog CREDITS NEWS README )
63 +
64 +PATCHES=( "${FILESDIR}/${PN}-1.6.0-unbundle-qtsingleapplication.patch" )
65 +
66 +src_configure() {
67 + eqmake5 PREFIX="${EPREFIX}/usr"
68 +}
69 +
70 +src_install() {
71 + emake INSTALL_ROOT="${D}" install
72 + einstalldocs
73 +}
74 +
75 +pkg_postinst() {
76 + gnome2_icon_cache_update
77 + xdg_desktop_database_update
78 +}
79 +
80 +pkg_postrm() {
81 + gnome2_icon_cache_update
82 + xdg_desktop_database_update
83 +}