mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-13 22:05:27 +01:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 lines
564 B
Plaintext
19 lines
564 B
Plaintext
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 = "${UNPACKDIR}/${REALNAME}-${PV}"
|
|
|
|
CLUTTERBASEBUILDCLASS ??= "autotools"
|
|
inherit ${CLUTTERBASEBUILDCLASS} pkgconfig gtk-doc gettext
|