summaryrefslogtreecommitdiff
path: root/packages/obsolete/freedesktop-premodular-xlibs/libxft_2.1.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/obsolete/freedesktop-premodular-xlibs/libxft_2.1.6.bb')
-rw-r--r--packages/obsolete/freedesktop-premodular-xlibs/libxft_2.1.6.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/obsolete/freedesktop-premodular-xlibs/libxft_2.1.6.bb b/packages/obsolete/freedesktop-premodular-xlibs/libxft_2.1.6.bb
new file mode 100644
index 0000000000..d6b51ca55d
--- /dev/null
+++ b/packages/obsolete/freedesktop-premodular-xlibs/libxft_2.1.6.bb
@@ -0,0 +1,28 @@
+SECTION = "x11/libs"
+LICENSE = "MIT-X"
+DEPENDS = "virtual/libx11 xproto libxrender freetype fontconfig"
+DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
+PROVIDES = "xft"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXft-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXft-${PV}"
+
+FILES_${PN} = ${libdir}/lib*.so.*
+FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
+ ${libdir}/*.a ${libdir}/pkgconfig \
+ ${datadir}/aclocal ${bindir} ${sbindir}
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
+python do_package() {
+ if bb.data.getVar('DEBIAN_NAMES', d, 1):
+ bb.data.setVar('PKG_${PN}', 'libxft2', d)
+ bb.build.exec_func('package_do_package', d)
+}
+