Romain Chardiny 3 anni fa
parent
commit
63aaf00406
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. 14 0
      packages/g/gtk+4/xmake.lua

+ 14 - 0
packages/g/gtk+4/xmake.lua

@@ -0,0 +1,14 @@
+package("gtk+4")
+
+    set_homepage("https://gtk.org/")
+    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::gtk4")
+            end
+        end)
+    end
+