meta-openembedded/meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.6.bb
Yi Zhao a8161b89b5
libtimezonemap: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.

Before the patch:
$ devtool latest-version libtimezonemap
INFO: Current version: 0.4.6
INFO: Latest version:

After the patch:
$ devtool latest-version libtimezonemap
INFO: Current version: 0.4.6
INFO: Latest version: 0.4.6

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-08 06:27:14 -08:00

25 lines
855 B
BlitzBasic

DESCRIPTION = "Time zone map widget for Gtk+"
HOMEPAGE = "https://launchpad.net/timezonemap"
SECTION = "devel/lib"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz;downloadfilename=${BP}.tar.gz \
file://0001-configure.ac-correct-the-version.patch"
SRC_URI[sha256sum] = "0d634cc2476d8f57d1ee1864bd4f442180ae4bf040a9ae4bf73b66bbd85d7195"
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/libt/libtimezonemap"
UPSTREAM_CHECK_REGEX = "libtimezonemap_(?P<pver>\d+(\.\d+)+)"
DEPENDS = "gtk+3 gdk-pixbuf libsoup-2.4 json-glib gnome-common-native"
B = "${S}"
inherit features_check autotools pkgconfig gobject-introspection
REQUIRED_DISTRO_FEATURES = "x11"
do_configure:prepend() {
(cd ${S}; NOCONFIGURE="yes" . ${S}/autogen.sh)
}