gtk+3: enable gir
required for amtk
This commit is contained in:
parent
960f3fc434
commit
e6dd7107a7
1 changed files with 9 additions and 8 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'gtk+3'
|
# Template file for 'gtk+3'
|
||||||
pkgname=gtk+3
|
pkgname=gtk+3
|
||||||
version=3.24.4
|
version=3.24.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="gtk+-${version}"
|
wrksrc="gtk+-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper="gir"
|
||||||
#XXX broken configure script: Can't use vopt_enable cloudproviders, configure
|
#XXX broken configure script: Can't use vopt_enable cloudproviders, configure
|
||||||
#checks for libcloudproviders when we pass '--disable-cloudproviders' to it!
|
#checks for libcloudproviders when we pass '--disable-cloudproviders' to it!
|
||||||
configure_args="--disable-schemas-compile
|
configure_args="--disable-schemas-compile
|
||||||
|
@ -12,9 +13,8 @@ configure_args="--disable-schemas-compile
|
||||||
$(vopt_enable wayland wayland-backend) $(vopt_enable x11 x11-backend)
|
$(vopt_enable wayland wayland-backend) $(vopt_enable x11 x11-backend)
|
||||||
$(vopt_if cloudproviders '--enable-cloudproviders')"
|
$(vopt_if cloudproviders '--enable-cloudproviders')"
|
||||||
conf_files="/etc/gtk-3.0/im-multipress.conf"
|
conf_files="/etc/gtk-3.0/im-multipress.conf"
|
||||||
hostmakedepends="gettext-devel glib-devel gobject-introspection gtk-doc
|
hostmakedepends="gettext-devel glib-devel gtk-doc gtk-update-icon-cache perl
|
||||||
gtk-update-icon-cache pkg-config perl
|
pkg-config $(vopt_if wayland 'wayland-devel wayland-protocols')"
|
||||||
$(vopt_if wayland 'wayland-devel wayland-protocols')"
|
|
||||||
makedepends="at-spi2-atk-devel gdk-pixbuf-devel libepoxy-devel pango-devel
|
makedepends="at-spi2-atk-devel gdk-pixbuf-devel libepoxy-devel pango-devel
|
||||||
iso-codes $(vopt_if colord 'colord-devel') $(vopt_if cups 'cups-devel')
|
iso-codes $(vopt_if colord 'colord-devel') $(vopt_if cups 'cups-devel')
|
||||||
$(vopt_if wayland 'libxkbcommon-devel wayland-devel wayland-protocols MesaLib-devel')
|
$(vopt_if wayland 'libxkbcommon-devel wayland-devel wayland-protocols MesaLib-devel')
|
||||||
|
@ -37,10 +37,11 @@ desc_option_cloudproviders="Enable integration with cloudproviders, such as Next
|
||||||
# Enable all options (other than cloudproviders) by default.
|
# Enable all options (other than cloudproviders) by default.
|
||||||
build_options_default="colord cups broadway wayland x11"
|
build_options_default="colord cups broadway wayland x11"
|
||||||
|
|
||||||
# Enable gir only for native builds.
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
build_options_default+=" gir"
|
*-musl) ;;
|
||||||
fi
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# Requires xserver running
|
# Requires xserver running
|
||||||
|
|
Loading…
Reference in a new issue