diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2020-12-28 05:34:00 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-12-29 15:50:45 -0800 |
commit | d58ec0453fdca1fb6e7704235bf0e7bf84dee4f7 (patch) | |
tree | c9e6c967d46e0115e74f0de8cd0cab3878b211b1 | |
parent | d39e66092081d0abaeffda46f4d28ebdb5ad080d (diff) | |
download | meta-openembedded-d58ec0453fdca1fb6e7704235bf0e7bf84dee4f7.tar.gz |
imlib2: add image manipulation libray from englightenment project
Restore and update old imlib2 recipe from meta-efl.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/imlib2/imlib2_git.bb | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index 77c6041fb1..c479a740d2 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | |||
@@ -454,6 +454,7 @@ RDEPENDS_packagegroup-meta-oe-graphics ="\ | |||
454 | fvwm \ | 454 | fvwm \ |
455 | gtkperf \ | 455 | gtkperf \ |
456 | gphoto2 \ | 456 | gphoto2 \ |
457 | imlib2 \ | ||
457 | libgphoto2 \ | 458 | libgphoto2 \ |
458 | graphviz \ | 459 | graphviz \ |
459 | gtkwave \ | 460 | gtkwave \ |
diff --git a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb new file mode 100644 index 0000000000..b44b03ce8e --- /dev/null +++ b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb | |||
@@ -0,0 +1,39 @@ | |||
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" | ||