Commit e5c26124 authored by Xuetian Weng's avatar Xuetian Weng

add dconf, fix ibus

parent 3368113c
# $Id$
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=dconf
pkgver=0.22.0
pkgrel=1
pkgdesc="A low-level configuration system."
arch=(i686 x86_64)
url="http://live.gnome.org/dconf"
license=('LGPL2.1')
depends=('glib2')
makedepends=('vala' 'gtk3' 'intltool' 'docbook-xsl' 'python' 'python2')
optdepends=('gtk3: for dconf-editor')
install=dconf.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('0a277cb0c3f09e77d9413c5a9b3577fc2b5d6e941b59b44940392e024a224b8e')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/dconf
make
}
package() {
cd "$pkgname-$pkgver"
make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
post_install() {
gio-querymodules /usr/lib/gio/modules
glib-compile-schemas /usr/share/glib-2.0/schemas
if [[ -x /usr/bin/gtk-update-icon-cache ]]; then
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
fi
}
post_upgrade(){
post_install
}
post_remove() {
post_install
}
pkgname=ibus
pkgver=1.5.10
pkgrel=1
pkgrel=2
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' 'libnotify' 'gtk2' 'gtk3' 'pyxdg' 'python2-gobject')
depends=('hicolor-icon-theme' 'libnotify' 'gtk2' 'gtk3' 'pyxdg' 'python2-gobject' 'dconf')
makedepends=('gobject-introspection' 'vala' 'iso-codes' 'intltool')
install=ibus.install
source=(https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
......@@ -20,7 +20,6 @@ build() {
--libexecdir=/usr/lib/ibus \
--sysconfdir=/etc \
--disable-gconf \
--disable-dconf \
--disable-memconf \
--enable-ui \
--enable-python-library
......
post_install() {
/usr/bin/gtk-query-immodules-2.0 > extra/etc/gtk-2.0/gtk.immodules
/usr/bin/gtk-query-immodules-2.0 --update-cache
/usr/bin/gtk-query-immodules-3.0 --update-cache
/usr/bin/gtk-update-icon-cache -fq -t extra/usr/share/icons/hicolor
/usr/bin/gtk-update-icon-cache -fq -t /usr/share/icons/hicolor
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
/usr/bin/dconf update
}
post_remove() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment