summaryrefslogtreecommitdiffstats
path: root/src/gtk2.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/gtk2.mk
parent5839ef0d6b78e80fa22ad630d8de1d7d3de53248 (diff)
downloadmxe-b304870088558b271974c201f8b0bfaaed00a504.zip
mxe-b304870088558b271974c201f8b0bfaaed00a504.tar.gz
mxe-b304870088558b271974c201f8b0bfaaed00a504.tar.bz2
fix gitlab GNOME packages update macros
Diffstat (limited to 'src/gtk2.mk')
-rw-r--r--src/gtk2.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gtk2.mk b/src/gtk2.mk
index 28e70b2..00795c0 100644
--- a/src/gtk2.mk
+++ b/src/gtk2.mk
@@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/gtk+/$(call SHORT_PKG_VERS
$(PKG)_DEPS := cc atk cairo gdk-pixbuf gettext glib jasper jpeg libpng pango tiff
define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://git.gnome.org/browse/gtk+/refs/tags' | \
- grep '<a href=' | \
- $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
+ $(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gtk+/tags' | \
+ $(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
grep -v '^2\.9' | \
grep '^2\.' | \
head -1