[meta-oe,1/2] gammu: upgrade 1.32.0 -> 1.42.0

Message ID 20220114032006.2521012-1-tim.orling@konsulko.com
State New
Headers show
Series [meta-oe,1/2] gammu: upgrade 1.32.0 -> 1.42.0 | expand

Commit Message

Tim Orling Jan. 14, 2022, 3:20 a.m. UTC
For changes, see https://wammu.eu/news/gammu/

* Update HOMEPAGE to https://wammu.eu/
* Update download URL
* python-gammu is now a separate code base

License-Update: whitespace changes

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../{gammu_1.32.0.bb => gammu_1.42.0.bb}      | 22 +++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)
 rename meta-oe/recipes-connectivity/gammu/{gammu_1.32.0.bb => gammu_1.42.0.bb} (75%)

Patch

diff --git a/meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb b/meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb
similarity index 75%
rename from meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb
rename to meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb
index c355dadf0..ce78fdeb1 100644
--- a/meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb
+++ b/meta-oe/recipes-connectivity/gammu/gammu_1.42.0.bb
@@ -1,19 +1,21 @@ 
 SUMMARY = "GNU All Mobile Managment Utilities"
 SECTION = "console/network"
-DEPENDS = "cmake-native virtual/libiconv libdbi mysql5 glib-2.0 udev libgudev unixodbc"
 LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
-HOMEPAGE = "http://www.gammu.org/"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+HOMEPAGE = "https://wammu.eu/"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}.tar.bz2 \
+SRC_URI = "https://dl.cihar.com/${BPN}/releases/${BP}.tar.xz \
     file://gammurc \
     file://gammu-smsdrc \
 "
 
-SRC_URI[md5sum] = "8ea16c6b3cc48097a8e62311fe0e25b9"
-SRC_URI[sha256sum] = "de67caa102aa4c8fbed5300e5a0262e40411c4cc79f4379a8d34eed797968fc3"
+SRC_URI[sha256sum] = "d8f152314d7e4d3d643610d742845e0a016ce97c234ad4b1151574e1b09651ee"
+
+UPSTREAM_CHECK_URI = "https://dl.cihar.com/${BPN}/releases"
+
+DEPENDS = "cmake-native virtual/libiconv libdbi mysql5 glib-2.0 udev libgudev unixodbc"
 
-inherit distutils3 cmake gettext
+inherit cmake gettext
 
 do_install:append() {
     # these files seem to only be used by symbian and trigger QA warnings
@@ -35,12 +37,11 @@  EXTRA_OECMAKE = " \
     -DWITH_BLUETOOTH=OFF \
     -DWITH_NOKIA_SUPPORT=OFF \
     -DWITH_IRDA=OFF \
-    -DWITH_PYTHON=OFF \
     -DWITH_MySQL=ON \
     -DWITH_Postgres=OFF \
 "
 
-PACKAGES =+ "${PN}-smsd libgammu libgsmsd python-${PN}"
+PACKAGES =+ "${PN}-smsd libgammu libgsmsd"
 
 FILES:${PN} = "${bindir}/gammu ${bindir}/jadmaker ${sysconfdir}/bash_completion.d/gammu \
     ${bindir}/gammu-detect ${sysconfdir}/gammurc"
@@ -48,10 +49,9 @@  CONFFILES:${PN} = "${sysconfdir}/gammurc"
 FILES:${PN}-smsd = "${bindir}/gammu-smsd* ${sysconfdir}/gammu-smsdrc"
 CONFFILES:${PN}-smsd = "${sysconfdir}/gammu-smsdrc"
 FILES:${PN}-dev += "${bindir}/gammu-config ${libdir}/*.so"
-FILES:${PN}-dbg += "${bindir}/.debug ${libdir}/.debug ${PYTHON_SITEPACKAGES_DIR}/gammu/.debug"
+FILES:${PN}-dbg += "${bindir}/.debug ${libdir}/.debug"
 FILES:libgammu = "${libdir}/libGammu.so.*"
 FILES:libgsmsd = "${libdir}/libgsmsd.so.*"
-FILES:python-${PN} = "${PYTHON_SITEPACKAGES_DIR}/gammu/*.??"
 
 RDEPENDS:${PN} += "bash"
 RDEPENDS:${PN}-dev += "bash"