mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-03 09:17:15 +08:00
ibus, ibus-qt and ibus-m17n moved from ccr to [extra]
This commit is contained in:
parent
6ce8a9b915
commit
85b27884f6
27
ibus-m17n/PKGBUILD
Normal file
27
ibus-m17n/PKGBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
pkgname=ibus-m17n
|
||||
pkgver=1.3.4
|
||||
pkgrel=1
|
||||
pkgdesc='M17N engine for IBus'
|
||||
arch=('x86_64')
|
||||
url='http://code.google.com/p/ibus/'
|
||||
license=('LGPL')
|
||||
depends=('ibus' 'm17n-db' 'm17n-lib')
|
||||
source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('6f644b73c5943e3c7fb2e02b9e259804')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
./configure \
|
||||
--prefix=/extra/usr \
|
||||
--libexecdir=/extra/usr/lib/ibus
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
27
ibus-qt/PKGBUILD
Normal file
27
ibus-qt/PKGBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
pkgname=ibus-qt
|
||||
pkgver=1.3.2
|
||||
pkgrel=1
|
||||
pkgdesc='IBus qt library and IBus qt input method plugin'
|
||||
arch=('x86_64')
|
||||
license=('LGPL')
|
||||
url='http://ibus.googlecode.com'
|
||||
depends=('qt' 'ibus' 'icu')
|
||||
makedepends=('cmake' 'automoc4' 'doxygen')
|
||||
source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz")
|
||||
md5sums=('e53cb59f993d0c93ba968330dbc62c22')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}-Source"
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/extra/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}-Source/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
35
ibus/PKGBUILD
Executable file
35
ibus/PKGBUILD
Executable file
@ -0,0 +1,35 @@
|
||||
|
||||
pkgname=ibus
|
||||
pkgver=1.5.2
|
||||
pkgrel=1
|
||||
pkgdesc="Next Generation Input Bus for Linux, IBus qt library and IBus qt input method plugin included"
|
||||
arch=('x86_64')
|
||||
url="http://ibus.googlecode.com"
|
||||
license=('LGPL')
|
||||
depends=('hicolor-icon-theme' 'gtk2' 'gtk3' 'pyxdg' 'python2-gobject')
|
||||
makedepends=('gobject-introspection' 'vala' 'iso-codes' 'intltool')
|
||||
options=('!libtool')
|
||||
install=ibus.install
|
||||
source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
|
||||
sha1sums=('a7e1695731b4c954fa8897d091e6dda64e08b28c')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
export PYTHON=python2
|
||||
./configure \
|
||||
--prefix=/extra/usr \
|
||||
--libexecdir=/extra/usr/lib/ibus \
|
||||
--sysconfdir=/etc \
|
||||
--disable-gconf \
|
||||
--disable-dconf \
|
||||
--disable-memconf \
|
||||
--enable-ui \
|
||||
--enable-python-library
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
13
ibus/ibus.install
Executable file
13
ibus/ibus.install
Executable file
@ -0,0 +1,13 @@
|
||||
post_install() {
|
||||
/extra/usr/bin/gtk-query-immodules-2.0 > extra/etc/gtk-2.0/gtk.immodules
|
||||
/extra/usr/bin/gtk-query-immodules-3.0 --update-cache
|
||||
|
||||
/extra/usr/bin/gtk-update-icon-cache -fq -t extra/usr/share/icons/hicolor
|
||||
|
||||
/extra/usr/bin/glib-compile-schemas /extra/usr/share/glib-2.0/schemas
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user