2011-09-25 02:41:58 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
|
|
|
|
# Contributor: csslayer <wengxt AT gmail com>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
2012-09-15 11:03:40 +08:00
|
|
|
pkgname=fcitx
|
2013-01-30 08:18:25 +08:00
|
|
|
pkgver=4.2.7
|
2012-10-21 23:41:19 +08:00
|
|
|
pkgrel=1
|
2012-02-24 11:06:27 +08:00
|
|
|
pkgdesc="A Flexible Input Method Framework"
|
2011-09-25 02:41:58 +08:00
|
|
|
arch=("i686" "x86_64")
|
|
|
|
license=('GPL')
|
|
|
|
url="http://code.google.com/p/fcitx"
|
2012-09-15 11:03:40 +08:00
|
|
|
depends=('pango' 'dbus-core' 'opencc' 'lua' 'iso-codes' 'icu' 'libxkbfile')
|
|
|
|
replaces=('fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-keyboard')
|
|
|
|
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg' 'fcitx-keyboard' 'fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3')
|
2013-01-30 08:18:25 +08:00
|
|
|
makedepends=('cmake' 'qt' 'icu' 'wget' 'gtk2' 'gtk3' 'opencc' 'lua' 'iso-codes' 'enchant')
|
2012-09-15 11:03:40 +08:00
|
|
|
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
|
2012-08-31 22:50:04 +08:00
|
|
|
categories=('localization')
|
2012-09-15 11:03:40 +08:00
|
|
|
install=fcitx.install
|
2011-09-25 02:41:58 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/
|
|
|
|
|
|
|
|
msg "Creating make environment..."
|
|
|
|
|
|
|
|
mkdir -p $srcdir/build
|
|
|
|
|
|
|
|
msg "Starting make..."
|
|
|
|
cd $srcdir/build
|
|
|
|
cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DENABLE_QT_IM_MODULE=On \
|
2012-02-24 11:06:27 +08:00
|
|
|
-DENABLE_GTK2_IM_MODULE=On \
|
|
|
|
-DENABLE_GTK3_IM_MODULE=On \
|
2012-05-10 18:24:22 +08:00
|
|
|
-DENABLE_OPENCC=On \
|
2012-06-03 21:52:31 +08:00
|
|
|
-DENABLE_LUA=On \
|
|
|
|
-DENABLE_GIR=Off
|
2011-09-25 02:41:58 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2012-09-15 11:03:40 +08:00
|
|
|
package(){
|
2011-09-25 02:41:58 +08:00
|
|
|
cd $srcdir/build
|
|
|
|
make DESTDIR=$pkgdir install
|
2012-02-24 11:06:27 +08:00
|
|
|
}
|
2013-01-30 08:18:25 +08:00
|
|
|
md5sums=('fb96dec8b023b59913082eac40f8ff1c')
|