New package: libime-1.0.6
This commit is contained in:
parent
06ca740827
commit
d51804060a
|
@ -3105,6 +3105,9 @@ libi2c.so.0 i2c-tools-4.0_1
|
|||
libmarisa.so.0 marisa-0.2.5_1
|
||||
libopencc.so.1.1 opencc-1.1.1_1
|
||||
librime.so.1 librime-1.2.9_1
|
||||
libIMECore.so.0 libime-1.0.5_1
|
||||
libIMEPinyin.so.0 libime-1.0.5_1
|
||||
libIMETable.so.0 libime-1.0.5_1
|
||||
libairspy.so.0 libairspy-1.0.9_1
|
||||
libKF5KDcraw.so.5 libkdcraw5-17.04.3_1
|
||||
libKF5Kipi.so.32.0.0 libkipi5-17.04.3_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libime
|
|
@ -0,0 +1 @@
|
|||
libime
|
|
@ -0,0 +1 @@
|
|||
libime
|
|
@ -0,0 +1,64 @@
|
|||
# Template file for 'libime'
|
||||
pkgname=libime
|
||||
version=1.0.6
|
||||
revision=1
|
||||
build_style=cmake
|
||||
build_helper=qemu
|
||||
hostmakedepends="pkg-config gettext extra-cmake-modules python3"
|
||||
makedepends="libfcitx5-devel boost-devel"
|
||||
short_desc="Library to support generic input method implementation"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://fcitx-im.org/wiki/Fcitx"
|
||||
_lm_sc_version=20140820
|
||||
_dict_version=20210302
|
||||
distfiles="https://download.fcitx-im.org/fcitx5/libime/libime-${version}.tar.xz
|
||||
https://download.fcitx-im.org/data/lm_sc.3gm.arpa-${_lm_sc_version}.tar.bz2
|
||||
https://download.fcitx-im.org/data/dict.utf8-${_dict_version}.tar.xz
|
||||
https://download.fcitx-im.org/data/table.tar.gz"
|
||||
checksum="f024e2602be83a79c733955166fd9f757e24f466cf96ce8d66c880c132d92dd6
|
||||
751bab7c55ea93a2cedfb0fbb7eb09f67d4da9c2c55496e5f31eb8580f1d1e2f
|
||||
cd43f97749f38e65fc1f706b981a3c1991599770268932dbb11b2ab90c087646
|
||||
6196053c724125e3ae3d8bd6b2f9172d0c83b65b0d410d3cde63b7a8d6ab87b7"
|
||||
skip_extraction="
|
||||
lm_sc.3gm.arpa-${_lm_sc_version}.tar.bz2
|
||||
dict.utf8-${_dict_version}.tar.xz
|
||||
table.tar.gz"
|
||||
|
||||
post_extract() {
|
||||
local _srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version}
|
||||
local _file
|
||||
for _file in ${skip_extraction}; do
|
||||
cp ${_srcdistdir}/${_file} data
|
||||
done
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -i '/INTERFACE_INCLUDE_DIRECTORIES/s,"/usr,"${_IMPORT_PREFIX},' \
|
||||
"${DESTDIR}/usr/lib/cmake"/*/*Targets.cmake
|
||||
}
|
||||
|
||||
libime-migration_package() {
|
||||
short_desc+=" - migration tools"
|
||||
pkg_install() {
|
||||
vmove "usr/bin/libime_migrate_*"
|
||||
}
|
||||
}
|
||||
|
||||
libime-utils_package() {
|
||||
short_desc+=" - utilities"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
}
|
||||
}
|
||||
|
||||
libime-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="boost-devel libime-utils>=${version}_${revision}
|
||||
libime>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue