summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-07-31 10:49:52 +0000
committerMichael Palimaka <kensington@gentoo.org>2014-07-31 10:49:52 +0000
commitee6ac40da34af08b8ffcf25c557dfee717b35d38 (patch)
treeb75749d8b8071d743af422d9c2baf3323c9703cd /app-editors
parentamd64/x86 stable wrt #517692 (diff)
downloadgentoo-2-ee6ac40da34af08b8ffcf25c557dfee717b35d38.tar.gz
gentoo-2-ee6ac40da34af08b8ffcf25c557dfee717b35d38.tar.bz2
gentoo-2-ee6ac40da34af08b8ffcf25c557dfee717b35d38.zip
Version bump wrt bug #508578. Remove old.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/focuswriter/ChangeLog8
-rw-r--r--app-editors/focuswriter/focuswriter-1.4.1.ebuild44
-rw-r--r--app-editors/focuswriter/focuswriter-1.5.2.ebuild63
3 files changed, 70 insertions, 45 deletions
diff --git a/app-editors/focuswriter/ChangeLog b/app-editors/focuswriter/ChangeLog
index 4045bec3e14f..0407741b962a 100644
--- a/app-editors/focuswriter/ChangeLog
+++ b/app-editors/focuswriter/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/focuswriter
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.18 2014/02/04 13:43:40 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.19 2014/07/31 10:49:52 kensington Exp $
+
+*focuswriter-1.5.2 (31 Jul 2014)
+
+ 31 Jul 2014; Michael Palimaka <kensington@gentoo.org>
+ +focuswriter-1.5.2.ebuild, -focuswriter-1.4.1.ebuild:
+ Version bump wrt bug #508578. Remove old.
*focuswriter-1.4.4 (04 Feb 2014)
diff --git a/app-editors/focuswriter/focuswriter-1.4.1.ebuild b/app-editors/focuswriter/focuswriter-1.4.1.ebuild
deleted file mode 100644
index 14a7040e495d..000000000000
--- a/app-editors/focuswriter/focuswriter-1.4.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.4.1.ebuild,v 1.4 2013/03/02 19:20:49 hwoarang Exp $
-
-EAPI=5
-PLOCALES="ca cs da de el en es es_MX fi fr hu it ja nl pl pt_BR pt ru sk sv uk zh_CN"
-PLOCALE_BACKUP="en"
-inherit qt4-r2 l10n
-
-DESCRIPTION="A fullscreen and distraction-free word processor"
-HOMEPAGE="http://gottcode.org/focuswriter/"
-SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug"
-
-RDEPEND="
- app-text/enchant
- dev-libs/libzip
- media-libs/sdl-mixer[wav]
- sys-libs/zlib
- dev-qt/qtcore:4
- dev-qt/qtgui:4
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-DOCS=( ChangeLog CREDITS README )
-
-src_prepare() {
- l10n_for_each_disabled_locale_do rm_loc
-}
-
-src_configure() {
- eqmake4 PREFIX="${EPREFIX}/usr"
-}
-
-rm_loc() {
- sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed'
- rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed"
-}
diff --git a/app-editors/focuswriter/focuswriter-1.5.2.ebuild b/app-editors/focuswriter/focuswriter-1.5.2.ebuild
new file mode 100644
index 000000000000..c9cab120d623
--- /dev/null
+++ b/app-editors/focuswriter/focuswriter-1.5.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.5.2.ebuild,v 1.1 2014/07/31 10:49:52 kensington Exp $
+
+EAPI=5
+
+PLOCALES="ar ca cs da de el en en_GB es_MX es fi fr he hu hy id it ja ko nl pl
+pt_BR pt ro ru sk sr sv tr uk vi zh_CN zh_TW"
+PLOCALE_BACKUP="en"
+inherit fdo-mime gnome2-utils l10n readme.gentoo qt4-r2
+
+DESCRIPTION="A fullscreen and distraction-free word processor"
+HOMEPAGE="http://gottcode.org/focuswriter/"
+SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="app-text/hunspell
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog CREDITS NEWS README )
+DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is
+installed with wav useflag enabled."
+
+src_prepare() {
+ l10n_for_each_disabled_locale_do rm_loc
+}
+
+src_configure() {
+ eqmake4 PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+ readme.gentoo_create_doc
+ qt4-r2_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ readme.gentoo_pkg_postinst
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+rm_loc() {
+ sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed'
+ rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed"
+}