summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJoaquim Duran <joaquinduran@adtelecom.es>2007-01-06 23:26:47 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-01-06 23:26:47 +0000
commit47587af5097b26df091950729fb6c60a5c966fbe (patch)
treed8cec8b525e076a074c4dc5e9503736f6b402ded /packages
parente4acd15efd9ab07619960d7c8eaaf720308f5cc0 (diff)
fltk 1.1.7: Better configure options and revamped staging.
* Add support for anti aliased fonts. * Enable double buffer to avoid flicking. * Enable OpenGL. * Fix dependency problems with X11 libraries. * Closes #1555
Diffstat (limited to 'packages')
-rw-r--r--packages/fltk/fltk_1.1.7.bb28
1 files changed, 14 insertions, 14 deletions
diff --git a/packages/fltk/fltk_1.1.7.bb b/packages/fltk/fltk_1.1.7.bb
index 10b68ef017..dca48837a8 100644
--- a/packages/fltk/fltk_1.1.7.bb
+++ b/packages/fltk/fltk_1.1.7.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "http://www.fltk.org"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
-DEPENDS = "jpeg libpng zlib"
+PR= "r1"
+
+DEPENDS = "zlib jpeg libpng libxext libxft"
SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2"
@@ -11,26 +13,26 @@ S = "${WORKDIR}/fltk-${PV}"
inherit autotools binconfig
-EXTRA_OECONF = "--enable-shared --disable-gl --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}"
+EXTRA_OECONF = "--enable-shared --enable-xdbe --enable-xft --enable-gl --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}"
do_configure() {
oe_runconf
}
+do_stage() {
+ oe_runmake install prefix="${STAGING_DIR}" \
+ bindir="${STAGING_BINDIR}" \
+ includedir="${STAGING_INCDIR}" \
+ libdir="${STAGING_LIBDIR}" \
+ datadir="${STAGING_DATADIR}"
+}
+
do_install () {
- oe_runmake prefix="${D}${prefix}" \
+ oe_runmake install prefix="${D}${prefix}" \
bindir="${D}${bindir}" \
libdir="${D}${libdir}" \
includedir="${D}${includedir}" \
- install
-}
-
-do_stage() {
- oe_runmake install prefix=${STAGING_DIR} \
- bindir=${STAGING_BINDIR} \
- includedir=${STAGING_INCDIR} \
- libdir=${STAGING_LIBDIR} \
- datadir=${STAGING_DATADIR}
+ datadir="${STAGING_DATADIR}"
}
python populate_packages_prepend () {
@@ -39,5 +41,3 @@ python populate_packages_prepend () {
}
LEAD_SONAME = "libfltk.so"
-FILES_${PN} = "${libdir}/lib*.so.*"
-FILES_${PN}-dev += " ${bindir}/fltk-config"