[meta-oe,2/2] smarty: Upgrade to 4.1.0

Message ID 20220211174628.2525008-2-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] libjs-jquery-icheck: Use hardcoded SHA for srcrev | expand

Commit Message

Khem Raj Feb. 11, 2022, 5:46 p.m. UTC
Changes are here [1]

[1] https://github.com/smarty-php/smarty/releases/tag/v4.1.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../smarty/{smarty_3.1.39.bb => smarty_4.1.0.bb}           | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/smarty/{smarty_3.1.39.bb => smarty_4.1.0.bb} (90%)

Patch

diff --git a/meta-oe/recipes-support/smarty/smarty_3.1.39.bb b/meta-oe/recipes-support/smarty/smarty_4.1.0.bb
similarity index 90%
rename from meta-oe/recipes-support/smarty/smarty_3.1.39.bb
rename to meta-oe/recipes-support/smarty/smarty_4.1.0.bb
index c5b09a0c50..85676e4902 100644
--- a/meta-oe/recipes-support/smarty/smarty_3.1.39.bb
+++ b/meta-oe/recipes-support/smarty/smarty_4.1.0.bb
@@ -5,11 +5,11 @@  HOMEPAGE = "https://www.smarty.net/"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
 
-DEPENDS = "php"
+DEPENDS += "php"
 
-SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;tag=v${PV};branch=master"
+SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master"
 
-FILES:${PN} = "${datadir}/php/smarty3/"
+SRCREV = "9e0536de18b53ba193364291ef0303b0ab9903e1"
 
 S = "${WORKDIR}/git"
 
@@ -23,3 +23,4 @@  do_install() {
         install -d ${D}${datadir}/php/smarty3/libs/sysplugins
         install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/
 }
+FILES:${PN} = "${datadir}/php/smarty3/"