void-packages/srcpkgs/ibus/template

54 lines
1.7 KiB
Bash
Raw Normal View History

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