diff options
Diffstat (limited to 'app-i18n/librime/files/librime-data-option.patch')
-rw-r--r-- | app-i18n/librime/files/librime-data-option.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-i18n/librime/files/librime-data-option.patch b/app-i18n/librime/files/librime-data-option.patch deleted file mode 100644 index d618f2f5e9fc..000000000000 --- a/app-i18n/librime/files/librime-data-option.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9027f82..e67b0f0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -8,6 +8,7 @@ set(LIBRIME_VERSION 0.9.2) - set(LIBRIME_SOVERSION 0) - - option(BUILD_STATIC "Build static version of Rime" OFF) -+option(BUILD_DATA "Build data for Rime" OFF) - - if(WIN32) - set(EXT ".exe") -@@ -107,12 +108,14 @@ if (NOT BUILD_STATIC) - install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) - install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime) - # data files -+ if (BUILD_DATA) - install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir}) - install(FILES ${PROJECT_SOURCE_DIR}/data/essay.kct DESTINATION ${pkgdatadir}) - file(GLOB preset_schema ${PROJECT_SOURCE_DIR}/data/preset/*.yaml) - install(FILES ${preset_schema} DESTINATION ${pkgdatadir}) - file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml) - install(FILES ${supplement_schema} DESTINATION ${pkgdatadir}) -+ endif(NOT BUILD_DATA) - endif (NOT BUILD_STATIC) - - add_subdirectory(src)
\ No newline at end of file |