diff --git a/recipes-support/liblangtag/files/0001-configure.ac-add-missing-HAVE_INTROSPECTION-check.patch b/recipes-support/liblangtag/files/0001-configure.ac-add-missing-HAVE_INTROSPECTION-check.patch new file mode 100644 index 0000000..78dc07c --- /dev/null +++ b/recipes-support/liblangtag/files/0001-configure.ac-add-missing-HAVE_INTROSPECTION-check.patch @@ -0,0 +1,31 @@ +From 1da0e92dfee9d3ecaad6dc7aabf1a3bc466cb314 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 13 Mar 2016 12:05:40 +0100 +Subject: [PATCH 1/2] configure.ac: add missing HAVE_INTROSPECTION check +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 9773fa8..e090875 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -384,6 +384,8 @@ if test "x$enable_introspection" != "xyes"; then + has_gobject=no + fi + AM_CONDITIONAL(ENABLE_GOBJECT, test x$has_gobject != xno) ++AM_CONDITIONAL(HAVE_INTROSPECTION, test x$has_gobject != xno) ++ + m4_ifdef([GTK_DOC_CHECK], [ + GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) + ],[ +-- +2.5.0 + diff --git a/recipes-support/liblangtag/files/0002-configure.ac-remove-untranslated-AX_CHECK_ENABLE_DEB.patch b/recipes-support/liblangtag/files/0002-configure.ac-remove-untranslated-AX_CHECK_ENABLE_DEB.patch new file mode 100644 index 0000000..5354158 --- /dev/null +++ b/recipes-support/liblangtag/files/0002-configure.ac-remove-untranslated-AX_CHECK_ENABLE_DEB.patch @@ -0,0 +1,31 @@ +From 0efc6ebe13ec12599ba05c587e58fb249d569f6c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 13 Mar 2016 12:37:43 +0100 +Subject: [PATCH 2/2] configure.ac: remove untranslated AX_CHECK_ENABLE_DEBUG + macro +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index e090875..e177c46 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -18,7 +18,6 @@ AM_MAINTAINER_MODE + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4macros]) + +-AX_CHECK_ENABLE_DEBUG([no], [ENABLE_DEBUG]) + AM_CONDITIONAL(ENABLE_DEBUG, test $ax_enable_debug = yes) + + AC_USE_SYSTEM_EXTENSIONS +-- +2.5.5 + diff --git a/recipes-support/liblangtag/liblangtag_0.6.0.bb b/recipes-support/liblangtag/liblangtag_0.6.0.bb new file mode 100644 index 0000000..326a829 --- /dev/null +++ b/recipes-support/liblangtag/liblangtag_0.6.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "An interface library to access tags for identifying languages" +HOMEPAGE = "http://tagoh.bitbucket.org/liblangtag/" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=815ca599c9df247a0c7f619bab123dad \ +" + +SRC_URI = " \ + https://bitbucket.org/tagoh/${BPN}/downloads/${BPN}-${PV}.tar.bz2 \ + file://0001-configure.ac-add-missing-HAVE_INTROSPECTION-check.patch \ + file://0002-configure.ac-remove-untranslated-AX_CHECK_ENABLE_DEB.patch \ +" +SRC_URI[md5sum] = "dcd7a845a8a9b57ca96eb04a29083246" +SRC_URI[sha256sum] = "df84efd7e3e67cc8a38ece1e23f080c70ea29b26590ee324d03f1df37bf46576" + +inherit autotools pkgconfig + +# broken +EXTRA_OECONF += "--disable-introspection" + +# Even though introspection is disabled , gobject-introspection package is still +# needed for m4 macros. +DEPENDS += "gobject-introspection" + +BBCLASSEXTEND = "native"