Merge pull request #17921 from ambrop72/kdevelop-build-fix

kdevplatform: Fix build.
This commit is contained in:
Joachim F 2016-08-23 01:57:33 +02:00 committed by GitHub
commit 404fd54674
2 changed files with 16 additions and 1 deletions

View file

@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "195134bde11672de38838f4b341ed28c58042374ca12beedacca9d30e6ab4a2b";
};
patches = [ ./gettext.patch ];
patches = [
./gettext.patch # build error caused by CMake update
./dependency.patch # build error: https://phabricator.kde.org/D1160
];
propagatedBuildInputs = [ kdelibs qt4 phonon ];
buildInputs = [ apr aprutil subversion boost qjson grantlee ];

View file

@ -0,0 +1,12 @@
diff --git a/plugins/filetemplates/CMakeLists.txt b/plugins/filetemplates/CMakeLists.txt
--- a/plugins/filetemplates/CMakeLists.txt
+++ b/plugins/filetemplates/CMakeLists.txt
@@ -81,6 +81,7 @@
)
kde4_add_executable(testfiletemplates ${test_srcs})
+add_dependencies(testfiletemplates kdevfiletemplates)
target_link_libraries(testfiletemplates
${KDE4_KDECORE_LIBS}