2012-09-25 15:34:14 +00:00
|
|
|
# Template file for 'ibus'
|
|
|
|
pkgname=ibus
|
2014-10-05 06:50:06 +00:00
|
|
|
version=1.5.9
|
2014-12-24 08:35:48 +00:00
|
|
|
revision=2
|
2012-09-25 15:34:14 +00:00
|
|
|
build_style=gnu-configure
|
2012-11-13 10:14:05 +00:00
|
|
|
configure_args="--enable-ui --enable-gtk3 --disable-python
|
2014-12-24 08:35:48 +00:00
|
|
|
--disable-tests --disable-schemas-compile --enable-memconf
|
|
|
|
--disable-schemas-install --enable-dconf --disable-gconf
|
|
|
|
$(vopt_enable gir introspection) $(vopt_enable ibus_setup setup)"
|
2014-06-19 14:13:02 +00:00
|
|
|
hostmakedepends="automake gettext-devel libtool pkg-config intltool
|
2014-12-24 08:35:48 +00:00
|
|
|
dconf GConf python glib-devel $(vopt_if gir gobject-introspection)"
|
2013-09-21 07:04:16 +00:00
|
|
|
makedepends="dconf-devel>=0.13.90 librsvg-devel gtk+-devel gtk+3-devel
|
2014-06-19 14:07:26 +00:00
|
|
|
vala-devel libnotify-devel hicolor-icon-theme iso-codes dbus-x11 python-xdg"
|
2014-12-24 08:35:48 +00:00
|
|
|
depends="hicolor-icon-theme iso-codes dbus-x11 python-xdg
|
|
|
|
$(vopt_if ibus_setup 'python-gobject>=3.12.1_3')"
|
2014-01-01 15:10:11 +00:00
|
|
|
triggers="gtk-immodules gtk3-immodules"
|
2013-09-21 07:04:16 +00:00
|
|
|
short_desc="Intelligent Input Bus"
|
2012-09-25 15:34:14 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://ibus.googlecode.com"
|
|
|
|
license="LGPL-2.1"
|
2014-04-04 16:07:59 +00:00
|
|
|
distfiles="https://github.com/ibus/ibus/releases/download/${version}/ibus-${version}.tar.gz"
|
2014-10-05 06:50:06 +00:00
|
|
|
checksum=ad41014aa3cb961854ee0aa392a5abd7452fab2c6b77d8ff2d736b7405b48ac6
|
2014-02-20 10:17:36 +00:00
|
|
|
|
|
|
|
# Package build options
|
2014-12-24 08:35:48 +00:00
|
|
|
build_options="gir ibus_setup"
|
|
|
|
desc_option_ibus_setup="Enable support for building the ibus setup UI"
|
2014-02-20 10:17:36 +00:00
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2014-12-24 08:35:48 +00:00
|
|
|
build_options_default="gir ibus_setup"
|
2014-02-20 10:17:36 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
2014-06-19 14:13:02 +00:00
|
|
|
autoreconf -fi
|
2014-02-20 10:17:36 +00:00
|
|
|
}
|
2014-04-04 16:07:59 +00:00
|
|
|
pre_install() {
|
|
|
|
vmkdir etc/dconf/db
|
|
|
|
}
|
|
|
|
|
2013-04-12 14:39:50 +00:00
|
|
|
ibus-devel_package() {
|
2013-04-19 07:14:22 +00:00
|
|
|
depends="libglib-devel ibus-${version}_${revision}"
|
2013-07-27 21:24:53 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 14:39:50 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-21 07:04:16 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 14:39:50 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2014-02-20 10:17:36 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-12 14:39:50 +00:00
|
|
|
}
|
|
|
|
}
|