diff options
Diffstat (limited to 'meta/recipes-support/liboil')
-rw-r--r-- | meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch | 22 | ||||
-rw-r--r-- | meta/recipes-support/liboil/liboil_0.3.17.bb | 20 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch b/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch new file mode 100644 index 000000000..00cf5d743 --- /dev/null +++ b/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch @@ -0,0 +1,22 @@ +--- liboil-0.3.9/liboil/liboilfunction.c.old 2006-09-18 13:03:20.000000000 +0100 ++++ liboil-0.3.9/liboil/liboilfunction.c 2006-09-18 13:04:10.000000000 +0100 +@@ -345,7 +345,9 @@ + return; + } + +- test = oil_test_new (klass); ++ klass->chosen_impl = klass->reference_impl; ++ klass->func = klass->reference_impl->func; ++/* test = oil_test_new (klass); + if (test == NULL) { + OIL_ERROR ("failed to test function class %s", klass->name); + return; +@@ -385,7 +387,7 @@ + klass->chosen_impl = min_impl; + klass->func = min_impl->func; + +- oil_test_free (test); ++ oil_test_free (test);*/ + } + + static void diff --git a/meta/recipes-support/liboil/liboil_0.3.17.bb b/meta/recipes-support/liboil/liboil_0.3.17.bb new file mode 100644 index 000000000..8ba303069 --- /dev/null +++ b/meta/recipes-support/liboil/liboil_0.3.17.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +BUGTRACKER = "https://bugs.freedesktop.org/" + +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=ad80780d9c5205d63481a0184e199a15 \ + file://liboil/liboil.h;endline=28;md5=95c794a66b88800d949fed17e437d9fb \ + file://liboil/liboilcpu.c;endline=28;md5=89da69a61d88eedcba066f42353fb75a \ + file://examples/example1.c;endline=29;md5=9d4dad9fcbbdf0441ee063f8af5170c9 \ + file://testsuite/trans.c;endline=29;md5=380ecd43121fe3dcc0d8d7e5984f283d" + +DEPENDS = "glib-2.0" +PR = "r2" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ + file://no-tests.patch;patch=1" + +inherit autotools pkgconfig + +ARM_INSTRUCTION_SET = "arm" |