add gspell package (#3174)

remove unnecessary checks for on_fetch
pull/6039/head
Paul Reilly 1 year ago committed by GitHub
parent a0b31d371e
commit 361407de58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      packages/g/gspell/xmake.lua
  2. 12
      packages/g/gtk+3/xmake.lua

@ -0,0 +1,12 @@
package("gspell")
set_homepage("https://gitlab.gnome.org/GNOME/gspell")
set_description("A spell-checking library for GTK applications")
set_license("LGPL-2.0-or-later")
on_fetch("linux", function (package, opt)
if opt.system and package.find_package then
return package:find_package("pkgconfig::gspell")
end
end)

@ -4,11 +4,9 @@ package("gtk+3")
set_description("Toolkit for creating graphical user interfaces")
set_license("LGPL-2.0-or-later")
if on_fetch then
on_fetch("linux", function (package, opt)
if opt.system and package.find_package then
return package:find_package("pkgconfig::gtk+-3.0")
end
end)
end
on_fetch("linux", function (package, opt)
if opt.system and package.find_package then
return package:find_package("pkgconfig::gtk+-3.0")
end
end)

Loading…
Cancel
Save