2012-12-22 05:28:51 +01:00
|
|
|
# Template file for 'evas_generic_loaders'
|
|
|
|
pkgname=evas_generic_loaders
|
2014-07-24 17:24:14 +02:00
|
|
|
version=1.10.0
|
2014-05-18 17:01:51 +02:00
|
|
|
revision=1
|
2012-12-22 05:28:51 +01:00
|
|
|
build_style=gnu-configure
|
2013-11-16 12:11:11 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2014-07-24 17:24:14 +02:00
|
|
|
makedepends="efl-devel>=1.10"
|
|
|
|
depends="efl>=1.10"
|
2012-12-22 05:28:51 +01:00
|
|
|
homepage="http://enlightenment.org"
|
|
|
|
short_desc="Additional generic loaders for Evas"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2013-12-02 16:36:23 +01:00
|
|
|
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2014-07-24 17:24:14 +02:00
|
|
|
checksum=0a62903fc8b303ac76b549b0b0f9e7e82b2ccb83aa056beebc0889437f728844
|
2013-04-12 10:23:11 +02:00
|
|
|
|
2013-11-16 12:11:11 +01:00
|
|
|
build_options="gstreamer pdf ps raw svg"
|
2014-07-24 17:24:14 +02:00
|
|
|
build_options_default="gstreamer pdf raw svg"
|
|
|
|
# XXX disable ps option in cross mode.
|
2013-11-16 12:11:11 +01:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2014-07-24 17:24:14 +02:00
|
|
|
build_options_default+=" ps"
|
2013-11-16 12:11:11 +01:00
|
|
|
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
|
2013-12-18 11:51:43 +01:00
|
|
|
configure_args+=" --enable-poppler"
|
2014-04-29 08:15:23 +02:00
|
|
|
makedepends+=" poppler-devel>=0.26"
|
2013-11-16 12:11:11 +01:00
|
|
|
else
|
2013-12-18 11:51:43 +01:00
|
|
|
configure_args+=" --disable-poppler"
|
2013-11-16 12:11:11 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_ps" ]; then
|
2013-12-18 11:51:43 +01:00
|
|
|
configure_args+=" --enable-spectre"
|
|
|
|
makedepends+=" libspectre-devel"
|
2013-11-16 12:11:11 +01:00
|
|
|
else
|
2013-12-18 11:51:43 +01:00
|
|
|
configure_args+=" --disable-spectre"
|
2013-11-16 12:11:11 +01:00
|
|
|
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
|