summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-09-02 11:03:51 +0000
committerKoen Kooi <koen@openembedded.org>2006-09-02 11:03:51 +0000
commit1889b0da866ccdf181791654958f8f0b593f0eb0 (patch)
treea84b27d6a08e06b16de5afea5b2b1de634fd2e1b
parentd676aacf9d7461fc140131ad65a6871689e66f38 (diff)
imlib: add 1.9.15
-rw-r--r--packages/imlib/.mtn2git_empty0
-rw-r--r--packages/imlib/files/.mtn2git_empty0
-rw-r--r--packages/imlib/files/configure.patch31
-rw-r--r--packages/imlib/imlib_1.9.15.bb20
4 files changed, 51 insertions, 0 deletions
diff --git a/packages/imlib/.mtn2git_empty b/packages/imlib/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/imlib/.mtn2git_empty
diff --git a/packages/imlib/files/.mtn2git_empty b/packages/imlib/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/imlib/files/.mtn2git_empty
diff --git a/packages/imlib/files/configure.patch b/packages/imlib/files/configure.patch
new file mode 100644
index 0000000000..90879c15ee
--- /dev/null
+++ b/packages/imlib/files/configure.patch
@@ -0,0 +1,31 @@
+--- /tmp/configure.in 2006-09-02 12:44:16.000000000 +0200
++++ imlib-1.9.15/configure.in 2006-09-02 12:44:22.975780000 +0200
+@@ -43,19 +43,6 @@
+ oCFLAGS="$CFLAGS"
+ LIBS="$LIBS `glib-config --libs gmodule`"
+ CFLAGS="$CFLAGS `glib-config --cflags gmodule`"
+- AC_TRY_RUN([
+-#include <glib.h>
+-#include <gmodule.h>
+-main ()
+-{
+- if (g_module_supported ())
+- exit (0);
+- else
+- exit (1);
+-}
+-], dynworks=true)
+- LIBS="$oLIBS"
+- CFLAGS="$oCFLAGS"
+ fi
+
+ dnl Now we check to see if our libtool supports shared lib deps
+@@ -141,7 +128,7 @@
+ fi
+ AC_SUBST(GX_LIBS)
+
+-CPPFLAGS="$CPPFLAGS -I$includedir -I$prefix/include"
++CPPFLAGS="$CPPFLAGS"
+
+ SUPPORT_LIBS=""
+
diff --git a/packages/imlib/imlib_1.9.15.bb b/packages/imlib/imlib_1.9.15.bb
new file mode 100644
index 0000000000..da96736958
--- /dev/null
+++ b/packages/imlib/imlib_1.9.15.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Image loading library"
+LICENSE = "GPLv2"
+DEPENDS = "gtk+-1.2 jpeg tiff libpng libungif"
+
+inherit gnome binconfig
+
+SRC_URI += "file://configure.patch;patch=1"
+
+EXTRA_OECONF = " --enable-modules \
+ --disable-gtktest \
+ ac_cv_dynworks=true \
+ "
+
+do_stage() {
+ install -m 644 Imlib/*.h ${STAGING_INCDIR}
+ install -m 644 gdk_imlib/*.h ${STAGING_INCDIR}
+ oe_libinstall -a -so -C Imlib libImlib ${STAGING_LIBDIR}
+ oe_libinstall -a -so -C gdk_imlib libgdk_imlib ${STAGING_LIBDIR}
+}
+