diff options
Diffstat (limited to 'recipes/liboil')
-rw-r--r-- | recipes/liboil/liboil-0.3.11/ppc-detect-fpu.patch | 11 | ||||
-rw-r--r-- | recipes/liboil/liboil-0.3.15/autotools.patch | 21 | ||||
-rw-r--r-- | recipes/liboil/liboil_0.3.10.bb | 11 | ||||
-rw-r--r-- | recipes/liboil/liboil_0.3.11.bb | 15 | ||||
-rw-r--r-- | recipes/liboil/liboil_0.3.14.bb | 17 | ||||
-rw-r--r-- | recipes/liboil/liboil_0.3.15.bb | 16 | ||||
-rw-r--r-- | recipes/liboil/liboil_0.3.9.bb | 11 |
7 files changed, 102 insertions, 0 deletions
diff --git a/recipes/liboil/liboil-0.3.11/ppc-detect-fpu.patch b/recipes/liboil/liboil-0.3.11/ppc-detect-fpu.patch new file mode 100644 index 0000000000..49485e3648 --- /dev/null +++ b/recipes/liboil/liboil-0.3.11/ppc-detect-fpu.patch @@ -0,0 +1,11 @@ +--- /m4/orig-as-gcc-inline-assembly.m4 2007-03-17 04:03:30.000000000 +0200 ++++ /m4/as-gcc-inline-assembly.m4 2007-11-20 12:20:24.000000000 +0200 +@@ -38,7 +38,7 @@ + [ + AC_MSG_CHECKING([if compiler supports FPU instructions on PowerPC]) + +- AC_TRY_COMPILE([], [__asm__ ("fadd 0,0,0"::) ], [flag_ok=yes], [flag_ok=no]) ++ AC_TRY_COMPILE([], [double x = 0; __asm__ ("fadd 0,0,0"::"f" (x):"32") ], [flag_ok=yes], [flag_ok=no]) + + if test "X$flag_ok" = Xyes ; then + $1 diff --git a/recipes/liboil/liboil-0.3.15/autotools.patch b/recipes/liboil/liboil-0.3.15/autotools.patch new file mode 100644 index 0000000000..53501e3991 --- /dev/null +++ b/recipes/liboil/liboil-0.3.15/autotools.patch @@ -0,0 +1,21 @@ +Index: liboil-0.3.15/configure.ac +=================================================================== +--- liboil-0.3.15.orig/configure.ac 2008-07-01 06:45:53.000000000 +0200 ++++ liboil-0.3.15/configure.ac 2008-09-25 13:44:18.633758105 +0200 +@@ -187,16 +187,6 @@ + true) + fi + +-if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then +- AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"], +- [VFP_CFLAGS="$VFP_CFLAGS -mfpu=vfp"], +- true) +- #AS_COMPILER_FLAG(["-Wa,-mfloat-abi=softfp"], +- # [VFP_CFLAGS="$VFP_CFLAGS -mfloat-abi=softfp"], +- # true) +-fi +-AC_SUBST(VFP_CFLAGS) +- + #AS_COMPILER_FLAG(["-fasm-blocks"], HAVE_ASM_BLOCKS=yes, HAVE_ASM_BLOCKS=no) + HAVE_ASM_BLOCKS=no + if test "x$HAVE_ASM_BLOCKS" = "xyes" diff --git a/recipes/liboil/liboil_0.3.10.bb b/recipes/liboil/liboil_0.3.10.bb new file mode 100644 index 0000000000..94471a26fc --- /dev/null +++ b/recipes/liboil/liboil_0.3.10.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +LICENSE = "various" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} diff --git a/recipes/liboil/liboil_0.3.11.bb b/recipes/liboil/liboil_0.3.11.bb new file mode 100644 index 0000000000..44b4b5e088 --- /dev/null +++ b/recipes/liboil/liboil_0.3.11.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +LICENSE = "various" +PR ="r2" + +DEPENDS = "glib-2.0" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ + file://ppc-detect-fpu.patch;patch=1" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} diff --git a/recipes/liboil/liboil_0.3.14.bb b/recipes/liboil/liboil_0.3.14.bb new file mode 100644 index 0000000000..ebbe6cfb97 --- /dev/null +++ b/recipes/liboil/liboil_0.3.14.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +LICENSE = "various" + +# The configure script seems to have bogus checks, so let's not make it the default +DEFAULT_PREFERENCE = "-1" + +DEPENDS = "glib-2.0" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ + " + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} diff --git a/recipes/liboil/liboil_0.3.15.bb b/recipes/liboil/liboil_0.3.15.bb new file mode 100644 index 0000000000..338121ac66 --- /dev/null +++ b/recipes/liboil/liboil_0.3.15.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +LICENSE = "various" +PR = "r2" + +DEPENDS = "glib-2.0" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ + file://autotools.patch;patch=1 \ + " + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} diff --git a/recipes/liboil/liboil_0.3.9.bb b/recipes/liboil/liboil_0.3.9.bb new file mode 100644 index 0000000000..94471a26fc --- /dev/null +++ b/recipes/liboil/liboil_0.3.9.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +LICENSE = "various" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} |