libcryptui: always enable gir
This commit is contained in:
parent
faeab4d64a
commit
d9c51852c9
1 changed files with 5 additions and 14 deletions
|
@ -3,9 +3,11 @@ pkgname=libcryptui
|
||||||
version=3.12.2
|
version=3.12.2
|
||||||
revision=2
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper="gir"
|
||||||
configure_args="--disable-static --disable-update-mime-database
|
configure_args="--disable-static --disable-update-mime-database
|
||||||
--disable-schemas-compile"
|
--disable-schemas-compile $(vopt_enable gir introspection)"
|
||||||
hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg"
|
hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
|
||||||
|
$(vopt_if gir gobject-introspection)"
|
||||||
makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
|
makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
|
||||||
libnotify-devel libgnome-keyring-devel"
|
libnotify-devel libgnome-keyring-devel"
|
||||||
depends="hicolor-icon-theme libgnome-keyring>=3.10 gnupg"
|
depends="hicolor-icon-theme libgnome-keyring>=3.10 gnupg"
|
||||||
|
@ -18,18 +20,7 @@ checksum=71ead1a7b496f07f6c5102ae79945dd2515b7b9342c6edefe58b47318be20866
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
|
|
||||||
# Disable gir for cross builds.
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$build_option_gir" ]; then
|
|
||||||
configure_args+=" --enable-introspection"
|
|
||||||
makedepends+=" gobject-introspection"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-introspection"
|
|
||||||
fi
|
|
||||||
|
|
||||||
libcryptui-devel_package() {
|
libcryptui-devel_package() {
|
||||||
depends="gtk+3-devel dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
|
depends="gtk+3-devel dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue