libunique1: cross build support.
This commit is contained in:
parent
45f291ee14
commit
1075cba844
1 changed files with 4 additions and 11 deletions
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'libunique1'.
|
||||
pkgname=libunique1
|
||||
version=1.1.6
|
||||
revision=7
|
||||
revision=8
|
||||
wrksrc="libunique-${version}"
|
||||
patch_args="-Np1"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-dbus"
|
||||
hostmakedepends="libtool automake pkg-config"
|
||||
makedepends="gtk+-devel"
|
||||
configure_args="--disable-static --disable-dbus $(vopt_if gir gobject-introspection)"
|
||||
hostmakedepends="libtool automake pkg-config glib-devel"
|
||||
makedepends="libSM-devel gtk+-devel"
|
||||
short_desc="Library for writing single instance applications (GTK+2)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://live.gnome.org/LibUnique"
|
||||
|
@ -23,13 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
if [ "$build_option_gir" ]; then
|
||||
configure_args+=" --enable-introspection"
|
||||
makedepends+=" gobject-introspection"
|
||||
else
|
||||
configure_args+=" --disable-introspection"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
# Fix build with glib 2.30.
|
||||
for f in $(find ${wrksrc} -name *.[ch]); do
|
||||
|
|
Loading…
Reference in a new issue