diff --git a/srcpkgs/libmatekbd/template b/srcpkgs/libmatekbd/template index 297c2a0f36..32462b24d8 100644 --- a/srcpkgs/libmatekbd/template +++ b/srcpkgs/libmatekbd/template @@ -1,18 +1,23 @@ # Template file for 'libmatekbd' pkgname=libmatekbd -version=1.10.0 +version=1.12.0 revision=1 build_style=gnu-configure -configure_args="--with-gtk=2.0 --disable-static" -hostmakedepends="mate-common pkg-config intltool itstool glib-devel" -makedepends="libICE-devel gtk+-devel libxklavier-devel iso-codes" +configure_args="--with-gtk=3.0 --disable-static $(vopt_enable gir introspection)" +hostmakedepends="mate-common pkg-config intltool itstool glib-devel gobject-introspection" +makedepends="libICE-devel gtk+3-devel libxklavier-devel iso-codes" depends="dconf iso-codes" short_desc="MATE keyboard library" maintainer="Juan RP " license="LGPL-3" homepage="http://mate-desktop.org" distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=09d9bb75d784083036e24a29120f5933f0dfdfe59050858dd353fd7572d7d2d1 +checksum=a37538a9cb73dd1db8a8eacf7f7e1141884a95c218f69c017c1282a333de8d00 + +build_options="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi pre_configure() { autoreconf -fi @@ -20,7 +25,7 @@ pre_configure() { libmatekbd-devel_package() { short_desc+=" - development files" - depends="gtk+-devel libxklavier-devel ${sourcepkg}>=${version}_${revision}" + depends="gtk+3-devel libxklavier-devel ${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/*.so