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