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