uim: enable qt5 instead of qt4

This commit is contained in:
maxice8 2018-09-14 09:59:21 -03:00
parent 16f2696643
commit f94ee44228
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,12 +1,13 @@
# Template file for 'uim'
pkgname=uim
version=1.8.8
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3
--with-qt4 --with-qt4-immodule --with-x --with-anthy-utf8 --with-skk"
--with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk"
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel gtk+3-devel qt-devel ncurses-devel anthy-devel"
makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel
qt5-x11extras-devel"
short_desc="Multilingual input method library and environment"
maintainer="Kazuho Sakoda <hyonhyoro.kazuho@gmail.com>"
license="BSD-3-Clause"
@ -39,11 +40,11 @@ uim-gtk3_package() {
}
uim-qt_package() {
short_desc+=" - Qt4 IM module"
short_desc+=" - Qt5 IM module"
pkg_install() {
vmove "usr/bin/uim-*-qt4"
vmove usr/libexec/uim-candwin-qt4
vmove usr/lib/qt
vmove "usr/bin/uim-*-qt5"
vmove usr/libexec/uim-candwin-qt5
vmove usr/lib/qt5
}
}