app-editors/focuswriter: 1.7.1 version bump, EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 Feb 2019 21:22:45 +0000 (22:22 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 Feb 2019 23:06:32 +0000 (00:06 +0100)
Switch from gnome2-utils to xdg, EAPI-7 bump

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-editors/focuswriter/Manifest
app-editors/focuswriter/focuswriter-1.7.1.ebuild [new file with mode: 0644]

index 99a0e3344d3f8638f15f159d2b643a3df94557b2..26c313de027944b111cdf84af602924c1ab23fba 100644 (file)
@@ -1,2 +1,3 @@
 DIST focuswriter-1.6.13-src.tar.bz2 10342493 BLAKE2B 11086bf7d35cc392169e7b6de57ea0b65c919bef0d845946893641f705ba0522bdef7244f4035104188d3fdf0dd3b6ad30ed6bf347b5ce8c422d7eea6c6dc714 SHA512 d78719d5a1e25afec8035759d0ebff17728e856fe346d4d8fefd38a15eea3476eb1c6e2aca30955ac148fadd4701a9c4a83399baffe93239a18b93854fab9858
 DIST focuswriter-1.6.16-src.tar.bz2 10301446 BLAKE2B ade186dffe87b4256c85b876b7121fa144f264d358479ef46c34579f96ea15fdd55da2c036d35119fe1eee3498d64ad1ac72737fa2e9f45aa13535dec599b168 SHA512 aefffcde693f4e7627f11cc37d763936f85dd749293daf910934da99e858471399618243c20ff88cd4993cffcb4b3270cb38bd97834519484c463b1b1b7e5f0d
+DIST focuswriter-1.7.1-src.tar.bz2 10306009 BLAKE2B 8b76c4c85c304e4014ef91d1e0829b2e2fe06d4d064af1fe1f0e7b3ca1d7a8a0a776322bba574e3b64f4f57e6cdefb8c1c000c7aa17ad0e4fdddea41e2b3aa2f SHA512 a7d45978670305c1a1f1d737ba7620f6ec38c76ce3aefdac2b008d3d208686013d300436d8fa210c99fe3048a7f377b0e1ab8b9f92b2ed7f58d57354ea683522
diff --git a/app-editors/focuswriter/focuswriter-1.7.1.ebuild b/app-editors/focuswriter/focuswriter-1.7.1.ebuild
new file mode 100644 (file)
index 0000000..0eb1d6e
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils xdg
+
+DESCRIPTION="Fullscreen and distraction-free word processor"
+HOMEPAGE="https://gottcode.org/focuswriter/"
+SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BDEPEND="
+       dev-qt/linguist-tools:5
+       virtual/pkgconfig
+"
+RDEPEND="
+       app-text/hunspell:=
+       >=dev-qt/qtcore-5.11:5
+       >=dev-qt/qtgui-5.11:5
+       >=dev-qt/qtmultimedia-5.11:5
+       >=dev-qt/qtprintsupport-5.11:5
+       dev-qt/qtsingleapplication[qt5(+),X]
+       >=dev-qt/qtwidgets-5.11:5
+       sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+       dev-qt/qtconcurrent:5
+"
+
+DOCS=( ChangeLog CREDITS README )
+
+PATCHES=( "${FILESDIR}/${PN}-1.6.0-unbundle-qtsingleapplication.patch" )
+
+src_configure() {
+       eqmake5 PREFIX="${EPREFIX}"/usr
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+       einstalldocs
+}