void-packages/srcpkgs/ibus/template

55 lines
1.5 KiB
Plaintext
Raw Normal View History

2012-09-25 17:34:14 +02:00
# Template file for 'ibus'
pkgname=ibus
2014-02-20 11:17:36 +01:00
version=1.5.5
2013-04-19 09:14:22 +02:00
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-schemas-compile --enable-memconf
2012-10-17 17:08:24 +02:00
--disable-schemas-install --enable-dconf --disable-gconf"
2014-02-20 11:17:36 +01:00
hostmakedepends="libtool pkg-config intltool dconf GConf python glib-devel"
2013-09-21 09:04:16 +02:00
makedepends="dconf-devel>=0.13.90 librsvg-devel gtk+-devel gtk+3-devel
vala-devel libnotify-devel hicolor-icon-theme iso-codes dbus-x11 pyxdg"
depends="hicolor-icon-theme iso-codes dbus-x11 pyxdg"
triggers="gtk-immodules gtk3-immodules"
2013-09-21 09:04:16 +02:00
short_desc="Intelligent Input Bus"
2012-09-25 17:34:14 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://ibus.googlecode.com"
license="LGPL-2.1"
distfiles="http://ibus.googlecode.com/files/ibus-${version}.tar.gz"
2014-02-20 11:17:36 +01:00
checksum=02ab36af6048399fedbe8d85074b161219b89df5020932df33cf8829764f8aec
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
pre_configure() {
libtoolize -f
}
2012-09-25 17:34:14 +02:00
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
}
}