mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
remove some more True options to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls. Fix a small number of cases not addressed by the original patch: http://git.openembedded.org/meta-openembedded/commit/?id=efd3696e70a6603f1a45faa4a172433514f0a487 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e79566f51d
commit
ebef449638
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
|
||||
DEPENDS = "mm-common glib-2.0 libsigc++-2.0"
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
|
||||
|
||||
SRC_URI = " \
|
||||
ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.xz \
|
||||
|
||||
@@ -6,7 +6,7 @@ SECTION = "libs"
|
||||
LICENSE = "LGPL-2.1+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 "
|
||||
|
||||
SHRT_VER = "${@d.getVar('PV',True).split('.')[0]}.${@d.getVar('PV',True).split('.')[1]}"
|
||||
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
|
||||
SRC_URI = "${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BP}.tar.xz \
|
||||
file://libxml++_ptest.patch \
|
||||
file://run-ptest \
|
||||
|
||||
@@ -22,8 +22,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
#def distro_feed_configs(d):
|
||||
# import bb
|
||||
# parchs = d.getVar( "PACKAGE_EXTRA_ARCHS", 1 ).split()
|
||||
# march = d.getVar( "MACHINE_ARCH", 1 ).split()
|
||||
# parchs = d.getVar("PACKAGE_EXTRA_ARCHS").split()
|
||||
# march = d.getVar("MACHINE_ARCH").split()
|
||||
# archs = [ "all" ] + parchs + march
|
||||
# confs = [ ( "${sysconfdir}/opkg/%s-feed.conf" % feed ) for feed in archs ]
|
||||
# return " ".join( confs )
|
||||
|
||||
@@ -18,7 +18,7 @@ do_configure_prepend() {
|
||||
done
|
||||
}
|
||||
|
||||
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
|
||||
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz"
|
||||
SRC_URI[md5sum] = "29ea6125e653d7e60b49a9a9544abc96"
|
||||
SRC_URI[sha256sum] = "4ad99ef937d071b4883c061df40bfe233f7649d50c354cf81235f180b4244399"
|
||||
|
||||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
|
||||
|
||||
DEPENDS = "mm-common cairomm glibmm pango"
|
||||
|
||||
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
|
||||
|
||||
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/pangomm/${SHRT_VER}/pangomm-${PV}.tar.xz"
|
||||
SRC_URI[md5sum] = "874eadd9434613dbacf0272c82c3ac23"
|
||||
|
||||
@@ -9,7 +9,7 @@ SECTION = "devel"
|
||||
|
||||
INC_PR = "r1"
|
||||
|
||||
URLV = "${@d.getVar('PV',1)[0:4]}.${@d.getVar('PV',1)[4:6]}.${@d.getVar('PV',1)[6:8]}"
|
||||
URLV = "${@d.getVar('PV')[0:4]}.${@d.getVar('PV')[4:6]}.${@d.getVar('PV')[6:8]}"
|
||||
SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \
|
||||
file://config.linux-cross"
|
||||
# only latest live version stays on http://www.live555.com/liveMedia/public/, add mirror for older
|
||||
|
||||
@@ -8,7 +8,7 @@ SECTION = "console/utils"
|
||||
DEPENDS = "ncurses file"
|
||||
RDEPENDS_${PN} = "ncurses-terminfo"
|
||||
|
||||
PV_MAJOR = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||
PV_MAJOR = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
|
||||
|
||||
SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=c933fba6d89fda89f58df1e086e3f2e7 \
|
||||
"
|
||||
SECTION = "libs"
|
||||
|
||||
LDAP_VER = "${@'.'.join(d.getVar('PV',1).split('.')[0:2])}"
|
||||
LDAP_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
|
||||
|
||||
SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \
|
||||
file://openldap-m4-pthread.patch \
|
||||
|
||||
@@ -14,7 +14,7 @@ SRCREV = "ec68a99464055029c01082762517e97245ddae0c"
|
||||
|
||||
S = "${WORKDIR}/git/src"
|
||||
|
||||
VIMDIR = "vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
|
||||
VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"
|
||||
|
||||
inherit autotools update-alternatives
|
||||
inherit autotools-brokensep
|
||||
|
||||
Reference in New Issue
Block a user