mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
The Clutter class's ability to switch between tarballs and git isn't really useful, so remove it. If it comes back, it should use the devupstream class. (From OE-Core rev: 6150ec737bad895b9fb62f711449a259887ebd1b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
507 B
Plaintext
18 lines
507 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}")}"
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
|
|
S = "${WORKDIR}/${REALNAME}-${PV}"
|
|
|
|
inherit autotools pkgconfig gtk-doc gettext
|