diff options
Diffstat (limited to 'openembedded/packages/libxft')
-rw-r--r-- | openembedded/packages/libxft/files/autofoo.patch | 21 | ||||
-rw-r--r-- | openembedded/packages/libxft/libxft_2.1.6.bb | 32 | ||||
-rw-r--r-- | openembedded/packages/libxft/libxft_cvs.bb | 31 |
3 files changed, 84 insertions, 0 deletions
diff --git a/openembedded/packages/libxft/files/autofoo.patch b/openembedded/packages/libxft/files/autofoo.patch new file mode 100644 index 0000000000..54120aa612 --- /dev/null +++ b/openembedded/packages/libxft/files/autofoo.patch @@ -0,0 +1,21 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- libXft-2.1.6/configure.ac~autofoo 2004-03-22 10:02:59.000000000 -0500 ++++ libXft-2.1.6/configure.ac 2005-01-17 02:08:10.165951760 -0500 +@@ -33,12 +33,12 @@ + dnl Please bump the minor library number at each release as well. + dnl + AC_INIT(libXft, 2.1.6, [keithp@keithp.com], libXft) ++AC_CONFIG_AUX_DIR(.) + + AM_INIT_AUTOMAKE([dist-bzip2]) + AM_MAINTAINER_MODE + + AM_CONFIG_HEADER(config.h) +-AC_CONFIG_AUX_DIR(.) + + # checks for progs + AC_PROG_CC diff --git a/openembedded/packages/libxft/libxft_2.1.6.bb b/openembedded/packages/libxft/libxft_2.1.6.bb new file mode 100644 index 0000000000..d7cb351d63 --- /dev/null +++ b/openembedded/packages/libxft/libxft_2.1.6.bb @@ -0,0 +1,32 @@ +SECTION = "x11/libs" +LICENSE = "MIT-X" +DEPENDS = "x11 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() { + oe_runmake install prefix=${STAGING_DIR} \ + bindir=${STAGING_BINDIR} \ + includedir=${STAGING_INCDIR} \ + libdir=${STAGING_LIBDIR} \ + datadir=${STAGING_DATADIR} \ + mandir=${STAGING_DATADIR}/man +} + +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) +} diff --git a/openembedded/packages/libxft/libxft_cvs.bb b/openembedded/packages/libxft/libxft_cvs.bb new file mode 100644 index 0000000000..d25b04e483 --- /dev/null +++ b/openembedded/packages/libxft/libxft_cvs.bb @@ -0,0 +1,31 @@ +PV = "0.0cvs${CVSDATE}" +LICENSE = "MIT-X" +SECTION = "x11/libs" +DEPENDS = "x11 xproto libxrender freetype fontconfig" +DESCRIPTION = "X FreeType library. Client-side fonts with FreeType." +PROVIDES = "xft" + +SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xlibs;module=Xft" +S = "${WORKDIR}/Xft" + +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() { + oe_runmake install prefix=${STAGING_DIR} \ + bindir=${STAGING_BINDIR} \ + includedir=${STAGING_INCDIR} \ + libdir=${STAGING_LIBDIR} \ + datadir=${STAGING_DATADIR} \ + mandir=${STAGING_DATADIR}/man +} + +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) +} |