# yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json name : opencc version : 1.1.4 release : 5 source : - https://github.com/BYVoid/OpenCC/archive/refs/tags/ver.1.1.4.tar.gz : ca33cf2a2bf691ee44f53397c319bb50c6d6c4eff1931a259fd11533ba26c1e9 homepage : https://opencc.byvoid.com/ license : Apache-2.0 component : programming.tools summary : A project for conversion between Traditional and Simplified Chinese description: | A project for conversion between Traditional and Simplified Chinese builddeps : - pkgconfig(RapidJSON) - pkgconfig(gtest) - pkgconfig(marisa) rundeps : - rapidjson setup : | %patch -p1 -i $pkgfiles/Set-Soversion-Number-to-Project-Version.patch %cmake_ninja -DUSE_SYSTEM_MARISA=ON \ -DUSE_SYSTEM_RAPIDJSON=ON \ -DENABLE_GTEST=ON \ -DUSE_SYSTEM_GTEST=ON build : | %ninja_build install : | %ninja_install check : | %ninja_check