mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
libwnck2: fix configure_args with ~gir
This commit is contained in:
parent
32201ced28
commit
b9528f1501
1 changed files with 2 additions and 8 deletions
|
@ -4,7 +4,8 @@ version=2.30.7
|
|||
revision=5
|
||||
wrksrc="${pkgname/2/}-${version}"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config intltool gdk-pixbuf-devel"
|
||||
configure_args="$(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool gdk-pixbuf-devel $(vopt_if gir gobject-introspection)"
|
||||
makedepends="startup-notification-devel libXres-devel gtk+-devel"
|
||||
short_desc="Library for layout and rendering of text (GTK+2)"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -21,13 +22,6 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
if [ "$build_option_gir" ]; then
|
||||
configure_args+=" --enable-introspection"
|
||||
hostmakedepends+=" gobject-introspection"
|
||||
else
|
||||
configure_args+=" --disable-introspection"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/bin
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue