Commit 1f5058ad authored by Matthieu Tanon's avatar Matthieu Tanon

Add variable to choose stable or head submodules

parent eb68c810
......@@ -4,7 +4,20 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "dbfc16402db47558ef97090b302715e3556c15b2"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '640cea0528fecef1c649c8b82575ed41b8976067')
}
# For visualisation
python () {
print("")
print("flexisip")
print(d.getVar('SRCREV', True))
}
SRC_URI = "git://git.linphone.org/flexisip.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -2,8 +2,22 @@ require sofia-sip.inc
PR = "${INC_PR}.0"
SRCREV = "97c1824a4769c34add85e6ff306bf3aa34116c75"
SRC_URI = "git://git.linphone.org/sofia-sip.git;nobranch=1"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '97c1824a4769c34add85e6ff306bf3aa34116c75')
}
# For visualisation
python () {
print("")
print("sofia-sip")
print(d.getVar('SRCREV', True))
}
#SRCREV = "97c1824a4769c34add85e6ff306bf3aa34116c75"
SRC_URI = "git://git.linphone.org/sofia-sip.git;branch=bc"
PV = "git_${SRCREV}"
LIC_FILES_CHKSUM= "file://COPYING;md5=03068f550c635f6520e0f0252da412fc"
......@@ -4,7 +4,20 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "9ada79d7ff53815e85432e7442810a2fd49dbd0e"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '9ada79d7ff53815e85432e7442810a2fd49dbd0e')
}
# For visualisation
python () {
print("")
print("bcg729")
print(d.getVar('SRCREV', True))
}
SRC_URI = "git://git.linphone.org/bcg729.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -3,7 +3,22 @@ require bctoolbox.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "01285f4b49e4c06534058aa80dc6e9567cca9b16"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '01285f4b49e4c06534058aa80dc6e9567cca9b16')
}
# For visualisation
python () {
print("")
print("bctoolbox")
print(d.getVar('SRCREV', True))
}
#SRCREV = "01285f4b49e4c06534058aa80dc6e9567cca9b16"
#SRCREV = "74918554d02e66e2fb1df0bbedcf7f19a7266584"
SRC_URI = "git://git.linphone.org/bctoolbox.git;commit=${SRCREV}"
PV = "git_${SRCREV}"
......
......@@ -2,8 +2,20 @@ require bcunit.inc
PR = "${INC_PR}.0"
SRCREV = "d8d2f4b40209e06b400f893cce58e4c6ba73341d"
#SRCREV = "6ce00eae4ca20ab284e17a88d8c7089bddb84ef0"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'd8d2f4b40209e06b400f893cce58e4c6ba73341d')
}
# For visualisation
python () {
print("")
print("bcunit")
print(d.getVar('SRCREV', True))
}
SRC_URI = "git://git.linphone.org/bcunit.git;nobranch=1"
PV = "git_${SRCREV}"
......
......@@ -4,7 +4,19 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "b9e1951be4575c62e326d761a7f7c79c5cce9cb9"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'b9e1951be4575c62e326d761a7f7c79c5cce9cb9')
}
# For visualisation
python () {
print("")
print("belcard")
print(d.getVar('SRCREV', True))
}
SRC_URI = "git://git.linphone.org/belcard.git"
PV = "git_${SRCREV}"
......
......@@ -3,7 +3,21 @@ require belle-sip.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "d8c5e9e08b3bd6640898e46850333f1ad900c8d2"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'd8c5e9e08b3bd6640898e46850333f1ad900c8d2')
}
# For visualisation
python () {
print("")
print("belle-sip")
print(d.getVar('SRCREV', True))
}
#SRCREV = "c840e2192b2d0151cc895b844e44bfe0d2103fcf"
SRC_URI = "git://git.linphone.org/belle-sip.git;commit=${SRCREV}"
PV = "git_${SRCREV}"
......
......@@ -16,5 +16,10 @@ FILES_${PN}-dev = " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.a \
${prefix}/share/Belr"
${prefix}/share/Belr \
${datadir}/belr-tester/res \
${datadir}/belr-tester/res/sipgrammar.txt \
${datadir}/belr-tester/res/response.txt \
${datadir}/belr-tester/res/vcardgrammar.txt \
${datadir}/belr-tester/res/basicgrammar.txt \
${datadir}/belr-tester/res/register.txt"
......@@ -4,7 +4,20 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "fdce52526089e88c98f19b0d36483cc3d31ef9bd"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'fdce52526089e88c98f19b0d36483cc3d31ef9bd')
}
# For visualisation
python () {
print("")
print("belr")
print(d.getVar('SRCREV', True))
}
#SRCREV = "4f32b9c29c4ab8c4ccfc1e0899019a811d495054"
SRC_URI = "git://git.linphone.org/belr.git"
PV = "git_${SRCREV}"
......
......@@ -4,7 +4,20 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "1ab274fa74f889769a656a7650f7aca5ea48679c"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '1ab274fa74f889769a656a7650f7aca5ea48679c')
}
# For visualisation
python () {
print("")
print("bzrtp")
print(d.getVar('SRCREV', True))
}
#SRCREV = "37adaa0536432149a51332d8eb04973a3ba6bac9"
SRC_URI = "git://git.linphone.org/bzrtp.git"
PV = "git_${SRCREV}"
......
......@@ -4,8 +4,20 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "${AUTOREV}"
#SRCREV = "ce584992480cf7463e9d0b8be3870d62ee43baaf"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'a858005cab82ff270eeb4104637abc52d10c1441')
}
# For visualisation
python () {
print("")
print("linphone")
print(d.getVar('SRCREV', True))
}
#SRCREV = "7e2a6a56fa6a70a6ec3875cea26f1f1e17910917"
SRC_URI = "git://git.linphone.org/linphone.git"
PV = "git_${SRCREV}"
......
......@@ -4,7 +4,23 @@ inherit gitpkgv
PR = "${INC_PR}.0"
#python () {
# if d.getVar('LATEST_REVISIONS', True) == "1":
# d.setVar('SRCREV', '${AUTOREV}')
# else:
# d.setVar('SRCREV', '0a2143130e90fe6ef35129931b3fd98d40daa195')
#}
# Use at least this commit to fix compilation error
SRCREV = "eb2af04948a1a0e0f3384f0e46c3513b0aa51e95"
# For visualisation
python () {
print("")
print("mediastreamer2")
print(d.getVar('SRCREV', True))
}
#SRCREV = "1afe5d921a30b8dc2dffb8838e600b4bf97e623d"
SRC_URI = "git://git.linphone.org/mediastreamer2.git"
PV = "git_${SRCREV}"
......
PR = "r2"
SRC_URI = "git://git.linphone.org/msamr.git;protocol=git"
SRCREV = "dd3b2d0a767421c4c7e9b8cf28fe9d2ca5c8a45b"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'dd3b2d0a767421c4c7e9b8cf28fe9d2ca5c8a45b')
}
# For visualisation
python () {
print("")
print("msamr+wb")
print(d.getVar('SRCREV', True))
}
#SRCREV = "6ed342ed00526c21e85f8a06538fe3da2c7a24f4"
SRC_URI = "git://git.linphone.org/msamr.git;protocol=git"
S = "${WORKDIR}/git"
OVERRIDES_append = ":wideband"
......
PR = "r3"
SRC_URI = "git://git.linphone.org/msamr.git;protocol=git"
SRCREV = "207ab85b81fc3d4dda75ee460f4a3107da7e14bc"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '207ab85b81fc3d4dda75ee460f4a3107da7e14bc')
}
# For visualisation
python () {
print("")
print("msamr")
print(d.getVar('SRCREV', True))
}
#SRCREV = "6ed342ed00526c21e85f8a06538fe3da2c7a24f4"
SRC_URI = "git://git.linphone.org/msamr.git;protocol=git"
S = "${WORKDIR}/git"
require msamr-common.inc
require msopenh264.inc
PR = "r1"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '6576402007f7c941355db6d2bee039f9f93d6cd5')
}
# For visualisation
python () {
print("")
print("msopenh264")
print(d.getVar('SRCREV', True))
}
#SRCREV = "6576402007f7c941355db6d2bee039f9f93d6cd5"
SRC_URI = "git://git.linphone.org/msopenh264.git;protocol=git"
SRCREV = "6576402007f7c941355db6d2bee039f9f93d6cd5"
S = "${WORKDIR}/git"
require openh264_1.5.1.inc
PR = "r0"
SRCREV = "2610ab183249aee91862d2ad065f61db89107b34"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '2610ab183249aee91862d2ad065f61db89107b34')
}
# For visualisation
python () {
print("")
print("openh264_1.5.1")
print(d.getVar('SRCREV', True))
}
#SRCREV = "2610ab183249aee91862d2ad065f61db89107b34"
SRC_URI = "git://github.com/cisco/openh264.git;protocol=https;branch=openh264v1.5.1"
......
PR = "r3"
SRC_URI = "gitsm://git.linphone.org/mswebrtc.git;protocol=git"
SRCREV = "19814348807cdab7f13637993a05a696f47685eb"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '19814348807cdab7f13637993a05a696f47685eb')
}
# For visualisation
python () {
print("")
print("mswebrtc")
print(d.getVar('SRCREV', True))
}
S = "${WORKDIR}/git"
require mswebrtc-common.inc
......@@ -4,7 +4,20 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "4cea5e6e7b6da329030b4f34b66a6168b864bb1d"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', '4cea5e6e7b6da329030b4f34b66a6168b864bb1d')
}
# For visualisation
python () {
print("")
print("ortp")
print(d.getVar('SRCREV', True))
}
#SRCREV = "5f8fcddce392f1510768949a4691f9e8c170badb"
SRC_URI = "git://git.linphone.org/ortp.git"
PV = "git_${SRCREV}"
......
......@@ -2,8 +2,24 @@ require tunnel.inc
PR = "${INC_PR}.0"
SRCREV = "fbf1f7bc516cfbfa9b2eacb950b9d6c245c893fe"
python () {
if d.getVar('LATEST_REVISIONS', True) == "1":
d.setVar('SRCREV', '${AUTOREV}')
else:
d.setVar('SRCREV', 'fbf1f7bc516cfbfa9b2eacb950b9d6c245c893fe')
}
# For visualisation
python () {
print("")
print("LATEST_REVISIONS")
print(d.getVar('LATEST_REVISIONS', True))
print("")
print("tunnel")
print(d.getVar('SRCREV', True))
}
SRC_URI="git://gitosis@git.linphone.org/tunnel.git;protocol=ssh"
PV = "git_${SRCREV}"
LIC_FILES_CHKSUM = "file://COPYING;md5=9e80ca1f0c7e7714af7d4fcd401e9c45"
\ No newline at end of file
LIC_FILES_CHKSUM = "file://COPYING;md5=9e80ca1f0c7e7714af7d4fcd401e9c45"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment