diff --git a/common/shlibs b/common/shlibs index 28944e06b3e..c5a39b4c6a0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3421,3 +3421,4 @@ libqmdnsengine.so.0 qmdnsengine-0.1.0_1 libyang.so.0.16 libyang-0.16r3_1 libhtp.so.2 libhtp-0.5.30_1 libgedit-3.14.so gedit-3.32.0_1 +libchewing.so.3 libchewing-0.5.1_1 diff --git a/srcpkgs/libchewing-devel b/srcpkgs/libchewing-devel new file mode 120000 index 00000000000..5ea20a615bb --- /dev/null +++ b/srcpkgs/libchewing-devel @@ -0,0 +1 @@ +libchewing \ No newline at end of file diff --git a/srcpkgs/libchewing/template b/srcpkgs/libchewing/template new file mode 100644 index 00000000000..53421e7a1e0 --- /dev/null +++ b/srcpkgs/libchewing/template @@ -0,0 +1,25 @@ +# Template file for 'libchewing' +pkgname=libchewing +version=0.5.1 +revision=1 +build_style=cmake +makedepends="sqlite-devel" +short_desc="Intelligent phonetic (Zhuyin/Bopomofo) input method" +maintainer="Robert Stancil " +license="LGPL-2.1-only" +homepage="http://chewing.im/" +distfiles="https://github.com/chewing/libchewing/releases/download/v${version}/${pkgname}-${version}.tar.bz2" +checksum=9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b +nocross="/builddir/libchewing-0.5.1/build/src/tools/init_database: cannot execute binary file" + +libchewing-devel_package() { + depends="libchewing>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/share + } +}