kaffeine/remove-stray-call-to-ki18n_install.patch
Luca Beltrame 8fc9a26ca4 Accepting request 500921 from home:wolfi323:branches:KDE:Extra
- Update to 2.0.9:
  * Fix build at tarball
- Drop fix-building-from-tarball.patch, included upstream
- Add remove-stray-call-to-ki18n_install.patch to fix build with the latest KDE Frameworks in Factory
- Enable DVB support on Leap 42.3 too, v4l-utils are recent enough

OBS-URL: https://build.opensuse.org/request/show/500921
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaffeine?expand=0&rev=23
2017-06-09 08:58:47 +00:00

23 lines
688 B
Diff

From: Wolfgang Bauer <wbauer@tmo.at>
Date: Sun, 04 Jun 2017 09:16:09 +0200
Subject: Remove stray/duplicated call to ki18n_install
The release script injected an additional ki18n_install(po), but this
breaks the build with KDE Frameworks 5.34 (cmake error "another target
with the same name already exists") because ki18n_install(po) is
already called anyway.
So remove it to fix the build.
---
diff -u a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,7 +107,5 @@
if(BUILD_TOOLS)
add_subdirectory(tools)
endif(BUILD_TOOLS)
-find_package(KF5I18n CONFIG REQUIRED)
-ki18n_install(po)
find_package(KF5DocTools CONFIG REQUIRED)
kdoctools_install(po)