diff options
Diffstat (limited to 'meta/packages/xorg-lib/libxft_2.1.6.bb')
-rw-r--r-- | meta/packages/xorg-lib/libxft_2.1.6.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libxft_2.1.6.bb b/meta/packages/xorg-lib/libxft_2.1.6.bb new file mode 100644 index 0000000000..a793925596 --- /dev/null +++ b/meta/packages/xorg-lib/libxft_2.1.6.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SECTION = "x11/libs" | ||
2 | LICENSE = "MIT-X" | ||
3 | DEPENDS = "virtual/libx11 xproto libxrender freetype fontconfig" | ||
4 | DESCRIPTION = "X FreeType library. Client-side fonts with FreeType." | ||
5 | PROVIDES = "xft" | ||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "${XLIBS_MIRROR}/libXft-${PV}.tar.bz2 \ | ||
9 | file://autofoo.patch;patch=1" | ||
10 | S = "${WORKDIR}/libXft-${PV}" | ||
11 | |||
12 | FILES_${PN} = ${libdir}/lib*.so.* | ||
13 | FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \ | ||
14 | ${libdir}/*.a ${libdir}/pkgconfig \ | ||
15 | ${datadir}/aclocal ${bindir} ${sbindir} | ||
16 | |||
17 | inherit autotools pkgconfig | ||
18 | |||
19 | do_stage() { | ||
20 | autotools_stage_all | ||
21 | } | ||
22 | |||
23 | python do_package() { | ||
24 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
25 | bb.data.setVar('PKG_${PN}', 'libxft2', d) | ||
26 | bb.build.exec_func('package_do_package', d) | ||
27 | } | ||