mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
git.gnome.org is no more. It has ceased to be. It's an ex-git. Please see here: https://about.gitlab.com/2018/05/31/welcome-gnome-to-gitlab/ Note that gitlab does not support git://, only https:// (and ssh). [Commit message from Alexander Kanavin] (From OE-Core rev: 8382cdc0888ca645a44aacaac1155afb8dcde979) (From OE-Core rev: d40c87b003b290a1739039156b27f194f68f12c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Fixup for sumo context] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
625 B
Plaintext
23 lines
625 B
Plaintext
|
|
def get_minor_dir(v):
|
|
import re
|
|
m = re.match("^([0-9]+)\.([0-9]+)", v)
|
|
return "%s.%s" % (m.group(1), m.group(2))
|
|
|
|
def get_real_name(n):
|
|
import re
|
|
m = re.match("^([a-z]+(-[a-z]+)?)(-[0-9]+\.[0-9]+)?", n)
|
|
return "%s" % (m.group(1))
|
|
|
|
VERMINOR = "${@get_minor_dir("${PV}")}"
|
|
REALNAME = "${@get_real_name("${BPN}")}"
|
|
|
|
CLUTTER_SRC_FTP = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
|
|
|
|
CLUTTER_SRC_GIT = "git://gitlab.gnome.org/GNOME/${REALNAME};protocol=https"
|
|
|
|
SRC_URI = "${CLUTTER_SRC_FTP}"
|
|
S = "${WORKDIR}/${REALNAME}-${PV}"
|
|
|
|
inherit autotools pkgconfig gtk-doc gettext
|