meta-gnome: add Cogl/Clutter from oe-core

Nothing in openembedded-core needs Clutter now, and Clutter is abandoned
upstream.  Move it to meta-gnome as there are still a few users of
Clutter in Gnome.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2021-05-26 15:36:04 +01:00
committed by Khem Raj
parent ba8309fbb7
commit 4b61758929
17 changed files with 606 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
def get_minor_dir(v):
import re
m = re.match(r"^([0-9]+)\.([0-9]+)", v)
return "%s.%s" % (m.group(1), m.group(2))
def get_real_name(n):
import re
m = re.match(r"^([a-z]+(-[a-z]+)?)(-[0-9]+\.[0-9]+)?", n)
return "%s" % (m.group(1))
VERMINOR = "${@get_minor_dir("${PV}")}"
REALNAME = "${@get_real_name("${BPN}")}"
SRC_URI = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
S = "${WORKDIR}/${REALNAME}-${PV}"
CLUTTERBASEBUILDCLASS ??= "autotools"
inherit ${CLUTTERBASEBUILDCLASS} pkgconfig gtk-doc gettext