diff --git a/pkgs/desktops/kde-4.10/kdesdk/kdesdk-thumbnailers.nix b/pkgs/desktops/kde-4.10/kdesdk/kdesdk-thumbnailers.nix index 782ef72ce5a..f96b0df2b95 100644 --- a/pkgs/desktops/kde-4.10/kdesdk/kdesdk-thumbnailers.nix +++ b/pkgs/desktops/kde-4.10/kdesdk/kdesdk-thumbnailers.nix @@ -1,9 +1,11 @@ { kde, kdelibs, gettext }: kde { -#todo: doesn't build + buildInputs = [ kdelibs gettext ]; + patches = [ ./thumbnailers-add-subdirectory.patch ]; + meta = { description = "PO file format thumbnailer"; }; diff --git a/pkgs/desktops/kde-4.10/kdesdk/thumbnailers-add-subdirectory.patch b/pkgs/desktops/kde-4.10/kdesdk/thumbnailers-add-subdirectory.patch new file mode 100644 index 00000000000..5b4f7643bf4 --- /dev/null +++ b/pkgs/desktops/kde-4.10/kdesdk/thumbnailers-add-subdirectory.patch @@ -0,0 +1,12 @@ +diff -Naur kdesdk-4.10.2-upstream/kdesdk-thumbnailers/CMakeLists.txt kdesdk-4.10.2/kdesdk-thumbnailers/CMakeLists.txt +--- kdesdk-4.10.2-upstream/kdesdk-thumbnailers/CMakeLists.txt 2013-05-02 21:05:56.446226846 -0430 ++++ kdesdk-4.10.2/kdesdk-thumbnailers/CMakeLists.txt 2013-05-02 21:09:58.504053136 -0430 +@@ -9,7 +9,7 @@ + macro_log_feature(GETTEXTPO_FOUND "gettext-po" "A library for processing PO files" "www.gnu.org/software/gettext" FALSE "" "Required to build the PO thumbnailer") + + if(GETTEXTPO_FOUND) +-macro_optional_add_subdirectory(po_thumbnailer) ++add_subdirectory(po_thumbnailer) + endif(GETTEXTPO_FOUND) + + macro_display_feature_log()