diff --git a/srcpkgs/evas_generic_loaders/template b/srcpkgs/evas_generic_loaders/template index 0bf1f6ee825..a3f1e0698fc 100644 --- a/srcpkgs/evas_generic_loaders/template +++ b/srcpkgs/evas_generic_loaders/template @@ -1,17 +1,24 @@ # Template file for 'evas_generic_loaders' pkgname=evas_generic_loaders -version=1.10.0 +version=1.11.0 revision=1 build_style=gnu-configure +configure_args="$(vopt_enable gstreamer) $(vopt_enable pdf poppler) + $(vopt_enable ps spectre) $(vopt_enable svg) $(vopt_enable raw libraw)" hostmakedepends="pkg-config" -makedepends="efl-devel>=1.10" -depends="efl>=1.10" +makedepends="efl-devel>=${version} + $(vopt_if gstreamer gst-plugins-base1-devel) + $(vopt_if pdf 'poppler-devel>=0.26') + $(vopt_if ps libspectre-devel) + $(vopt_if svg librsvg-devel) + $(vopt_if raw libraw-devel)" +depends="efl>=${version}" homepage="http://enlightenment.org" short_desc="Additional generic loaders for Evas" maintainer="Juan RP " license="BSD" distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2" -checksum=0a62903fc8b303ac76b549b0b0f9e7e82b2ccb83aa056beebc0889437f728844 +checksum=56e320246bd84a29fcc59e2309c74d66aabef81d9156438cf8e4f7857246bbb1 build_options="gstreamer pdf ps raw svg" build_options_default="gstreamer pdf raw svg" @@ -20,37 +27,3 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default+=" ps" fi -if [ "$build_option_gstreamer" ]; then - configure_args+=" --enable-gstreamer" - makedepends+=" gst-plugins-base-devel" -else - configure_args+=" --disable-gstreamer" -fi - -if [ "$build_option_pdf" ]; then - configure_args+=" --enable-poppler" - makedepends+=" poppler-devel>=0.26" -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" -else - configure_args+=" --disable-svg" -fi - -if [ "$build_option_raw" ]; then - configure_args+=" --enable-libraw" - makedepends+=" libraw-devel>=0.15" -else - configure_args+=" --disable-libraw" -fi