summaryrefslogtreecommitdiffstats
path: root/src/libcroco.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2019-05-13 19:52:31 (GMT)
committerMark Brand <mabrand@mabrand.nl>2019-05-14 08:04:27 (GMT)
commitb304870088558b271974c201f8b0bfaaed00a504 (patch)
treedea79a57a221b6e44060cd6578ea2f7293f45a2b /src/libcroco.mk
parent5839ef0d6b78e80fa22ad630d8de1d7d3de53248 (diff)
downloadmxe-b304870088558b271974c201f8b0bfaaed00a504.zip
mxe-b304870088558b271974c201f8b0bfaaed00a504.tar.gz
mxe-b304870088558b271974c201f8b0bfaaed00a504.tar.bz2
fix gitlab GNOME packages update macros
Diffstat (limited to 'src/libcroco.mk')
-rw-r--r--src/libcroco.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcroco.mk b/src/libcroco.mk
index be114f3..d4ab99a 100644
--- a/src/libcroco.mk
+++ b/src/libcroco.mk
@@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/libcroco/$(call SHORT_PKG_
$(PKG)_DEPS := cc glib libxml2
define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://git.gnome.org/browse/libcroco/refs/tags' | \
- $(SED) -n 's,.*<a[^>]*>LIBCROCO_\([0-9][0-9_]*\)<.*,\1,p' | \
- $(SED) 's,_,.,g' | \
+ $(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libcroco/tags' | \
+ $(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
head -1
endef