summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 13:28:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 13:28:24 +0200
commit3f31411e1d7351e6ed7d148b1b8d214b93127dc9 (patch)
treebdce14400de5d9322e07e0bb290601d5fb9c9b72 /kde-apps/kde-dev-utils
parentnet-vpn/tor: version bump to 0.3.3.9 (diff)
downloadgentoo-3f31411e1d7351e6ed7d148b1b8d214b93127dc9.tar.gz
gentoo-3f31411e1d7351e6ed7d148b1b8d214b93127dc9.tar.bz2
gentoo-3f31411e1d7351e6ed7d148b1b8d214b93127dc9.zip
kde-apps/kde-dev-utils: Fix build with KF-5.48
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'kde-apps/kde-dev-utils')
-rw-r--r--kde-apps/kde-dev-utils/files/kde-dev-utils-18.04.3-ki18n-5.48.patch34
-rw-r--r--kde-apps/kde-dev-utils/kde-dev-utils-18.04.3.ebuild2
2 files changed, 36 insertions, 0 deletions
diff --git a/kde-apps/kde-dev-utils/files/kde-dev-utils-18.04.3-ki18n-5.48.patch b/kde-apps/kde-dev-utils/files/kde-dev-utils-18.04.3-ki18n-5.48.patch
new file mode 100644
index 000000000000..3713839d32de
--- /dev/null
+++ b/kde-apps/kde-dev-utils/files/kde-dev-utils-18.04.3-ki18n-5.48.patch
@@ -0,0 +1,34 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,5 +10,8 @@
+ include(KDECompilerSettings NO_POLICY_SCOPE)
+ include(ECMQtDeclareLoggingCategory)
+
++# Required for ki18n_install(po) added on tarball generation
++find_package(KF5 REQUIRED COMPONENTS I18n)
++
+ add_subdirectory(kpartloader)
+ add_subdirectory(kuiviewer)
+diff --git a/kpartloader/CMakeLists.txt b/kpartloader/CMakeLists.txt
+--- a/kpartloader/CMakeLists.txt
++++ b/kpartloader/CMakeLists.txt
+@@ -11,7 +11,6 @@
+ find_package(KF5 REQUIRED
+ COMPONENTS
+ CoreAddons
+- I18n
+ Parts
+ WidgetsAddons
+ )
+diff --git a/kuiviewer/CMakeLists.txt b/kuiviewer/CMakeLists.txt
+--- a/kuiviewer/CMakeLists.txt
++++ b/kuiviewer/CMakeLists.txt
+@@ -15,7 +15,6 @@
+ COMPONENTS
+ CoreAddons
+ KIO
+- I18n
+ Parts
+ )
+
diff --git a/kde-apps/kde-dev-utils/kde-dev-utils-18.04.3.ebuild b/kde-apps/kde-dev-utils/kde-dev-utils-18.04.3.ebuild
index fd428260d4a6..2db803cad042 100644
--- a/kde-apps/kde-dev-utils/kde-dev-utils-18.04.3.ebuild
+++ b/kde-apps/kde-dev-utils/kde-dev-utils-18.04.3.ebuild
@@ -27,3 +27,5 @@ DEPEND="
RDEPEND="${DEPEND}
!<kde-apps/kde4-l10n-17.03.90:4
"
+
+PATCHES=( "${FILESDIR}/${P}-ki18n-5.48.patch" )