colord: fixed cross build.

This commit is contained in:
Juan RP 2014-07-28 17:37:37 +02:00
parent d950c50b5f
commit 5bced62862

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