diff --git a/srcpkgs/evas_generic_loaders/template b/srcpkgs/evas_generic_loaders/template index c91cee1ef13..7ee66b1f5a6 100644 --- a/srcpkgs/evas_generic_loaders/template +++ b/srcpkgs/evas_generic_loaders/template @@ -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"