diff options
author | Marko Lindqvist <cazfi74@gmail.com> | 2013-08-16 11:06:11 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-20 15:31:24 +0100 |
commit | 2cdfd0909ba6c6ebfb60689647d6f993b3b4f37f (patch) | |
tree | 5866659c6a401894de2838f3a78a3a927d90691f | |
parent | 8b075050e4889e0a06d6d7d01b28b8645d2f2af5 (diff) | |
download | poky-2cdfd0909ba6c6ebfb60689647d6f993b3b4f37f.tar.gz |
glib-2.0: use trim_version() to get the source directory
(From OE-Core rev: 0c510da33a0a1a7b0bee8ce9caaf028e1235c291)
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb index 1f784bdcb8..1faa239af2 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.36.3.bb | |||
@@ -6,7 +6,7 @@ DEPENDS += "libffi zlib" | |||
6 | DEPENDS_class-native += "libffi-native" | 6 | DEPENDS_class-native += "libffi-native" |
7 | DEPENDS_class-nativesdk += "nativesdk-libffi nativesdk-zlib ${BPN}-native" | 7 | DEPENDS_class-nativesdk += "nativesdk-libffi nativesdk-zlib ${BPN}-native" |
8 | 8 | ||
9 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | 9 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
10 | 10 | ||
11 | SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | 11 | SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ |
12 | file://configure-libtool.patch \ | 12 | file://configure-libtool.patch \ |