summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-08-29 05:27:37 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-08-29 05:28:01 +1000
commitb28fd7bd5885f0d4b21349ae10465c2d2d155103 (patch)
treef178f1853bbfc3cda0770f30ac9510d468e4ca7f /app-editors
parentapp-backup/kfoldersync: version bump (diff)
downloadgentoo-b28fd7bd5885f0d4b21349ae10465c2d2d155103.tar.gz
gentoo-b28fd7bd5885f0d4b21349ae10465c2d2d155103.tar.bz2
gentoo-b28fd7bd5885f0d4b21349ae10465c2d2d155103.zip
app-editors/focuswriter: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/focuswriter/Manifest1
-rw-r--r--app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch37
-rw-r--r--app-editors/focuswriter/focuswriter-1.6.0.ebuild58
3 files changed, 96 insertions, 0 deletions
diff --git a/app-editors/focuswriter/Manifest b/app-editors/focuswriter/Manifest
index d4b24a17e1eb..524203e520d6 100644
--- a/app-editors/focuswriter/Manifest
+++ b/app-editors/focuswriter/Manifest
@@ -1,3 +1,4 @@
DIST focuswriter-1.5.5-src.tar.bz2 5249014 SHA256 b6a2085587864b2685516d20870d9375803ccdf3472e66bf457382d028c1da0e SHA512 aed6a2e203dcf349ff7fef6caa8e7ab1dbba80da988933c06d6f4ea1ad49ad4c4546b30aaacf9373d1234cb8934daac36f00d0d7b3512d9c3fc4f1e1b273a766 WHIRLPOOL 29795304e6d6687d16d2774cd4d28d0c45382474391d7ad62fa557a134e7c5d11ba6bf81bb81df2b0fb3727b4bb32f705d8fe73a7129f44c8485cc9d8b19b2e1
DIST focuswriter-1.5.6-src.tar.bz2 5274057 SHA256 ec22ce097ae48d46c9a5c485630a885d67b7a281ca6b760d9d494546ed284b17 SHA512 a8d53d13fc1efb385eb8d9a93cb2ebde688d0d52e7f9ba4cb72cd7181e5ab1cff046358c217e45c939ae5a7f618acfddd57eef4ca0f02e3bb046dfdf361d26b9 WHIRLPOOL 79ec3af30e86ccca46a6c07615b7183541983792f809fdda8a159bd83785f5fe799828d994c23903421dd0628c61a6aa12686826b4d56ca66f6aaaa01f87f64f
DIST focuswriter-1.5.7-src.tar.bz2 5274706 SHA256 e2ce4f2be1d76ded2de589e60e40677166e582dc8aa3657167d52deab209c92a SHA512 15bbaf2d34d6232aca50bc10daadbb8eef8aa37336a4373cde0f4b6f638a8832c4ea764a0cc670f77174df200be17ec40406921adc3266d858726a42412107bb WHIRLPOOL e9e30a798740deca2f13301846a915b404cc6d89b47700490d0c27a3d40efb9f69fff17eaf7079d09ed1967fdef329ef5b6f63ab58b9c15179d3e87a72e930fc
+DIST focuswriter-1.6.0-src.tar.bz2 10430720 SHA256 174bfe2e076eba3426f24362de40c399094cd480d25353fe01537ae64dede12e SHA512 60921a55bdec7985541fdc4947db879fca60b4d6475644a76cd0de6d7dc70874456c35c852a25066b06176a199fca2860866369de1a5a13e595cfc977faade75 WHIRLPOOL 313011af9e1b52d4ad333c834befabf5da494db60b93875490a70e6caaf287be526fe6fffe69d89bc984471afa0d3f864fc833aedfc0a8aa66eafe556cd7cd63
diff --git a/app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch b/app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch
new file mode 100644
index 000000000000..000db83f10e1
--- /dev/null
+++ b/app-editors/focuswriter/files/focuswriter-1.6.0-unbundle-qtsingleapplication.patch
@@ -0,0 +1,37 @@
+--- a/focuswriter.pro
++++ b/focuswriter.pro
+@@ -7,6 +7,7 @@
+
+ TEMPLATE = app
+ QT += network widgets printsupport multimedia concurrent
++CONFIG += qtsingleapplication
+ macx {
+ QT += macextras
+ }
+@@ -83,7 +84,7 @@
+ src/spelling/dictionary_provider_voikko.cpp
+ }
+
+-INCLUDEPATH += src src/fileformats src/qtsingleapplication src/qtzip src/spelling
++INCLUDEPATH += src src/fileformats src/qtzip src/spelling
+
+ # Specify program sources
+ HEADERS += src/action_manager.h \
+@@ -142,8 +143,6 @@
+ src/fileformats/rtf_tokenizer.h \
+ src/fileformats/rtf_writer.h \
+ src/fileformats/txt_reader.h \
+- src/qtsingleapplication/qtsingleapplication.h \
+- src/qtsingleapplication/qtlocalpeer.h \
+ src/qtzip/qtzipreader.h \
+ src/qtzip/qtzipwriter.h \
+ src/spelling/abstract_dictionary.h \
+@@ -207,8 +206,6 @@
+ src/fileformats/rtf_tokenizer.cpp \
+ src/fileformats/rtf_writer.cpp \
+ src/fileformats/txt_reader.cpp \
+- src/qtsingleapplication/qtsingleapplication.cpp \
+- src/qtsingleapplication/qtlocalpeer.cpp \
+ src/qtzip/qtzip.cpp \
+ src/spelling/dictionary_dialog.cpp \
+ src/spelling/dictionary_manager.cpp \
diff --git a/app-editors/focuswriter/focuswriter-1.6.0.ebuild b/app-editors/focuswriter/focuswriter-1.6.0.ebuild
new file mode 100644
index 000000000000..d3c77f626c25
--- /dev/null
+++ b/app-editors/focuswriter/focuswriter-1.6.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit fdo-mime gnome2-utils qmake-utils
+
+DESCRIPTION="A fullscreen and distraction-free word processor"
+HOMEPAGE="http://gottcode.org/focuswriter/"
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-text/hunspell:=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsingleapplication[qt5,X]
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ dev-qt/qtconcurrent:5
+ virtual/pkgconfig
+"
+
+DOCS=( ChangeLog CREDITS NEWS README )
+
+PATCHES=( "${FILESDIR}/${PN}-1.6.0-unbundle-qtsingleapplication.patch" )
+
+src_configure() {
+ eqmake5 PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}