fltk: update to 1.1.9 and make it build again
authorHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 6 Jun 2008 14:38:01 +0000 (14:38 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 6 Jun 2008 14:38:01 +0000 (14:38 +0000)
* make fltk build again
* disable test-dir for now and until we fixed that fluid is build natvie
* commit makes bug 430 invalid

packages/fltk/files/.mtn2git_empty [new file with mode: 0644]
packages/fltk/files/disable_test.patch [new file with mode: 0644]
packages/fltk/fltk_1.1.9.bb [new file with mode: 0644]

diff --git a/packages/fltk/files/.mtn2git_empty b/packages/fltk/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/fltk/files/disable_test.patch b/packages/fltk/files/disable_test.patch
new file mode 100644 (file)
index 0000000..8c01a1f
--- /dev/null
@@ -0,0 +1,13 @@
+Index: fltk-1.1.9/Makefile
+===================================================================
+--- fltk-1.1.9.orig/Makefile   2008-06-06 16:14:11.936736201 +0200
++++ fltk-1.1.9/Makefile        2008-06-06 16:14:22.526357637 +0200
+@@ -27,7 +27,7 @@
+ include makeinclude
+-DIRS  =       $(IMAGEDIRS) src fluid test documentation
++DIRS  =       $(IMAGEDIRS) src fluid documentation
+ all: makeinclude fltk-config
+       for dir in $(DIRS); do\
diff --git a/packages/fltk/fltk_1.1.9.bb b/packages/fltk/fltk_1.1.9.bb
new file mode 100644 (file)
index 0000000..a2c5dcb
--- /dev/null
@@ -0,0 +1,35 @@
+DESCRIPTION = "FLTK is a cross-platform C++ GUI toolkit"
+HOMEPAGE = "http://www.fltk.org"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
+PR = "r0"
+
+SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \
+          file://disable_test.patch;patch=1 \
+         "
+
+S = "${WORKDIR}/fltk-${PV}"
+
+inherit lib_package autotools binconfig
+
+EXTRA_OECONF = "--enable-shared \
+               --enable-threads \
+               --enable-xdbe --enable-xft --enable-gl \
+               --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}"
+
+do_configure() {
+        oe_runconf
+}
+
+do_stage() {
+       autotools_stage_all
+}
+
+python populate_packages_prepend () {
+        if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
+                bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d)
+}
+
+LEAD_SONAME = "libfltk.so"