evas_generic_loaders: fix pdf/ps options; cross build support.

This commit is contained in:
Juan RP 2013-12-18 11:51:43 +01:00
parent 0775d721ef
commit ddb205b866
1 changed files with 11 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'evas_generic_loaders'
pkgname=evas_generic_loaders
version=1.8.1
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="efl-devel>=${version}"
@ -19,11 +19,10 @@ desc_option_ps="Enable support to preview PS files"
desc_option_svg="Enable support to preview SVG files"
desc_option_raw="Enable support to preview RAW files"
# XXX disable gstreamer, ps and svg options in cross mode.
build_options_default="gstreamer pdf raw"
# XXX disable ps and svg options in cross mode.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gstreamer pdf ps raw svg"
else
build_options_default="pdf raw"
build_options_default+="ps svg"
fi
if [ "$build_option_gstreamer" ]; then
@ -34,19 +33,19 @@ else
fi
if [ "$build_option_pdf" ]; then
configure_args+=" --enable-spectre"
makedepends+=" libspectre-devel"
else
configure_args+=" --disable-spectre"
fi
if [ "$build_option_ps" ]; then
configure_args+=" --enable-poppler"
makedepends+=" poppler-devel"
else
configure_args+=" --disable-poppler"
fi
if [ "$build_option_ps" ]; then
configure_args+=" --enable-spectre"
makedepends+=" libspectre-devel"
else
configure_args+=" --disable-spectre"
fi
if [ "$build_option_svg" ]; then
configure_args+=" --enable-svg"
makedepends+=" librsvg-devel"