Browse Source

geoclue: Use git fetcher

gitlab archives are not consistent and can be regenerated as well like
github, its therefore better to use git fetcher directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 3 years ago
parent
commit
517998abcd
1 changed files with 3 additions and 2 deletions
  1. 3 2
      meta-oe/recipes-navigation/geoclue/geoclue_2.5.6.bb

+ 3 - 2
meta-oe/recipes-navigation/geoclue/geoclue_2.5.6.bb

@@ -12,9 +12,10 @@ DEPENDS = "glib-2.0 dbus json-glib libsoup-2.4 intltool-native"
 
 inherit meson pkgconfig gtk-doc gobject-introspection vala
 
-SRC_URI = "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${PV}/geoclue-${PV}.tar"
+SRCREV = "555d676a91494b98ad0d52639590608a9594a8d3"
+SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1"
 
-SRC_URI[sha256sum] = "76494f1262fd90faea05116aface7f580b9b50f7c525bc86ccf33409cea95e8d"
+S = "${WORKDIR}/git"
 
 # Without this line, package is declared a library and named libgeoclue*
 AUTO_LIBNAME_PKGS = ""