gtk+: add cups build_option

This commit is contained in:
Owen Rafferty 2019-02-23 14:36:38 -06:00 committed by maxice8
parent 7c9558f269
commit dab043f843

View file

@ -4,12 +4,12 @@ version=2.24.32
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-man --enable-cups --with-xinput $(vopt_enable gir introspection)"
configure_args="--enable-man $(vopt_enable cups) --with-xinput $(vopt_enable gir introspection)"
hostmakedepends="pkg-config perl xmlto glib-devel $(vopt_if gir gobject-introspection)"
makedepends="libglib-devel libXcursor-devel
libXext-devel libXrender-devel libXinerama-devel libXi-devel libXrandr-devel
libXcomposite-devel libXdamage-devel fontconfig-devel gdk-pixbuf-devel
cairo-devel pango-devel atk-devel cups-devel"
cairo-devel pango-devel atk-devel $(vopt_if cups cups-devel)"
depends="shared-mime-info dbus-x11 gtk-update-icon-cache"
conf_files="/etc/gtk-2.0/im-multipress.conf"
short_desc="GTK+ toolkit (v2)"
@ -21,7 +21,8 @@ checksum=b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e
CFLAGS="-UGDK_PIXBUF_DISABLE_DEPRECATED"
# Package build options
build_options="gir"
build_options="gir cups"
build_options_default="cups"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir" ;;