diff options
| author | Ross Burton <ross.burton@intel.com> | 2018-09-21 10:56:56 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-21 18:45:47 -0700 |
| commit | f7fd5de4cfb4a2f3e8c74bc95e215549f227f37c (patch) | |
| tree | 47c22cf7438b159d52f9884d7c35c120d6fdd2c9 /meta/classes/clutter.bbclass | |
| parent | aa9dfaca063a7e5de6baab33044e6eceff2d3908 (diff) | |
| download | poky-f7fd5de4cfb4a2f3e8c74bc95e215549f227f37c.tar.gz | |
clutter: simplify SRC_URI
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>
Diffstat (limited to 'meta/classes/clutter.bbclass')
| -rw-r--r-- | meta/classes/clutter.bbclass | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/clutter.bbclass b/meta/classes/clutter.bbclass index f5cd04f97f..8550363bdf 100644 --- a/meta/classes/clutter.bbclass +++ b/meta/classes/clutter.bbclass | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | |||
| 2 | def get_minor_dir(v): | 1 | def get_minor_dir(v): |
| 3 | import re | 2 | import re |
| 4 | m = re.match("^([0-9]+)\.([0-9]+)", v) | 3 | m = re.match("^([0-9]+)\.([0-9]+)", v) |
| @@ -12,11 +11,7 @@ def get_real_name(n): | |||
| 12 | VERMINOR = "${@get_minor_dir("${PV}")}" | 11 | VERMINOR = "${@get_minor_dir("${PV}")}" |
| 13 | REALNAME = "${@get_real_name("${BPN}")}" | 12 | REALNAME = "${@get_real_name("${BPN}")}" |
| 14 | 13 | ||
| 15 | CLUTTER_SRC_FTP = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive" | 14 | SRC_URI = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive" |
| 16 | |||
| 17 | CLUTTER_SRC_GIT = "git://gitlab.gnome.org/GNOME/${REALNAME};protocol=https" | ||
| 18 | |||
| 19 | SRC_URI = "${CLUTTER_SRC_FTP}" | ||
| 20 | S = "${WORKDIR}/${REALNAME}-${PV}" | 15 | S = "${WORKDIR}/${REALNAME}-${PV}" |
| 21 | 16 | ||
| 22 | inherit autotools pkgconfig gtk-doc gettext | 17 | inherit autotools pkgconfig gtk-doc gettext |
