blob: 869f8123dbd28e0ce381bcba346f399915e86682 [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"
Andrew Geissler595f6302022-01-24 19:11:47 +00005LICENSE = "Imlib2"
Andrew Geissler72956ed2021-01-08 16:11:14 -06006LIC_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
Andrew Geisslerd5838332022-05-27 11:33:10 -050017SRC_URI = "git://git.enlightenment.org/old/legacy-${BPN}.git;protocol=https;branch=master"
Andrew Geissler72956ed2021-01-08 16:11:14 -060018S = "${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"