mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Clutter and cogl no longer use --with-fpu configure option, so we no longer require the get_fpu_settings() function. (From OE-Core rev: ea59330c48cdb7d7106deea3f19c043ba60c23e4) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
792 B
Plaintext
24 lines
792 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}")}"
|
|
FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALNAME}-${PV}", "${FILE_DIRNAME}/${REALNAME}-${VERMINOR}", "${FILE_DIRNAME}/${REALNAME}", "${FILE_DIRNAME}/files"], d)}"
|
|
|
|
CLUTTER_SRC_FTP = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
|
|
|
|
CLUTTER_SRC_GIT = "git://git.gnome.org/${REALNAME};protocol=git"
|
|
|
|
SRC_URI = "${CLUTTER_SRC_FTP}"
|
|
S = "${WORKDIR}/${REALNAME}-${PV}"
|
|
|
|
inherit autotools pkgconfig gtk-doc gettext
|