eom: build gobject introspection data by default on native builds

This commit is contained in:
maxice8 2018-10-07 08:03:49 -03:00 committed by maxice8
parent b2b45f5619
commit 3fb0480072

View file

@ -1,8 +1,7 @@
# Template file for 'eom'
pkgname=eom
version=1.20.1
revision=1
build_options="gir"
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="dbus-glib-devel mate-common
@ -17,6 +16,11 @@ homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=35375d5d55128e03c9a4f9e5559878873275c6e182b159058767180ca449347d
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
eom-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
@ -24,5 +28,8 @@ eom-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}