diff options
Diffstat (limited to 'meta/recipes-graphics/freetype/freetype_2.7.1.bb')
-rw-r--r-- | meta/recipes-graphics/freetype/freetype_2.7.1.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-graphics/freetype/freetype_2.7.1.bb b/meta/recipes-graphics/freetype/freetype_2.7.1.bb new file mode 100644 index 0000000000..544f835820 --- /dev/null +++ b/meta/recipes-graphics/freetype/freetype_2.7.1.bb | |||
@@ -0,0 +1,49 @@ | |||
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=13b25413274c9b3b09b63e4028216ff4 \ | ||
13 | file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec" | ||
14 | |||
15 | SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ | ||
16 | file://use-right-libtool.patch" | ||
17 | |||
18 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/freetype/files/freetype2/" | ||
19 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
20 | |||
21 | SRC_URI[md5sum] = "b3230110e0cab777e0df7631837ac36e" | ||
22 | SRC_URI[sha256sum] = "3a3bb2c4e15ffb433f2032f50a5b5a92558206822e22bfe8cbe339af4aa82f88" | ||
23 | |||
24 | inherit autotools pkgconfig binconfig-disabled multilib_header | ||
25 | |||
26 | # Adapt autotools to work with the minimal autoconf usage in freetype | ||
27 | AUTOTOOLS_SCRIPT_PATH = "${S}/builds/unix" | ||
28 | CONFIGURE_SCRIPT = "${S}/configure" | ||
29 | EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake" | ||
30 | |||
31 | PACKAGECONFIG ??= "zlib" | ||
32 | |||
33 | PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2" | ||
34 | # harfbuzz results in a circular dependency so enabling is non-trivial | ||
35 | PACKAGECONFIG[harfbuzz] = "--with-harfbuzz,--without-harfbuzz,harfbuzz" | ||
36 | PACKAGECONFIG[pixmap] = "--with-png,--without-png,libpng" | ||
37 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | ||
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 | BINCONFIG = "${bindir}/freetype-config" | ||
48 | |||
49 | BBCLASSEXTEND = "native nativesdk" | ||