diff options
author | Derek Straka <derek@asterius.io> | 2016-08-12 11:30:38 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-08-22 15:49:22 +0200 |
commit | d1ebcbc62983d5547c31199751e8e015d9b018f0 (patch) | |
tree | a1e05266d2d3e63cf07d6b08e32e49984a2895c9 /meta-oe/recipes-support/gd/gd_2.2.3.bb | |
parent | bb689de1d32d2561fe365e0b59f355b746cfd0ac (diff) | |
download | meta-openembedded-d1ebcbc62983d5547c31199751e8e015d9b018f0.tar.gz |
gd: update to version 2.2.3
* Upstream removed vpx support in favor of webp
* Explicity disable webp support
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gd/gd_2.2.3.bb')
-rw-r--r-- | meta-oe/recipes-support/gd/gd_2.2.3.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gd/gd_2.2.3.bb b/meta-oe/recipes-support/gd/gd_2.2.3.bb new file mode 100644 index 000000000..80d66c9f7 --- /dev/null +++ b/meta-oe/recipes-support/gd/gd_2.2.3.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "gd is a library used to create PNG, JPEG, or WBMP images" | ||
2 | DESCRIPTION = "The gd graphics library allows your code to quickly draw images \ | ||
3 | complete with lines, arcs, text, multiple colors, cut and paste from other \ | ||
4 | images, and flood fills, and to write out the result as a PNG or JPEG file. \ | ||
5 | This is particularly useful in Web applications, where PNG and JPEG are two \ | ||
6 | of the formats accepted for inline images by most browsers. Note that gd is not \ | ||
7 | a paint program." | ||
8 | HOMEPAGE = "http://libgd.bitbucket.org/" | ||
9 | |||
10 | SECTION = "libs" | ||
11 | LICENSE = "GD" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669" | ||
13 | DEPENDS = "freetype libpng jpeg zlib tiff" | ||
14 | |||
15 | SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \ | ||
16 | file://fix-gcc-unused-functions.patch" | ||
17 | |||
18 | SRCREV = "46ceef5970bf3a847ff61d1bdde7501d66c11d0c" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit autotools binconfig gettext pkgconfig | ||
23 | |||
24 | EXTRA_OECONF += " --disable-rpath \ | ||
25 | --with-jpeg=${STAGING_LIBDIR}/.. \ | ||
26 | --with-freetype=yes \ | ||
27 | --without-fontconfig \ | ||
28 | --without-webp \ | ||
29 | --without-xpm \ | ||
30 | --without-x \ | ||
31 | " | ||
32 | |||
33 | EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"' | ||
34 | |||
35 | do_install_append() { | ||
36 | # cleanup buildpaths from gdlib.pc | ||
37 | sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gdlib.pc | ||
38 | } | ||
39 | |||
40 | PACKAGES += "${PN}-tools" | ||
41 | |||
42 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | ||
43 | FILES_${PN}-tools = "${bindir}/*" | ||
44 | |||
45 | PROVIDES += "${PN}-tools" | ||
46 | RPROVIDES_${PN}-tools = "${PN}-tools" | ||
47 | RDEPENDS_${PN}-tools = "perl perl-module-strict" | ||