blob: a90d40e4d80358321fa67f163a32bf9c34b18c4c [file] [log] [blame]
Andrew Geissler72956ed2021-01-08 16:11:14 -06001SUMMARY = "A graphic library for file loading, saving, rendering, and manipulation"
2
3HOMEPAGE = "https://sourceforge.net/projects/enlightenment/"
4SECTION = "libs"
5LICENSE = "MIT & BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35"
7
8DEPENDS = "freetype "
9PROVIDES = "virtual/imlib2"
10PV = "1.7.1"
Andrew Geissler69721092021-07-23 12:57:00 -040011SRCREV = "01424487e360383a039dc123bc2a345fe7ea2535"
Andrew Geissler72956ed2021-01-08 16:11:14 -060012
13inherit autotools pkgconfig lib_package
14
15AUTO_LIBNAME_PKGS = ""
16
17SRC_URI = "git://git.enlightenment.org/legacy/${BPN}.git;protocol=https"
18S = "${WORKDIR}/git"
19
20PACKAGECONFIG ??= "jpeg png zlib ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
21
22X11_DEPS = "virtual/libx11 libxext libice"
23PACKAGECONFIG[x11] = "--with-x,--without-x,${X11_DEPS}"
24
25PACKAGECONFIG[gif] = "--with-gif,--without-gif,giflib"
26PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg"
27PACKAGECONFIG[png] = "--with-png,--without-png,libpng"
28PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff"
29PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
30
31PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
32PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
33
34PACKAGECONFIG[id3] = "--with-id3,--without-id3,libid3tag"
35
36PACKAGES =+ "${BPN}-loaders ${BPN}-filters ${BPN}-data"
Patrick Williams213cb262021-08-07 19:21:33 -050037FILES:${PN}-data = "${datadir}"
38FILES:imlib2-loaders = "${libdir}/imlib2/loaders/*.so"
39FILES:imlib2-filters = "${libdir}/imlib2/filters/*.so"