summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-18 22:01:26 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-19 00:01:28 +0100
commitf5920eec8fc2b0e926a1ad12ce92625543c735ea (patch)
treed1829b0751eb3883d306a8fdfe193570535030c3 /kde-apps
parentprofiles: Mask kde-misc/akonadi-ews for removal (diff)
downloadgentoo-f5920eec8fc2b0e926a1ad12ce92625543c735ea.tar.gz
gentoo-f5920eec8fc2b0e926a1ad12ce92625543c735ea.tar.bz2
gentoo-f5920eec8fc2b0e926a1ad12ce92625543c735ea.zip
kde-apps/kate: Drop bogus dep
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kate/files/kate-17.12.1-deps.patch79
-rw-r--r--kde-apps/kate/kate-17.12.1-r1.ebuild76
2 files changed, 155 insertions, 0 deletions
diff --git a/kde-apps/kate/files/kate-17.12.1-deps.patch b/kde-apps/kate/files/kate-17.12.1-deps.patch
new file mode 100644
index 000000000000..05f3d53ff15f
--- /dev/null
+++ b/kde-apps/kate/files/kate-17.12.1-deps.patch
@@ -0,0 +1,79 @@
+From 4a157701ad3fae7fed67a92a9d9359dd36f08341 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?K=C3=A5re=20S=C3=A4rs?= <kare.sars@iki.fi>
+Date: Tue, 12 Dec 2017 07:24:53 +0200
+Subject: Remove obsolete QScript includes from CMake files
+
+Differential Revision: https://phabricator.kde.org/D9291
+---
+ CMakeLists.txt | 2 +-
+ addons/katesql/CMakeLists.txt | 2 +-
+ addons/project/CMakeLists.txt | 2 +-
+ addons/search/CMakeLists.txt | 2 +-
+ addons/snippets/CMakeLists.txt | 2 +-
+ 5 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1fc7d3e..b746376 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -32,7 +32,7 @@ include (CheckFunctionExists)
+ include(KDEInstallDirs)
+ include(KDECMakeSettings)
+
+-find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Script Sql)
++find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Sql)
+
+ if(BUILD_TESTING)
+ find_package(Qt5Test ${QT_MIN_VERSION} CONFIG REQUIRED)
+diff --git a/addons/katesql/CMakeLists.txt b/addons/katesql/CMakeLists.txt
+index aba9a38..c4fee13 100644
+--- a/addons/katesql/CMakeLists.txt
++++ b/addons/katesql/CMakeLists.txt
+@@ -32,6 +32,6 @@ kcoreaddons_desktop_to_json (katesqlplugin katesql.desktop)
+ target_link_libraries(katesqlplugin
+ KF5::TextEditor
+ KF5::Parts KF5::I18n KF5::Wallet
+- Qt5::Script Qt5::Sql KF5::ItemViews KF5::IconThemes)
++ Qt5::Sql KF5::ItemViews KF5::IconThemes)
+
+ install(TARGETS katesqlplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor )
+diff --git a/addons/project/CMakeLists.txt b/addons/project/CMakeLists.txt
+index 6787197..12a0ff7 100644
+--- a/addons/project/CMakeLists.txt
++++ b/addons/project/CMakeLists.txt
+@@ -38,7 +38,7 @@ target_link_libraries(kateprojectplugin
+ KF5::TextEditor
+ KF5::Parts KF5::I18n
+ KF5::GuiAddons
+- Qt5::Script KF5::ItemViews KF5::ItemModels KF5::IconThemes KF5::ThreadWeaver
++ KF5::ItemViews KF5::ItemModels KF5::IconThemes KF5::ThreadWeaver
+ KF5::NewStuff # For KMoreTools
+ )
+
+diff --git a/addons/search/CMakeLists.txt b/addons/search/CMakeLists.txt
+index d86c326..856221f 100644
+--- a/addons/search/CMakeLists.txt
++++ b/addons/search/CMakeLists.txt
+@@ -19,6 +19,6 @@ kcoreaddons_desktop_to_json (katesearchplugin katesearch.desktop)
+ target_link_libraries(katesearchplugin
+ KF5::TextEditor
+ KF5::Parts KF5::I18n KF5::IconThemes
+- Qt5::Script KF5::ItemViews)
++ KF5::ItemViews)
+
+ install(TARGETS katesearchplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor)
+diff --git a/addons/snippets/CMakeLists.txt b/addons/snippets/CMakeLists.txt
+index a19277e..4182866 100644
+--- a/addons/snippets/CMakeLists.txt
++++ b/addons/snippets/CMakeLists.txt
+@@ -29,6 +29,6 @@ kcoreaddons_desktop_to_json (katesnippetsplugin katesnippetsplugin.desktop)
+ target_link_libraries(katesnippetsplugin
+ KF5::TextEditor
+ KF5::Parts KF5::I18n
+- KF5::NewStuff Qt5::Script KF5::ItemViews KF5::IconThemes)
++ KF5::NewStuff KF5::ItemViews KF5::IconThemes)
+
+ install(TARGETS katesnippetsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor )
+--
+cgit v0.11.2
+
diff --git a/kde-apps/kate/kate-17.12.1-r1.ebuild b/kde-apps/kate/kate-17.12.1-r1.ebuild
new file mode 100644
index 000000000000..d3e0aa0fc853
--- /dev/null
+++ b/kde-apps/kate/kate-17.12.1-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Kate is an advanced text editor"
+HOMEPAGE="https://www.kde.org/applications/utilities/kate https://kate-editor.org/"
+KEYWORDS="~amd64 ~x86"
+IUSE="+addons"
+
+DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemmodels)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ addons? (
+ $(add_frameworks_dep kbookmarks)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep plasma)
+ $(add_frameworks_dep threadweaver)
+ $(add_qt_dep qtsql)
+ )
+"
+RDEPEND="${DEPEND}
+ !kde-misc/ktexteditorpreviewplugin
+"
+
+PATCHES=( "${FILESDIR}/${P}-deps.patch" )
+
+src_prepare() {
+ kde5_src_prepare
+ # test hangs
+ sed -e "/session_manager_test/d" -i kate/autotests/CMakeLists.txt || die
+ # delete colliding kwrite translations
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ find po -type f -name "*po" -and -name "kwrite*" -delete || die
+ rm -rf po/*/docs/kwrite || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_addons=$(usex addons)
+ -DBUILD_kwrite=FALSE
+ )
+
+ kde5_src_configure
+}