Initial commit for imsettings.

This commit is contained in:
Armin K 2014-12-30 20:28:34 +01:00
commit d00b9f4b8e
3 changed files with 81 additions and 0 deletions

30
.SRCINFO Normal file
View file

@ -0,0 +1,30 @@
# Generated by makepkg 4.2.0
# Tue Dec 30 19:17:42 UTC 2014
pkgbase = imsettings
pkgdesc = framework that delivers Input Method settings and applies the changes immediately
pkgver = 1.6.7
pkgrel = 2
url = http://tagoh.bitbucket.org/imsettings/
arch = i686
arch = x86_64
license = LGPL2
makedepends = check
makedepends = gconf
makedepends = gobject-introspection
makedepends = gtk3
makedepends = xfconf
depends = gtk2
depends = ibus
depends = libgxim
depends = libnotify
optdepends = gconf: GConf backend
optdepends = ibus-qt: IBus support in Qt4 apps
optdepends = xfconf: Xfce backend
options = !libtool
source = https://bitbucket.org/tagoh/imsettings/downloads/imsettings-1.6.7.tar.bz2
source = ibus.conf
sha256sums = 0d40099e93eb82bd35c29322df374297ae3286b5879b21f5056c8d4b5b7577dd
sha256sums = 47769b7f6e435fe3c39e5c64c374b7d2311f3e0b43d9ddbcf230b652d25a6464
pkgname = imsettings

35
PKGBUILD Normal file
View file

@ -0,0 +1,35 @@
# Maintainer: Armin K. <krejzi at email dot com>
pkgname=imsettings
pkgver=1.6.7
pkgrel=2
pkgdesc="framework that delivers Input Method settings and applies the changes immediately"
arch=('i686' 'x86_64')
url="http://tagoh.bitbucket.org/imsettings/"
license=('LGPL2')
depends=('gtk2' 'ibus' 'libgxim' 'libnotify')
makedepends=('check' 'gconf' 'gobject-introspection' 'gtk3' 'xfconf')
optdepends=('gconf: GConf backend'
'ibus-qt: IBus support in Qt4 apps'
'xfconf: Xfce backend')
options=('!libtool')
source=("https://bitbucket.org/tagoh/${pkgname}/downloads/${pkgname}-${pkgver}.tar.bz2"
'ibus.conf')
sha256sums=('0d40099e93eb82bd35c29322df374297ae3286b5879b21f5056c8d4b5b7577dd'
'47769b7f6e435fe3c39e5c64c374b7d2311f3e0b43d9ddbcf230b652d25a6464')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/${pkgname} --disable-static
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR="${pkgdir}"
install -Dm644 "${srcdir}/ibus.conf" "${pkgdir}/etc/X11/xinit/xinput.d/ibus.conf"
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

16
ibus.conf Normal file
View file

@ -0,0 +1,16 @@
XIM=ibus
XIM_PROGRAM="/usr/bin/ibus-daemon"
ICON="ibus"
XIM_ARGS="-r --xim"
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
SHORT_DESC="IBus"
GTK_IM_MODULE=ibus
NOT_RUN=gnome3
if test -f /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so || \
test -f /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so;
then
QT_IM_MODULE=ibus
else
QT_IM_MODULE=xim
fi