ruki пре 2 година
родитељ
комит
a64804414a
2 измењених фајлова са 16 додато и 12 уклоњено
  1. 2 12
      packages/g/gtk+4/xmake.lua
  2. 14 0
      packages/g/gtk4/xmake.lua

+ 2 - 12
packages/g/gtk+4/xmake.lua

@@ -1,14 +1,4 @@
 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)
+    if set_base then
+        set_base("gtk4")
     end
-

+ 14 - 0
packages/g/gtk4/xmake.lua

@@ -0,0 +1,14 @@
+package("gtk4")
+
+    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
+