Przeglądaj źródła

Move set_homepage to top in libsdl_ttf

PucklaMotzer09 5 lat temu
rodzic
commit
02db09d190
1 zmienionych plików z 5 dodań i 4 usunięć
  1. 5 4
      packages/l/libsdl_ttf/xmake.lua

+ 5 - 4
packages/l/libsdl_ttf/xmake.lua

@@ -1,8 +1,4 @@
 package("libsdl_ttf")
-    add_deps("libsdl")
-    if is_plat("linux") or is_plat("macosx") then
-        add_deps("freetype")
-    end
 
     set_homepage("https://www.libsdl.org/projects/SDL_ttf/")
     set_description("Simple DirectMedia Layer text rendering library")
@@ -15,6 +11,11 @@ package("libsdl_ttf")
         add_versions("2.0.15", "cdb72b5b1c3b27795fa128af36f369fee5d3e38a96c350855da0b81880555dbc")
     end
 
+    add_deps("libsdl")
+    if is_plat("linux", "macosx") then
+        add_deps("freetype")
+    end
+
     add_links("SDL2_ttf")
 
     on_install("windows", "mingw", function (package)