From 3ec6fa5f0b312f7d1be9e0a8d7f587591834d5e5 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Sun, 22 Mar 2009 09:57:20 -0400 Subject: qwo : Add new recipe for qwo. * qwo is an input method for text on hand-held devices. --- recipes/qwo/qwo-0.4/check_lib.patch | 20 ++++++++++++++++++++ recipes/qwo/qwo_0.4.bb | 16 ++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 recipes/qwo/qwo-0.4/check_lib.patch create mode 100644 recipes/qwo/qwo_0.4.bb (limited to 'recipes/qwo') diff --git a/recipes/qwo/qwo-0.4/check_lib.patch b/recipes/qwo/qwo-0.4/check_lib.patch new file mode 100644 index 0000000000..c22ec20312 --- /dev/null +++ b/recipes/qwo/qwo-0.4/check_lib.patch @@ -0,0 +1,20 @@ +diff --git a/configure.ac b/configure.ac +index 8a66f96..61063a9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -19,15 +19,7 @@ AC_CHECK_LIB(config, config_read) + + dnl Check for imlib2 library + +-AC_PATH_PROG(IMLIB2_CONFIG, imlib2-config, no) +- +-if test "$IMLIB2_CONFIG" = "no" ; then +- AC_MSG_ERROR([ +-*** Unable to find Imlib2 library.]) +-else +- CFLAGS="$CFLAGS `$IMLIB2_CONFIG --cflags`" +- LIBS="$LIBS `$IMLIB2_CONFIG --libs`" +-fi ++AC_CHECK_LIB(Imlib2, imlib_create_image) + + dnl Check for help2man diff --git a/recipes/qwo/qwo_0.4.bb b/recipes/qwo/qwo_0.4.bb new file mode 100644 index 0000000000..03ce7d6a88 --- /dev/null +++ b/recipes/qwo/qwo_0.4.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "qwo virtual keyboard" +AUTHOR = "Charles Clement" +HOMEPAGE = "http://www.nongnu.org/qwo/" +SECTION = "x11" +PRIORITY = "optional" +LICENSE = "GPLv2" +DEPENDS = "libxtst libxext virtual/imlib2 libconfig" +RDEPENDS += "imlib2-loaders" +PV = "0.4" +PR = "r0" + +SRC_URI = "http://download.savannah.nongnu.org/releases/qwo/qwo-${PV}.tar.gz \ + file://check_lib.patch;patch=1 \ + " + +inherit autotools -- cgit 1.2.3-korg