mate-desktop: enable gir
This commit is contained in:
parent
5e51dc3ef9
commit
039e22af6b
1 changed files with 11 additions and 5 deletions
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'mate-desktop'
|
||||
pkgname=mate-desktop
|
||||
version=1.20.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--disable-static --enable-mpaste
|
||||
--disable-schemas-compile $(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool itstool glib-devel gobject-introspection"
|
||||
hostmakedepends="pkg-config intltool itstool glib-devel"
|
||||
makedepends="gtk+3-devel dconf-devel libXrandr-devel startup-notification-devel"
|
||||
depends="dconf hicolor-icon-theme dejavu-fonts-ttf"
|
||||
short_desc="Library with common API for various MATE modules"
|
||||
|
@ -18,9 +19,11 @@ checksum=b9bbb086c352764a6bf01a3c792a2858336b3a28a82ffb818b509de290b1701c
|
|||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
mate-desktop-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
|
@ -30,5 +33,8 @@ mate-desktop-devel_package() {
|
|||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/gtk-doc
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue