68 lines
1.8 KiB
Text
68 lines
1.8 KiB
Text
# Template file for 'evas_generic_loaders'
|
|
pkgname=evas_generic_loaders
|
|
version=1.8.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="efl-devel>=${version}"
|
|
homepage="http://enlightenment.org"
|
|
short_desc="Additional generic loaders for Evas"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="BSD"
|
|
distfiles="http://download.enlightenment.org/rel/libs/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=bddeea2a6e96be8ba12572a070cc7697fc520133104a9f3791419680a0be9df9
|
|
|
|
build_options="gstreamer pdf ps raw svg"
|
|
desc_option_gstreamer="Enable support to preview video files"
|
|
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"
|
|
|
|
# XXX disable gstreamer, 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"
|
|
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-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_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
|
|
|
|
evas_generic_loaders_package() {
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|