summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-08-17 20:21:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-08-17 20:58:09 +0200
commitc1063afea17a29bb75dbbbf0121fa5c8ad948574 (patch)
treec62ccf9ec787742c39c2afd14ac1198894802629 /kde-apps/kwrite
parentmedia-libs/libqaccessibilityclient: New package (diff)
downloadgentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.tar.gz
gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.tar.bz2
gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.zip
kde-apps: Add KDE Applications 17.08.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r--kde-apps/kwrite/Manifest1
-rw-r--r--kde-apps/kwrite/kwrite-17.08.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 51929b115485..f01224a88275 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1 +1,2 @@
DIST kate-17.04.3.tar.xz 5212364 SHA256 08320d54b18ce0a1cf72695c5d921980ec21e0995e7cf3f29b1b22079075dadc SHA512 ccba0561debac9f6f01bc727b4c561600c8d1fd40dd4b4c614bfcc88bcf41b3336163b2bb36ca53c1c84ccfdbfd366722c48abfafc9a6395548b1ed5b2345b36 WHIRLPOOL df51d2576152fc33be65f07ad358d1720601fe05b80d3dd7162b9d2aba413043f547b4b956bcad534b4c93f87a0bd69186d1eae748a9e9b0e2f92668f5d2d6cb
+DIST kate-17.08.0.tar.xz 5611856 SHA256 f25a39c7e272713940e82d53c1e8b266cf1d7acad3eeb7dd229f166fc8e0667d SHA512 a585f5b34e89738221c7c8e9533be7f3c1cd6fae5aad867f9bb3138a70eba2da489247482d2b3a49680a1d13267d62bd0aca0f1b2df3dbd18385def392ea7b27 WHIRLPOOL d254ed1d3f7ba950904968bb84d4f5c80cb49e6c654b740653170717d28b001afe9e0411ccbe515fddecbeeb84687b77647defe5b6b53631c298c179aec9e65a
diff --git a/kde-apps/kwrite/kwrite-17.08.0.ebuild b/kde-apps/kwrite/kwrite-17.08.0.ebuild
new file mode 100644
index 000000000000..3cc94d66b734
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-17.08.0.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
+}