summaryrefslogtreecommitdiff
path: root/librime.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-06-23 09:23:15 +0000
committerCoprDistGit <infra@openeuler.org>2025-06-23 09:23:15 +0000
commit4e9e3e487ae1fa223406175b734f57b2a79144c7 (patch)
tree4f5b24d0b03f352ed1f3c8ebc0d2b14bb6026810 /librime.spec
parentf3cc3d8a283688e2f9503ebce08f47fb56ff9bfe (diff)
automatic import of librime
Diffstat (limited to 'librime.spec')
-rw-r--r--librime.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/librime.spec b/librime.spec
index 6e83207..008ad0c 100644
--- a/librime.spec
+++ b/librime.spec
@@ -9,6 +9,7 @@ Source0: https://goppx.com/https://github.com/rime/librime/archive/%{vers
# The following librime lua plugin needs to access the librime internal API.
# Build the librime lua plugin when build the librime package.
Source1: https://goppx.com/https://github.com/hchunhui/librime-lua/archive/refs/heads/master.tar.gz#/librime-lua.tar.gz
+Patch0: fix-plugins-cmakelists.patch
BuildRequires: gcc-c++
BuildRequires: cmake, opencc-devel
@@ -64,7 +65,8 @@ mv librime-lua-master lua
popd
%build
-%cmake -DCMAKE_BUILD_TYPE=Release \
+%cmake -S . -B %{_target_cpu}-openEuler-linux-gnu \
+ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_MERGED_PLUGINS=OFF \
-DENABLE_EXTERNAL_PLUGINS=ON