Skip to content

Commit e5d38ef

Browse files
committed
update
1 parent 3f32488 commit e5d38ef

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

packages/f/fltk/xmake.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ package("fltk")
2525
add_configs("fluid", {description = "Build fluid", default = false, type = "boolean"})
2626
add_configs("forms", {description = "Build forms", default = false, type = "boolean"})
2727

28-
if is_plat("windows", "mingw") then
29-
add_syslinks("ws2_32", "comctl32", "gdi32", "oleaut32", "ole32", "uuid", "shell32", "advapi32", "comdlg32", "winspool", "user32", "kernel32", "odbc32")
28+
if is_plat("windows", "mingw", "cygwin", "msys") then
29+
add_syslinks("ws2_32", "comctl32", "gdi32", "oleaut32", "ole32", "uuid", "shell32", "advapi32", "comdlg32", "winspool", "user32", "kernel32", "odbc32", "gdiplus")
3030
elseif is_plat("macosx") then
3131
add_frameworks("Cocoa")
3232
elseif is_plat("android") then
@@ -66,10 +66,12 @@ package("fltk")
6666
end
6767
end)
6868

69-
on_install("windows|x86", "windows|x64", "linux", "macosx", "mingw", "msys", function (package)
69+
on_install("windows|x86", "windows|x64", "linux", "macosx", "mingw", "cygwin", "msys", function (package)
7070
for _, file in ipairs(os.files("**.cxx")) do
7171
io.replace(file, "<libpng/png.h>", "<png.h>", {plain = true})
7272
end
73+
io.replace("CMake/options.cmake", "list(APPEND FLTK_IMAGE_LIBRARIES ${JPEG_LIBRARIES})",
74+
"list(APPEND FLTK_IMAGE_LIBRARIES ${JPEG_LIBRARIES})\ninclude_directories(${JPEG_INCLUDE_DIRS})", {plain = true})
7375

7476
local configs = {
7577
"-DFLTK_BUILD_TEST=OFF",

packages/l/libdecor/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package("libdecor")
1111
add_configs("gtk", {description = "Build GTK plugin", default = false, type = "boolean"})
1212

1313
add_deps("meson", "ninja")
14-
add_deps("wayland", "wayland-protocols", "cairo")
14+
add_deps("wayland", "wayland-protocols", "pango")
1515

1616
on_load(function (package)
1717
if package:config("dbus") then

packages/p/pango/xmake.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package("pango")
66

77
add_urls("https://gitlab.gnome.org/GNOME/pango/-/archive/$(version)/pango-$(version).tar.gz")
88
add_urls("https://gitlab.gnome.org/GNOME/pango.git")
9+
add_versions("1.56.3", "7a059664dcd1c517979e2db2e71dc9a3550acf5a8cf76a1aadb6526d9d4b90f1")
910
add_versions("1.51.1", "ea92cd570cdba62ca52cc0a7c9ea3cd311b6da3f0328a5aa8a4a81b0a74944a5")
1011
add_versions("1.50.3", "4a8b0cf33d5f9ecaa9cd99dd72703d5c4c53bc58df64dd9538493bb4356ab691")
1112

@@ -29,7 +30,7 @@ package("pango")
2930

3031
on_install("windows|x64", "windows|x86", "macosx", "linux", function (package)
3132
import("package.tools.meson")
32-
local configs = {"-Dintrospection=disabled", "-Dgtk_doc=false", "-Dfontconfig=enabled"}
33+
local configs = {"-Dintrospection=disabled", "-Dfontconfig=enabled"}
3334

3435
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
3536
io.gsub("meson.build", "subdir%('tests'%)", "")

0 commit comments

Comments
 (0)