improve glib

pull/18/head
ruki 6 years ago
parent 61d9407e4d
commit 20ae16f8d2
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 3
      packages/g/glib/xmake.lua

@ -3,7 +3,8 @@ package("glib")
set_homepage("https://developer.gnome.org/glib/")
set_description("Core application library for C.")
set_urls("https://download.gnome.org/sources/glib/2.60/glib-2.60.2.tar.xz")
set_urls("https://download.gnome.org/sources/glib/$(version).tar.xz",
{version = function (version) return table.concat(table.slice((version):split('%.'), 1, 2), '.') .. "/glib-" .. version end})
add_versions("2.60.2", "2ef15475060addfda0443a7e8a52b28a10d5e981e82c083034061daf9a8f80d9")
add_deps("meson", "ninja")

Loading…
Cancel
Save