mirror of https://git.wownero.com/dsc/mxe.git
fix gitlab GNOME packages update macros
This commit is contained in:
parent
5839ef0d6b
commit
b304870088
|
@ -12,10 +12,9 @@ $(PKG)_URL := https://download.gnome.org/sources/atk/$(call SHORT_PKG_VERSI
|
|||
$(PKG)_DEPS := cc gettext glib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/atk/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=ATK_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
|
||||
$(SED) 's,_,.,g' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/atk/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>ATK_\([0-9]\+_[0-9_]\+\)<.*,\1,p" | \
|
||||
$(SED) "s,_,.,g;" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/atkmm/$(call SHORT_PKG_VER
|
|||
$(PKG)_DEPS := cc atk glibmm
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/atkmm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/atkmm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/gdk-pixbuf/$(call SHORT_PK
|
|||
$(PKG)_DEPS := cc glib jasper jpeg libiconv libpng tiff
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gdk-pixbuf/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
grep -v '^2\.9' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -15,8 +15,8 @@ $(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
|
|||
$(PKG)_DEPS_$(BUILD) := autotools gettext libffi libiconv zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/glib/refs/tags' | \
|
||||
$(SED) -n "s,.*glib-\([0-9]\+\.[0-9]*[02468]\.[^']*\)\.tar.*,\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/glib/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
$(SORT) -Vr | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/glibmm/$(call SHORT_PKG_VE
|
|||
$(PKG)_DEPS := cc glib libsigc++
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/glibmm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/glibmm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
$(SORT) -Vr | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,10 +12,10 @@ $(PKG)_URL := https://download.gnome.org/sources/gtk+/$(call SHORT_PKG_VERS
|
|||
$(PKG)_DEPS := cc atk cairo gdk-pixbuf gettext glib jasper jpeg libepoxy 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 '^3\.' | \
|
||||
grep -v '^3\.9[0-9]' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/gtkglext/gtkglext/$($(P
|
|||
$(PKG)_DEPS := cc gtk2
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/cgit/gtkglext/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/Archive/gtkglext/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/gtkglext/gtkglextmm/$($
|
|||
$(PKG)_DEPS := cc gtkglext gtkmm2
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/cgit/gtkglextmm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/Archive/gtkglextmm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/gtkmm/$(call SHORT_PKG_VER
|
|||
$(PKG)_DEPS := cc atkmm cairomm gtk2 libsigc++ pangomm
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/gtkmm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gtkmm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
grep -v '^2\.9' | \
|
||||
grep '^2\.' | \
|
||||
head -1
|
||||
|
|
|
@ -12,10 +12,10 @@ $(PKG)_URL := https://download.gnome.org/sources/gtkmm/$(call SHORT_PKG_VER
|
|||
$(PKG)_DEPS := cc atkmm cairomm gtk3 libsigc++ pangomm
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/gtkmm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gtkmm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
grep '^3\.' | \
|
||||
grep -v "^[0-9]\+\.9[0-9]" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@ $(PKG)_URL := https://download.gnome.org/sources/gtksourceview/$(call SHORT
|
|||
$(PKG)_DEPS := cc gtk2 libxml2
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/gtksourceview/refs/tags' | \
|
||||
$(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[0-9_]\+\)<.*,\1,p' | \
|
||||
$(SED) 's,_,.,g' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gtksourceview/tags?&search=GTKSOURCEVIEW_2' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>GTKSOURCEVIEW_\(2_[0-9_]\+\)<.*,\1,p" | \
|
||||
$(SED) "s,_,.,g;" | \
|
||||
grep -v '^2\.9[0-9]\.' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -12,12 +12,10 @@ $(PKG)_URL := https://download.gnome.org/sources/gtksourceviewmm/$(call SHO
|
|||
$(PKG)_DEPS := cc gtkmm2 gtksourceview
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/cgit/gtksourceviewmm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=gtksourceviewmm-\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
grep -v '^2\.9[0-9]\.' | \
|
||||
grep '^2\.' | \
|
||||
head -1
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/gtksourceviewmm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>gtksourceviewmm-\(2\.10[0-9.]\+\)<.*,\1,p" | \
|
||||
sort -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/json-glib/$(call SHORT_PKG
|
|||
$(PKG)_DEPS := cc glib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/json-glib/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/json-glib/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ $(PKG)_URL := https://download.gnome.org/sources/libgdamm/$(call SHORT_PKG_
|
|||
$(PKG)_DEPS := cc glibmm libgda
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/libgdamm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libgdamm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
grep -v "^[0-9]\+\.9[0-9]" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -11,9 +11,8 @@ $(PKG)_URL := https://download.gnome.org/sources/libgee/$(call SHORT_PKG_VE
|
|||
$(PKG)_DEPS := cc glib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/libgee/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*libgee-\([0-9]\+\.[0-9]*[02468]\.[^']*\)\.tar.*,\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libgee/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
$(SORT) -Vr | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -11,10 +11,8 @@ $(PKG)_URL := https://download.gnome.org/sources/libgsf/$(call SHORT_PKG_VE
|
|||
$(PKG)_DEPS := cc bzip2 glib libxml2 zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/libgsf/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=LIBGSF_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
|
||||
$(SED) 's,_,.,g' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libgsf/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ $(PKG)_URL := https://download.gnome.org/sources/librsvg/$(call SHORT_PKG_V
|
|||
$(PKG)_DEPS := cc cairo gdk-pixbuf glib libcroco libgsf pango
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/librsvg/refs/tags' | \
|
||||
$(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\).*,\1,p' | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/librsvg/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/libxml++/$(call SHORT_PKG_
|
|||
$(PKG)_DEPS := cc glibmm libxml2
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/libxml++/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libxml++/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL_2 := https://ftp.osuosl.org/pub/blfs/conglomeration/libxml2/$($(PK
|
|||
$(PKG)_DEPS := cc xz zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/libxml2/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=v\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libxml2/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\([0-9,\.]\+\)<.*,\\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL_2 := ftp://xmlsoft.org/libxslt/$($(PKG)_FILE)
|
|||
$(PKG)_DEPS := cc libgcrypt libxml2
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/libxslt/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=v\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libxslt/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\([0-9,\.]\+\)<.*,\\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/pango/$(call SHORT_PKG_VER
|
|||
$(PKG)_DEPS := cc cairo fontconfig freetype glib harfbuzz
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/pango/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/pango/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ $(PKG)_URL := https://download.gnome.org/sources/pangomm/$(call SHORT_PKG_V
|
|||
$(PKG)_DEPS := cc cairomm glibmm pango
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://git.gnome.org/browse/pangomm/refs/tags' | \
|
||||
grep '<a href=' | \
|
||||
$(SED) -n "s,.*<a href='[^']*/tag/?h=\\([0-9][^']*\\)'.*,\\1,p" | \
|
||||
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/pangomm/tags' | \
|
||||
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue