fcitx: multiple changes to clean up source package.
- Remove unnecessary build dependencies, move some to the host. - Move some more development files to the development packages. - Add missing runtime dependencies to the development packages. Close #716
This commit is contained in:
parent
31f26d4468
commit
970ba29422
|
@ -2,15 +2,16 @@
|
|||
|
||||
pkgname=fcitx
|
||||
version="4.2.8.5"
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
short_desc="Flexible Context-aware Input Tool with eXtension"
|
||||
maintainer="Robert La Spina <rkidlaspina@gmail.com>"
|
||||
license="GPL-2 LGPL-2.1"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
homepage="https://fcitx-im.org/"
|
||||
distfiles="http://download.fcitx-im.org/fcitx/fcitx-${version}_dict.tar.xz"
|
||||
checksum="fe3d6f57805fc61130f8254f19a86fe3baa0f405406414ca2e94bcf86d3d1b72"
|
||||
hostmakedepends="cmake pkg-config enchant-devel libxml2-devel iso-codes libxkbfile-devel icu-devel doxygen qt-devel cairo-devel dbus-devel gobject-introspection pango-devel gtk+-devel gtk+3-devel"
|
||||
hostmakedepends="cmake pkg-config doxygen gobject-introspection"
|
||||
makedepends="iso-codes gettext-devel enchant-devel libxml2-devel libxkbfile-devel icu-devel qt-devel dbus-devel gtk+-devel gtk+3-devel"
|
||||
lib32disabled=yes
|
||||
|
||||
configure_args+=" -DSYSCONFDIR=/etc \
|
||||
|
@ -36,7 +37,7 @@ libfcitx_package() {
|
|||
}
|
||||
|
||||
fcitx-devel_package() {
|
||||
depends="libfcitx-${version}_${revision}"
|
||||
depends="libfcitx-${version}_${revision} glib-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
for i in config gclient utils; do
|
||||
|
@ -44,10 +45,12 @@ fcitx-devel_package() {
|
|||
vmove usr/lib/pkgconfig/fcitx-${i}.pc
|
||||
vmove usr/lib/libfcitx-${i}.so
|
||||
done
|
||||
vmove usr/bin/fcitx4-config
|
||||
vmove usr/include/fcitx
|
||||
vmove usr/lib/pkgconfig/fcitx.pc
|
||||
vmove usr/lib/libfcitx-core.so
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/cmake
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,7 +80,9 @@ libfcitx-qt_package() {
|
|||
|
||||
libfcitx-qt-devel_package() {
|
||||
short_desc+=" - Qt4 IM module development files"
|
||||
depends="fcitx-${version}_${revision} qt-devel"
|
||||
pkg_install() {
|
||||
vmove usr/include/fcitx-qt
|
||||
vmove usr/lib/libfcitx-qt.so
|
||||
vmove usr/lib/pkgconfig/fcitx-qt.pc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue