mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
e79566f51d
commit
ebef449638
|
|
@ -22,7 +22,7 @@ SRC_URI[md5sum] = "f3f8052e7b4979a43b75775a381e6cb8"
|
|||
SRC_URI[sha256sum] = "e094f6fbf0afc5c5538b4894888e7c346f8ee8f49c9d24821dd696d0734865c6"
|
||||
|
||||
#want 3.x from 3.x.y for the installation directory
|
||||
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]}"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ DEPENDS = "gtk+ gnome-doc-utils"
|
|||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
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://download.gnome.org/sources/${BPN}/${SHRT_VER}/${BP}.tar.gz"
|
||||
|
||||
SRC_URI[md5sum] = "48db927c6e7ee1d5395f953a8c184c98"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ inherit gnomebase pkgconfig python-dir pythonnative gobject-introspection
|
|||
|
||||
BPN = "gnome-menus"
|
||||
|
||||
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 = "${GNOME_MIRROR}/${BPN}/${SHRT_VER}/${BPN}-${PV}.tar.xz"
|
||||
|
||||
SRC_URI[md5sum] = "6db025e79e2b69f39fc7aa0753f43081"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ SECTION = "x11/gnome/libs"
|
|||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
||||
SRC_NAME = "ORBit2"
|
||||
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 = " \
|
||||
${GNOME_MIRROR}/${SRC_NAME}/${SHRT_VER}/${SRC_NAME}-${PV}.tar.bz2 \
|
||||
file://configure-lossage.patch \
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ inherit autotools systemd
|
|||
# return something like '1.2.3' or '1.2.3/rc1'
|
||||
#
|
||||
def get_sub(d):
|
||||
parts = d.getVar('PV',True).split('-')
|
||||
parts = d.getVar('PV').split('-')
|
||||
try:
|
||||
return parts[0] + '/' + parts[1]
|
||||
except:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
|||
file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
#at least versions 2.15 and prior are moved to the archive folder on the server
|
||||
SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV',1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
|
||||
SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV').split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
|
||||
file://init \
|
||||
file://dnsmasq.conf \
|
||||
file://dnsmasq-resolvconf.service \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user