cairo: Add 1.3.6 from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1018 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
3321c7090f
commit
ccd102a746
|
@ -0,0 +1,6 @@
|
|||
|
||||
def get_cairo_fpu_setting(bb, d):
|
||||
if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
|
||||
return "--disable-some-floating-point"
|
||||
return ""
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
#This is a development snapshot, so lets hint OE to use the releases
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
SECTION = "libs"
|
||||
PRIORITY = "optional"
|
||||
DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender"
|
||||
DESCRIPTION = "Cairo graphics library"
|
||||
LICENSE = "MPL LGPL"
|
||||
|
||||
SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz"
|
||||
|
||||
#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
|
||||
require cairo-fpu.inc
|
||||
EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
Loading…
Reference in New Issue