mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
cogl: Add git recipe (required by clutter)
(From OE-Core rev: 00545a358fb1fd29a9dd7a77ee54eaf303f41493) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "Clutter graphics library"
|
||||
HOMEPAGE = "http://www.clutter-project.org/"
|
||||
LICENSE = "LGPL"
|
||||
|
||||
STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gdk-pixbuf libxi"
|
||||
BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)}"
|
||||
|
||||
DEPENDS = "${STDDEPENDS} virtual/libgl"
|
||||
EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/clutter"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc gettext
|
||||
|
||||
#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
|
||||
require clutter-fpu.inc
|
||||
|
||||
#Fix up some weirdness in the docs
|
||||
do_configure_prepend() {
|
||||
sed -i s:doc/reference/Makefile::g ${S}/configure.ac
|
||||
sed -i s:doc::g ${S}/Makefile.am
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
require cogl.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
|
||||
|
||||
SRCREV = "0a70a159c65357809740971570b2e301451161b5"
|
||||
PV = "1.8.0+git${SRCPV}"
|
||||
PR = "r0"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
SRC_URI = "git://git.gnome.org/cogl;protocol=git;branch=master"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
AUTOTOOLS_AUXDIR = "${S}/build"
|
||||
|
||||
do_configure_prepend () {
|
||||
# Disable DOLT
|
||||
sed -i -e 's/^DOLT//' ${S}/configure.ac
|
||||
}
|
||||
Reference in New Issue
Block a user