blob: d277c1167954a91cdbd6f8814b8c1d94296107bf [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "Evas generic loaders"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=a87563ed30add2b0e3460272d3138a00"
Patrick Williamsddad1a12017-02-23 20:36:32 -06004DEPENDS = "eina librsvg cairo"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005
6inherit efl
7
8SRCNAME = "evas_generic_loaders"
9
10EXTRA_OECONF = " \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011 --enable-svg \
12 --disable-gstreamer \
13 --disable-libraw \
14 --disable-spectre \
15"
16
Patrick Williamsddad1a12017-02-23 20:36:32 -060017PACKAGECONFIG ??= ""
18PACKAGECONFIG[poppler] = "--enable-poppler,--disable-poppler,poppler"
19
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020PACKAGESPLITFUNCS_prepend = "split_evas_loader_packages "
21
22python split_evas_loader_packages () {
23 bb.note( "splitting packages for evas generic loaders" )
24 basedir = d.expand( '${libdir}/evas/utils')
25
26 do_split_packages(d, basedir, 'evas_image_loader\.(.*)$',
27 output_pattern = "evas-generic-loader-%s",
28 description = 'Evas generic loaders - module %s',
29 allow_dirs=True, recursive=False, extra_depends="" )
30
31 do_split_packages(d, basedir, 'evas_generic_pdf_loader\.(.*)$',
32 output_pattern = "evas-generic-pdf-loader-%s",
33 description = 'Evas generic pdf loaders - module %s',
34 allow_dirs=True, recursive=False, extra_depends="" )
35}
36
37# add symlinks for different format (it doesn't make much sense to package them in separate packages)
38FILES_evas-generic-loader-xcf += " \
39 ${libdir}/evas/utils/evas_image_loader.xcf.gz \
40"
41FILES_evas-generic-loader-svg += " \
42 ${libdir}/evas/utils/evas_image_loader.svg.gz \
43 ${libdir}/evas/utils/evas_image_loader.svgz \
44"
45FILES_evas-generic-loader-pdf += " \
46 ${libdir}/evas/utils/evas_image_loader.doc \
47 ${libdir}/evas/utils/evas_image_loader.docx \
48 ${libdir}/evas/utils/evas_image_loader.odp \
49 ${libdir}/evas/utils/evas_image_loader.ods \
50 ${libdir}/evas/utils/evas_image_loader.odt \
51 ${libdir}/evas/utils/evas_image_loader.ppt \
52 ${libdir}/evas/utils/evas_image_loader.pptx \
53 ${libdir}/evas/utils/evas_image_loader.rtf \
54 ${libdir}/evas/utils/evas_image_loader.xls \
55 ${libdir}/evas/utils/evas_image_loader.xlsx \
56"
57FILES_evas-generic-pdf-loader-libreoffice += " \
58 ${libdir}/evas/utils/evas_generic_pdf_loader.doc \
59 ${libdir}/evas/utils/evas_generic_pdf_loader.docx \
60 ${libdir}/evas/utils/evas_generic_pdf_loader.odp \
61 ${libdir}/evas/utils/evas_generic_pdf_loader.ods \
62 ${libdir}/evas/utils/evas_generic_pdf_loader.odt \
63 ${libdir}/evas/utils/evas_generic_pdf_loader.ppt \
64 ${libdir}/evas/utils/evas_generic_pdf_loader.pptx \
65 ${libdir}/evas/utils/evas_generic_pdf_loader.rtf \
66 ${libdir}/evas/utils/evas_generic_pdf_loader.xls \
67 ${libdir}/evas/utils/evas_generic_pdf_loader.xlsx \
68"
69
70FILES_${PN}-dbg += "${libdir}/evas/utils/.debug"
71
72PACKAGES += "evas-generic-loader-svg"
73PACKAGES_DYNAMIC += "^evas-generic-loader-.* ^evas-generic-pdf-loader-.*"