blob: 113b8666abcd3ab21bfc77a6000924b876804666 [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"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060010PV = "1.12.1"
11SRCREV = "9198db25369f04db069ce61a661c3c47b2622655"
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
Andrew Geissler72956ed2021-01-08 16:11:14 -060031PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
32
33PACKAGECONFIG[id3] = "--with-id3,--without-id3,libid3tag"
34
35PACKAGES =+ "${BPN}-loaders ${BPN}-filters ${BPN}-data"
Patrick Williams213cb262021-08-07 19:21:33 -050036FILES:${PN}-data = "${datadir}"
37FILES:imlib2-loaders = "${libdir}/imlib2/loaders/*.so"
38FILES:imlib2-filters = "${libdir}/imlib2/filters/*.so"