Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
librime-lua
librime-lua.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librime-lua.spec of Package librime-lua
# # spec file for package librime-lua # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: librime-lua Version: 0.0.0+git20240308.20ddea9 Release: 0 Summary: Lua plugin for librime License: SUSE-Permissive URL: https://github.com/hchunhui/librime-lua Source: %{name}-%{version}.tar.gz Patch0: glog.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: darts BuildRequires: gcc-c++ BuildRequires: librime-private-devel BuildRequires: lua54-devel BuildRequires: marisa-devel BuildRequires: opencc-devel BuildRequires: xorgproto-devel BuildRequires: pkgconfig(libglog) BuildRequires: pkgconfig(opencc) %description Lua plugin for librime. %prep %autosetup -p1 %build %cmake -DBUILD_SHARED_LIBS=ON %cmake_build %install c++ -fPIC %{optflags} -DNDEBUG -std=c++14 -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -shared -Wl,-soname,librime-lua.so -o librime-lua.so \ $(find build/CMakeFiles/rime-lua-objs.dir/src -type f -name "*.o" | sort) \ -llua5.4 -lm -lrime \ -lglog -lopencc \ -lpthread -lmarisa # librime will check the permission and will skip the plugin if the file is not executable, so set 755 here. install -Dm755 librime-lua.so %{buildroot}%{_libdir}/rime-plugins/librime-lua.so %files %doc README.md %dir %{_libdir}/rime-plugins %{_libdir}/rime-plugins/librime-lua.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor