diff options
Diffstat (limited to 'meta/recipes-graphics/freetype/freetype_2.10.2.bb')
-rw-r--r-- | meta/recipes-graphics/freetype/freetype_2.10.2.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-graphics/freetype/freetype_2.10.2.bb b/meta/recipes-graphics/freetype/freetype_2.10.2.bb new file mode 100644 index 0000000000..1034ddc0d7 --- /dev/null +++ b/meta/recipes-graphics/freetype/freetype_2.10.2.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Freetype font rendering library" | ||
2 | DESCRIPTION = "FreeType is a software font engine that is designed to be small, efficient, \ | ||
3 | highly customizable, and portable while capable of producing high-quality output (glyph \ | ||
4 | images). It can be used in graphics libraries, display servers, font conversion tools, text \ | ||
5 | image generation tools, and many other products as well." | ||
6 | HOMEPAGE = "http://www.freetype.org/" | ||
7 | BUGTRACKER = "https://savannah.nongnu.org/bugs/?group=freetype" | ||
8 | SECTION = "libs" | ||
9 | |||
10 | LICENSE = "FreeType | GPLv2+" | ||
11 | LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=4af6221506f202774ef74f64932878a1 \ | ||
12 | file://docs/FTL.TXT;md5=9f37b4e6afa3fef9dba8932b16bd3f97 \ | ||
13 | file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec" | ||
14 | |||
15 | SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz \ | ||
16 | file://use-right-libtool.patch \ | ||
17 | " | ||
18 | SRC_URI[md5sum] = "7c0d5a39f232d7eb9f9d7da76bf08074" | ||
19 | SRC_URI[sha256sum] = "1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b" | ||
20 | |||
21 | UPSTREAM_CHECK_REGEX = "freetype-(?P<pver>\d+(\.\d+)+)" | ||
22 | |||
23 | inherit autotools pkgconfig multilib_header | ||
24 | |||
25 | # Adapt autotools to work with the minimal autoconf usage in freetype | ||
26 | AUTOTOOLS_SCRIPT_PATH = "${S}/builds/unix" | ||
27 | CONFIGURE_SCRIPT = "${S}/configure" | ||
28 | EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake" | ||
29 | |||
30 | PACKAGECONFIG ??= "zlib pixmap" | ||
31 | |||
32 | PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2" | ||
33 | # harfbuzz results in a circular dependency so enabling is non-trivial | ||
34 | PACKAGECONFIG[harfbuzz] = "--with-harfbuzz,--without-harfbuzz,harfbuzz" | ||
35 | PACKAGECONFIG[pixmap] = "--with-png,--without-png,libpng" | ||
36 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | ||
37 | PACKAGECONFIG[freetypeconfig] = "--enable-freetype-config=yes,--enable-freetype-config=no," | ||
38 | |||
39 | EXTRA_OECONF = "CC_BUILD='${BUILD_CC}'" | ||
40 | |||
41 | TARGET_CPPFLAGS += "-D_FILE_OFFSET_BITS=64" | ||
42 | |||
43 | do_install_append() { | ||
44 | oe_multilib_header freetype2/freetype/config/ftconfig.h | ||
45 | } | ||
46 | |||
47 | BBCLASSEXTEND = "native nativesdk" | ||