2012-12-22 05:28:51 +01:00
|
|
|
# Template file for 'evas_generic_loaders'
|
|
|
|
pkgname=evas_generic_loaders
|
2013-12-09 17:46:39 +01:00
|
|
|
version=1.8.1
|
2014-01-29 08:33:19 +01:00
|
|
|
revision=3
|
2012-12-22 05:28:51 +01:00
|
|
|
build_style=gnu-configure
|
2013-11-16 12:11:11 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2014-01-29 08:33:19 +01:00
|
|
|
makedepends="efl-devel>=1.8.5"
|
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"
|
2013-12-09 17:46:39 +01:00
|
|
|
checksum=f677e0b8e37f80541c50626bf52999a6d301c3c8540cf03857115d72d424ffa8
|
2013-04-12 10:23:11 +02:00
|
|
|
|
2013-11-16 12:11:11 +01:00
|
|
|
build_options="gstreamer pdf ps raw svg"
|
2013-12-02 16:36:23 +01:00
|
|
|
desc_option_gstreamer="Enable support to preview video files"
|
2013-11-16 12:11:11 +01:00
|
|
|
desc_option_pdf="Enable support to preview PDF files"
|
|
|
|
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"
|
|
|
|
|
2013-12-18 11:51:43 +01:00
|
|
|
build_options_default="gstreamer pdf raw"
|
|
|
|
# XXX disable ps and svg options in cross mode.
|
2013-11-16 12:11:11 +01:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2013-12-18 11:51:43 +01:00
|
|
|
build_options_default+="ps svg"
|
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"
|
|
|
|
makedepends+=" poppler-devel"
|
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
|