summaryrefslogtreecommitdiff
path: root/community/fcitx
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /community/fcitx
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'community/fcitx')
-rw-r--r--community/fcitx/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/community/fcitx/PKGBUILD b/community/fcitx/PKGBUILD
index 226224b23..20f77977a 100644
--- a/community/fcitx/PKGBUILD
+++ b/community/fcitx/PKGBUILD
@@ -1,21 +1,23 @@
-# $Id: PKGBUILD 82948 2013-01-26 02:17:24Z fyan $
+# $Id: PKGBUILD 85343 2013-03-01 10:30:04Z andrea $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: csslayer <wengxt AT gmail com>
pkgbase=fcitx
-pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt')
+pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
pkgver=4.2.7
-pkgrel=1
+pkgrel=3
groups=('fcitx-im')
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx/"
license=('GPL')
-makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt' 'icu' \
+makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \
'iso-codes' 'gobject-introspection' 'libxkbfile')
source=(http://fcitx.googlecode.com/files/${pkgbase}-${pkgver}_dict.tar.xz)
build() {
+ #source /etc/profile.d/qt4.sh
+
cd "${srcdir}"
mkdir -p build
cd build
@@ -56,7 +58,7 @@ package_fcitx() {
'fcitx-libpinyin: Fcitx Wrapper for libpinyin, Library to deal with pinyin'
'fcitx-m17n: Multilingual text processing library'
'fcitx-mozc: Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)'
- 'fcitx-qt: QT IM Module for fcitx'
+ 'fcitx-qt4: QT4 IM Module for fcitx'
'fcitx-rime: Rime input method engine (Traditional Chinese)'
'fcitx-sunpinyin: Statistical Language Model based pinyin IME by Sun'
'fcitx-table-extra: Extra tables for Fcitx, including Boshiamy, Zhengma, Cangjie3, Cangjie5'
@@ -70,7 +72,7 @@ package_fcitx() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
- rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt}
+ rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt4}
rm -r "${pkgdir}/usr/lib/fcitx/qt"
rm -r "${pkgdir}/usr/include/fcitx-qt"
rm "${pkgdir}/usr/bin/fcitx-qt-gui-wrapper"
@@ -96,9 +98,12 @@ package_fcitx-gtk3() {
make DESTDIR="${pkgdir}" install
}
-package_fcitx-qt() {
- pkgdesc='QT IM Module for fcitx'
- depends=('qt' "fcitx>=$pkgver")
+package_fcitx-qt4() {
+ pkgdesc='QT4 IM Module for fcitx'
+ depends=('qt4' "fcitx>=$pkgver")
+ replaces=('fcitx-qt')
+ provides=('fcitx-qt')
+ conflicts=('fcitx-qt')
cd "${srcdir}/build/src/frontend/qt"
make DESTDIR="${pkgdir}" install