colord: fixed cross build.

This commit is contained in:
Juan RP 2014-07-28 17:37:37 +02:00
parent d950c50b5f
commit 5bced62862
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ makedepends="vala-devel>=0.20 libgudev-devel polkit-devel lcms2-devel dbus-devel
libusb-devel libgusb-devel>=0.1.6 sqlite-devel sane-devel bash-completion"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libtool glib-devel colord"
hostmakedepends+=" which automake libtool gettext-devel glib-devel gtk-doc colord gobject-introspection"
fi
# Package build options
@ -53,9 +53,9 @@ fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
NOCONFIGURE=1 ./autogen.sh
# Use host cd-create-profile instead.
sed -e 's,$(top_builddir)/client/cd-create-profile,cd-create-profile,g' -i data/profiles/Makefile.in
libtoolize -f
fi
}