summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
commit79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch)
treeade7cb031f363fad64c77139dea7aa3d81908537 /app-editors
parent6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff)
gentoo resync : 16.02.1018
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14069 -> 14068 bytes
-rw-r--r--app-editors/focuswriter/Manifest6
-rw-r--r--app-editors/focuswriter/focuswriter-1.6.13.ebuild55
-rw-r--r--app-editors/focuswriter/focuswriter-1.6.16.ebuild4
-rw-r--r--app-editors/focuswriter/focuswriter-1.7.1.ebuild46
-rw-r--r--app-editors/leafpad/Manifest2
-rw-r--r--app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild30
-rw-r--r--app-editors/scite/Manifest2
-rw-r--r--app-editors/scite/scite-4.1.3.ebuild119
-rw-r--r--app-editors/tea/Manifest2
-rw-r--r--app-editors/tea/tea-47.0.0.ebuild59
11 files changed, 245 insertions, 80 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 2f22bc705615..506577844946 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/focuswriter/Manifest b/app-editors/focuswriter/Manifest
index 44f63a5ad693..6bf8cec26087 100644
--- a/app-editors/focuswriter/Manifest
+++ b/app-editors/focuswriter/Manifest
@@ -1,6 +1,6 @@
AUX focuswriter-1.6.0-unbundle-qtsingleapplication.patch 1108 BLAKE2B b17d04cfb5833d485a421244228ef36601320ddcdad1e744e4a83fee2633154c4bd642053e09bf97ee79aab2b11a82df4afcb4a70823cb5df24b5232c9b0a8d6 SHA512 5f272a4c65b1eb58cc87732fbe82f2c6b925562e77b2280a8b9a0a8b0a41716567051ebd4f6ed32caa8ce7f14edff4e20666f6ad4e464cc8d308640efa4a3c19
-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
-EBUILD focuswriter-1.6.13.ebuild 1088 BLAKE2B ff94d0c7953ff3e0c76462014c9b401d7998eadc3cb8699667a931d7b8a70ca4c1685a78a8b0350a6124e1d32598cc1d8c4442983f46aa90e45920b4fe363a9a SHA512 631f853d16a2759b1e7e359fc020aa48eb82df1f41a024c4665485277ff4a0d7d9dba144f782425e12dc4ca9eec0506698fafb687292fd595a11cd6e789c36de
-EBUILD focuswriter-1.6.16.ebuild 1073 BLAKE2B a38856c1b8938448bd2f0ef03539418b0b5653866e9a342469dbfc35573a0959e313b3d4fc9127c32f8fa0deb6437083061d8464ef40a2d21b084dc3a06a2462 SHA512 e824d960df167fd2a4afe9fd64e08a5f225be25caa5286b098f4d816eb3aa1b383a783187e3f2adef44577be6523585d0f5a440f68a5d81b2d2385f83a2eb04e
+DIST focuswriter-1.7.1-src.tar.bz2 10306009 BLAKE2B 8b76c4c85c304e4014ef91d1e0829b2e2fe06d4d064af1fe1f0e7b3ca1d7a8a0a776322bba574e3b64f4f57e6cdefb8c1c000c7aa17ad0e4fdddea41e2b3aa2f SHA512 a7d45978670305c1a1f1d737ba7620f6ec38c76ce3aefdac2b008d3d208686013d300436d8fa210c99fe3048a7f377b0e1ab8b9f92b2ed7f58d57354ea683522
+EBUILD focuswriter-1.6.16.ebuild 1071 BLAKE2B 0a602d38299bde8d04b84a60f455d0bf89a5d81b8a7f97b177e5f218aa1b27f3b3ed97824ad8d4b34384a4c82b6a8682aca5939a1f1cc0aaf22c0fcbe136b6a0 SHA512 9299c32e46563fd6d45d72f9c4ef1d3afe10d2eca7e9a6d31fc06c4fd522fdfacfdc3189007bb3ddc6e189c8507acd1b9c0b49df7b187b9297fc2013125968e8
+EBUILD focuswriter-1.7.1.ebuild 916 BLAKE2B 6ed0b071addf2cdff3a70620d03a4cc999088db46af0078b5b8ad8402a65de12921e39bde11b77aae0e83bbf164b29d328d63c1426a3d6a2ee6c1d9008d6f4a5 SHA512 536390081a468c38782c0505d29dc705ca8b691549862be8d34b10bedd237bd04237b2c86bc2681b0478a23dcf1bf059b4b29d7afc7d7b12744293e6b5e864d4
MISC metadata.xml 392 BLAKE2B dcb98e8e1ba1c2a2aea89d380d6a2a1a1cfd5fd9773f133aa7603b88384c91911429832a7117026cea4c092c1c84dfe440a2c4da875ce56e1da7e8670aecf068 SHA512 beaf6206dfa83ffa8acbae3d5f8c5a9041974588a18de742fa049d4ff0b8d75bcb2f40ab081418cdd2987709566b678f7016b1be0acb02deeec480cd25ddf3cb
diff --git a/app-editors/focuswriter/focuswriter-1.6.13.ebuild b/app-editors/focuswriter/focuswriter-1.6.13.ebuild
deleted file mode 100644
index b76907d10e21..000000000000
--- a/app-editors/focuswriter/focuswriter-1.6.13.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome2-utils qmake-utils xdg-utils
-
-DESCRIPTION="A fullscreen and distraction-free word processor"
-HOMEPAGE="https://gottcode.org/focuswriter/"
-SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
-
-LICENSE="LGPL-3 GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-# drop qtcore subslot when minimal Qt is 5.10
-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/linguist-tools:5
- 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_postinst() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
-}
diff --git a/app-editors/focuswriter/focuswriter-1.6.16.ebuild b/app-editors/focuswriter/focuswriter-1.6.16.ebuild
index ea35e3d513fa..e76a7123b909 100644
--- a/app-editors/focuswriter/focuswriter-1.6.16.ebuild
+++ b/app-editors/focuswriter/focuswriter-1.6.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
diff --git a/app-editors/focuswriter/focuswriter-1.7.1.ebuild b/app-editors/focuswriter/focuswriter-1.7.1.ebuild
new file mode 100644
index 000000000000..0eb1d6e9eb3f
--- /dev/null
+++ b/app-editors/focuswriter/focuswriter-1.7.1.ebuild
@@ -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
+}
diff --git a/app-editors/leafpad/Manifest b/app-editors/leafpad/Manifest
index 7d959f95ca5d..28448cb21a6c 100644
--- a/app-editors/leafpad/Manifest
+++ b/app-editors/leafpad/Manifest
@@ -2,6 +2,6 @@ AUX leafpad-0.8.18.1-fdo.patch 557 BLAKE2B be91b5e3c6159701303254d6c7c753dce3b19
AUX leafpad-0.8.18.1-format-security.patch 821 BLAKE2B 2b26cdc2ddc6cd0047c40fcf0b4c1f4bab4aedd422169ccfcf88c58db60320f7fa75367ba6a6d46ba9fa28c6d7275f79dbadafb393e0e7e8f78352ebc7574c03 SHA512 d8a39dc2412055a41eeb7966ff7e3884489d584726501233f67d8d56bded6e50467bcc60a4c2d0be972c0eb6732d9bdc7d00f69845737b049e8b0cc046f87a64
AUX leafpad-0.8.18.1-truncate.patch 590 BLAKE2B e12eec5436ba8bf2972a8e0bd09fff7a762e14a9a6a5ffc12817e6c051e6b702c8fa0c0b3fcc554759e4f88d58614f63956d3f4cd9580c7ba09d9a8f65892c2a SHA512 f2c3fcaeeeec9eee0dac5088c40c675deb2b01f313125443f76a869741dab5f88ea181a6b29b8f6ad1f8bbb708887cd10ee1162e121ef5029a4a43eacf14a7fa
DIST leafpad-0.8.18.1.tar.gz 289117 BLAKE2B 41f01f9b9e031c749a4b1a06d32edbcf9b0f0a694141c79bb462fce29d59f87efa52bc4a7faf270ce28f04697deb6350fe4e26317d28450d7d785a01007c06c2 SHA512 1caad712967f634f585ab32e406534b5ce2c5621008c1eb5b2b48f17ca0f48cd834ea2ea1c67eda4053fa84e8727ff0e708e99d3b5dad838dcf0701389788257
-EBUILD leafpad-0.8.18.1-r1.ebuild 898 BLAKE2B 5ce31f8a162e5b56b9bef2045fb09f325aa401200d27be22aead77cbfaf42e0638f3e5f5407edfb5c0464b6f528ef4d5bd66892a804f9290a92d1f04e86a57bd SHA512 cf295724965db1a6da2852bb2ab3337c866e6da35638899b2eb0131b2033e92b83ad7b853d824d5098bfe7f7d4f639772a57cf4ba78cf2198c035924fae6f63a
+EBUILD leafpad-0.8.18.1-r1.ebuild 740 BLAKE2B 09f196ac867214cb0b012a1d498fa0e7422a30d909124a93cb2c1d4cf5e22aa21bfb31ab6819d553e54bb52975005a19821a2ccc9833931453e77f5dc1a063f5 SHA512 016e5ff951a0bf237aeb296302a91f34f55aa3c822669dec3002f325f0b2ac5f521eee3489d59dac1b57606792eac04ed919996c0273877a62f315ecd9ffcd2a
EBUILD leafpad-0.8.18.1.ebuild 826 BLAKE2B 51a19dda328c9d214a88a45f1df00462730fcfc758cf29650c4e587d2e8b2e0c6371f556f2aec9150ad6eb2dec2d6534122d63cfeed4701d7e9a0c2e9cef075b SHA512 08dc550cdec48dc11200f548341120674c6f81c17808dd99792f14d9b67191335a60d6b28b7ef80b86434d11fc3dbc7a7382944228bfed678e74f1b769a6e840
MISC metadata.xml 205 BLAKE2B 14c07c010c87fb27c21a84c8c1a03a4f7a145a8de84571b9a112a7bbf9f0677a8cb7e02a61d9d9dc322174839e0f5e6c721a07988a835b189ac6fb97c39527ce SHA512 e94eb3d2eec0ffa8543112e75899eb7f2c582d2e5615a82b568e907e488f0a8b400946550ae39c7d278a8fa8c8912e6221e3013868ce7e218abbcf76b57cb693
diff --git a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
index e1af082f7930..aacccf082f76 100644
--- a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
+++ b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit gnome2-utils xdg-utils
+EAPI=7
-DESCRIPTION="A simple GTK2 text editor"
+inherit xdg
+
+DESCRIPTION="Simple GTK2 text editor"
HOMEPAGE="http://tarot.freeshell.org/leafpad/"
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
@@ -13,15 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="emacs"
-RDEPEND="
- virtual/libintl
- x11-libs/gtk+:2
-"
-DEPEND="${RDEPEND}
+BDEPEND="
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
+DEPEND="
+ virtual/libintl
+ x11-libs/gtk+:2
+"
+RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-fdo.patch
@@ -37,13 +39,3 @@ src_configure() {
--enable-print \
$(use_enable emacs)
}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 7fab7d489a93..aa1f395d440c 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,8 +1,10 @@
AUX scite.desktop 138 BLAKE2B f0cc28779504c505e8876fadaffc979939c48088e5cb5c1d0a8b2cd499ecc21806655415ba34b2ca5351a31a588c5818ed21e38c19233055386c0246c5aae4be SHA512 9e226e4207ccaf0ae654e0456906547d9eaa77d5f09e057e56a657ae06fe909a759a8ae30bb625ec556f72a3a7105fc1f4407f1f51c05c40ba2cc1ec08469da6
+DIST scite-4.1.3.tgz 2546247 BLAKE2B 9c0cd767e6aff861bb706500eebf5fa431d5ce608f37a9b19d2af7d558698eb3073a33fcdd0900abb549aa9ed65981a9f217dc1dae4b21be919c380d20d4ee8f SHA512 875dd44785e9c96a264df9061830c7ab51296061da7765084ec4445d7f529dabecebcfadc5a1d8cab9074ffd588903ca056ed5de0ae974d60a5c57b13d61550d
DIST scite355.tgz 2302137 BLAKE2B 5b36c68a5447b7fd0dd2fce51fc09cec0ee4a86be10f4f32fa7bf47354c56424cbead6cdfe819c8014be75e843c867ccaa137c5f7e32c3f9b0dabb6b9a5a9cb3 SHA512 cdd9d3aa621f5d31632cfb9f71524255a4b47b70a654bf4bc8a25a76f8a2dbe098a48e0cd4587ced8ca8455be7e809973e212fcbcde5b62087aa0f9528f7f40d
DIST scite365.tgz 2391190 BLAKE2B 0cd2b1b24bcd15815357125725b1453935dc944ca1ddbd77772923ceeb249b3182dc47cb1e1097a4e0942b3a5c7528d0e80fe2314ed9d3d2b7f4e960a0f17ff2 SHA512 193dcb1f8787a7c7d520ce62462e5c95e7b6bcaf79f4ab23f9885474fb0444dbc5a69a0d45eafc592e5fff2a2e746a9aba599799e847e3c74d3436eed26580a9
DIST scite402.tgz 2424648 BLAKE2B 84a331865310058d26ca45a25b99d98a7c3374d0463024e31694e2ebbd519a20e8e368dc1dfabc2534e8f015fc95ca53382bc223476b882a7be543ffdc44ae2b SHA512 97898cbb8675d013dd91828792de1c71e3f013b21c59c5112ddc00e7ee35c2ba8cc29e2c3256b91171e052145a25cddfd0034505e3c185999c734504bb702283
EBUILD scite-3.5.5.ebuild 2106 BLAKE2B 0fbf6349ae99aa3e489dbb025cb78c22038ddb5c4e232f2ef1f89ec0a0615ed8b1c463a3afe9cc727500f4d4cbf5bfc4c2a53e5dc8677b8b46462a828838f6d9 SHA512 e1d459d71002b5f9a856e7b7ad4c9ad43bb0883f382d19dea28c43588e5ef495bca3dc769859781e26a65745dca5a252bbc81a657e261d64556366ceb60a60c1
EBUILD scite-3.6.5-r1.ebuild 2232 BLAKE2B 1b98e140a18dfa4c3b45a0d2febfe841af872df2cb508ac7c5f38ba04a463c182209b0530837208b81754c6b5d4bc2bc5fb02d9aeb1bbff7c6e319f0f94b1987 SHA512 ee976179aef40711c27e4f6edec220e20a4fcf08f3edc430a83e6eedf2b1b56ab57c907c333d358cfeb6b08da29aafdba1211a10168ccc0ab6eadb0648b7a611
EBUILD scite-4.0.2.ebuild 2685 BLAKE2B 4bc65707a1cb11601a2118547882acda73c5d44d7b5f4d4fbfcde0734aac363d63399f046689ea9e5d47a6456dc07aa757f9ff86a6e8a08f0afb6f52f90990cf SHA512 bd98bfcaf33289cea962500ac87505b541e3496c019e4b88f3562b380c8b06c54a93c5ff761319c404b8512fca673b14c2b966d2ac1253a3bb64a4fef7d9ccb8
+EBUILD scite-4.1.3.ebuild 2988 BLAKE2B 660573fc9cc0f46bf10316e7478c6b02c725a43a4aa80849e70fab05179a39fc751db73b19769222016735f56d03003152739826140833572961788f4bcc3151 SHA512 bfdb80f6fd248dc6ca93457f54f56a1e378d6c03be5aa8586ca66a6caddc2761893382ce66efdbe287b6ec747467faea2134906343eb0fb9d59ff373a67d7c70
MISC metadata.xml 446 BLAKE2B d239ff5dbfaf214b40d63422d94f2cabfb2b66946ad9ef51d69a03829fa73cff46fcaba07dd4dba740c7825e5afe84f6b5fed51e0cd2ebecbc12434d9f2af0e7 SHA512 a72f8d7de688aadff2bfabea5f61abc2d68768ef9d64feb45ccb002a9565cb329edfb951ba777add29356b7c8503b2a9637cb8a8661767480bc85f80724caa79
diff --git a/app-editors/scite/scite-4.1.3.ebuild b/app-editors/scite/scite-4.1.3.ebuild
new file mode 100644
index 000000000000..fd4938711afc
--- /dev/null
+++ b/app-editors/scite/scite-4.1.3.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils toolchain-funcs xdg-utils
+
+MY_PV=${PV//./}
+DESCRIPTION="A very powerful, highly configurable, small editor with syntax coloring"
+HOMEPAGE="http://www.scintilla.org/SciTE.html"
+SRC_URI="https://www.scintilla.org/${PN}${MY_PV}.tgz -> ${P}.tgz"
+
+LICENSE="HPND lua? ( MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lua"
+
+RDEPEND="
+ dev-libs/glib:=
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3=
+ x11-libs/pango
+ lua? ( >=dev-lang/lua-5:= )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}/gtk"
+
+pkg_pretend() {
+ if tc-is-clang ; then
+ # need c++17 features
+ [[ "${MERGE_TYPE}" != "binary" &&
+ $(clang-major-version) -lt 5 ]] &&
+ die "Sorry, SCiTE uses C++17 Features and needs >sys-devel/clang-5
+ ($(clang-major-version))."
+
+ elif tc-is-gcc; then
+ # older gcc is not supported
+ [[ "${MERGE_TYPE}" != "binary" &&
+ $(gcc-major-version) -lt 7 ]] &&
+ die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
+ else
+ die "Either gcc or clang should be configured for building scite"
+ fi
+}
+
+src_prepare() {
+ # remove hardcoded CC, Optimizations and clang unknown flags
+ sed -i "${WORKDIR}/scintilla/gtk/makefile" \
+ -e "s#^CC = gcc#CC = ${CC}#" \
+ -e "s#^CC = clang#CC = ${CC}#" \
+ -e "s#^CXX = clang++#CC = ${CXX}#" \
+ -e "s#-Os##" \
+ -e "s#-Wno-misleading-indentation##" \
+ || die "error patching /scintilla/gtk/makefile"
+
+ sed -i "${S}/makefile" \
+ -e "s#^CC = clang#CC = ${CC}#" \
+ -e "s#^CXX = clang++#CC = ${CXX}#" \
+ -e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
+ -e "s#-Os##" \
+ || die "error patching gtk/makefile"
+
+ # repair and enhance the .desktop file
+ sed -i "${S}/SciTE.desktop" \
+ -e "s#text/plain#text/\*;application/xhtml+xml#" \
+ -e "s#^Categories=\(.*\)#Categories=Development;#" \
+ || die "error patching /scite/gtk/SciTe.desktop"
+
+ # add the ebuild suffix as shell type for working with ebuilds
+ sed -i "${WORKDIR}/scite/src/perl.properties" \
+ -e "s#\*.sh;\*.bsh;#\*.ebuild;\*.sh;\*.bsh;#" \
+ || die "error patching /scite/src/perl.prperties"
+
+ # it seems that pwd here is ${S}, but user patches are relative to ${workdir}
+ # Bug #576162
+
+ cd "${WORKDIR}" || die "couldn't cd into ${WORKDIR}"
+ eapply_user
+}
+
+src_compile() {
+ # prepare make options
+ local emake_pars="GTK3=1"
+
+ if tc-is-clang ; then
+ emake_pars+=" CLANG=1"
+ fi
+
+ if ! use lua; then
+ emake_pars+=" NO_LUA=1"
+ fi
+
+ emake -C "${WORKDIR}/scintilla/gtk" "${emake_pars}"
+ emake "${emake_pars}"
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+
+ # we have to keep this because otherwise it'll break upgrading
+ mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
+ dosym scite /usr/bin/SciTE
+ doman ../doc/scite.1
+ dodoc ../README
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/app-editors/tea/Manifest b/app-editors/tea/Manifest
index 040ce6e0c60f..c3300a6b4061 100644
--- a/app-editors/tea/Manifest
+++ b/app-editors/tea/Manifest
@@ -1,3 +1,5 @@
DIST tea-44.1.1.tar.bz2 425326 BLAKE2B e674456c428bbecd5afb256280bccb61b6385492153955625c158dcfebba0ed31caebdcc06bc1f809517badddef3d97245a4bc873bcc0593957647becdebf62b SHA512 fc7bf6f76ac3a48767a39ff5bcada4c7dae40950bfd9aca4021b3581e1b702c73f2608b070306dd528932d5eaa73bf01632a4376bbb71deaf1189a0f790c05a9
+DIST tea-47.0.0.tar.bz2 437273 BLAKE2B 8ed36526dedc6df4af74ef0e400c2ee2e19bb533cf2a4fa51df83f21ad78abb0e8e90bce3469e2e8db5f780ba8a900aedf2737c736945431b836ba0a76574b26 SHA512 7136d59383bf43c6a024a31aa29860a3e89893ff091a42f44f9e7088fb318920ab886cd1fdabc8ff6e3c30f8eb3d46d707228d2d45fb085ed7c822a4ffd89d13
EBUILD tea-44.1.1.ebuild 1366 BLAKE2B ed9163609bb1041fce04663549f72f500744983b064d3aabf2d85540aed1770b13c36ab877364b7c7209cfa92dabce0a0e7aa826f1fb8278273364cc87c99354 SHA512 42c773cc51d323faf9e4546398bf37258795583ad17699f0de5a6dcb2e9f469df172b38f1d0cdc50af8f081e1356d57f3e0f31fb31abe28530157147f92411fa
+EBUILD tea-47.0.0.ebuild 1238 BLAKE2B 25832a1cba3bf667fd80f5bb5b176ced8282359a1ad7f90fc3a4e9575cd175ed3a64e00cb781a0b9aa1778b39b41a680648bb75dc577f74349e274e53c252cae SHA512 43ff1904c34c795144749a93e264b0591942b5622946d574f0026d5f3c52fbb14160d6adfc10f35266c7d508d224551797d900adc3b7330cf1fa78eb3ee1f477
MISC metadata.xml 737 BLAKE2B 891e84e0d4bef855f64e09d795bb57c8dbac9906529d311716047b2aabd08f1ec93a28d0f61652a5d7af21fae8ac8e920bca68492ddc79db6e3d0d02d091b2cf SHA512 f253f80583e79be7b0e03ec3515e2e1e48425fd7bb520422e0c2883fc2da07b7e1b5f83d6c7d4e6317a47b2179f7627b8975493b82e800241530aa2b42efd6a6
diff --git a/app-editors/tea/tea-47.0.0.ebuild b/app-editors/tea/tea-47.0.0.ebuild
new file mode 100644
index 000000000000..fb73c864181b
--- /dev/null
+++ b/app-editors/tea/tea-47.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils xdg
+
+DESCRIPTION="Small, lightweight Qt text editor"
+HOMEPAGE="https://tea.ourproject.org/"
+SRC_URI="https://tea.ourproject.org/dloads/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aspell djvu hunspell pdf +qml"
+
+BDEPEND="
+ hunspell? ( virtual/pkgconfig )
+"
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+ aspell? ( app-text/aspell )
+ djvu? ( app-text/djvu )
+ hunspell? ( app-text/hunspell:= )
+ pdf? ( app-text/poppler[qt5] )
+ qml? ( dev-qt/qtdeclarative:5 )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS NEWS-RU TODO )
+
+src_configure() {
+ local myqmakeargs=(
+ PREFIX=/usr
+ $(usex aspell '' CONFIG+=noaspell)
+ $(usex djvu CONFIG+=usedjvu '')
+ $(usex hunspell '' CONFIG+=nohunspell)
+ $(usex pdf CONFIG+=usepoppler '')
+ $(usex qml '' CONFIG+=noqml)
+ )
+ eqmake5 tea-qmake.pro "${myqmakeargs[@]}"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+
+ docinto html
+ dodoc manuals/*.html
+
+ insinto /usr/share/qt5/translations
+ doins translations/${PN}_*.qm
+}