summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-11 23:13:25 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-11 23:46:08 +0200
commit2de492f66f593f97c84056a21259aaa5653681dd (patch)
treefe20d10d8a88b87b3b6ef55c8ac06f5b3621c0f0 /kde-apps/kwrite
parentkde5.eclass: Disable kdoctools_install(po) if KDE_HANDBOOK=forceoptional (diff)
downloadgentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.gz
gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.bz2
gentoo-2de492f66f593f97c84056a21259aaa5653681dd.zip
kde-apps: Add KDE Applications 17.04.1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r--kde-apps/kwrite/Manifest1
-rw-r--r--kde-apps/kwrite/kwrite-17.04.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 3c772aca02bb..be8a0705e074 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1,2 +1,3 @@
DIST kate-16.12.3.tar.xz 1871900 SHA256 19e8c40985392b5640c022ceb577aa16541fdd99d389645e38b22d621c6d79b9 SHA512 065e7d9016ae4553365ca5fa60fb820fea973f673b38af0a8281b343df677026c9451ed24affcc310cd73f333ea4f9215766b85e9aba6d11c70893a35720dbff WHIRLPOOL 839124cd06b8ab82ba5d80cbe0dead82f722d501f46baa30c5313064e94452cc9b4bcb527eacd7785aa817c3f9e5bc426a9286d71ff521eb26c040e6aae43b04
DIST kate-17.04.0.tar.xz 5213352 SHA256 6c8d1936a2ec3a7c3c71e353da11e483251875f51846b9609667f9beee1a6042 SHA512 ab6cc21b0b8af99805d322de97cf7ba71e1092f589353a3b8b71e49c5bbd924ba18c2bf88a2783aa5228553b081b013451e68de4738ad54a51b7db76a9e18a09 WHIRLPOOL 52f224b02b0175097b5bea72686089b3c0ef13fbfa48c8c446c3d66fad951ed93092a8a9aec14bd0bebcfd0ae97e0f659bba1c444a603685f582d4f0d950bf9b
+DIST kate-17.04.1.tar.xz 5214608 SHA256 34eee6c384e2c2776c7d0ab65e7217e730cdbdecb82578c9dc90380cb82affd2 SHA512 a4be05f19592f38c334106a1827aef19732ce999bc85da462f41feaa8f27ec34648895b82964cd907bebd1a771d550a8c6281e56cf1adf3bb44f1112bdc26a7c WHIRLPOOL 92fe0978ff85c13ebbdc809135a86dadca36a35ebab01f2fa7e60ab63ae5d3d2a0f99e6f0087054034d74bb0429fea010c4c447c09cd6e49cac72c724755d44f
diff --git a/kde-apps/kwrite/kwrite-17.04.1.ebuild b/kde-apps/kwrite/kwrite-17.04.1.ebuild
new file mode 100644
index 000000000000..3cc94d66b734
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-17.04.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KMNAME="kate"
+KDE_HANDBOOK="optional"
+inherit kde5
+
+DESCRIPTION="KDE simple text editor"
+HOMEPAGE="https://www.kde.org/applications/utilities/kwrite"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ kde5_src_prepare
+ # delete colliding kate translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ find po -type f -name "*po" -and -not -name "kwrite*" -delete || die
+ rm -rf po/*/docs/kate* || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_addons=FALSE
+ -DBUILD_kate=FALSE
+ )
+ use handbook && mycmakeargs+=( -DBUILD_katepart=FALSE )
+
+ kde5_src_configure
+}