Skip to content

Commit 6ccc239

Browse files
committed
pixman: use Meson options to disable tests instead of patching build script
1 parent c272159 commit 6ccc239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/p/pixman/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ package("pixman")
4141
end
4242

4343
local configs = {
44+
"-Dtests=disabled",
45+
"-Ddemos=disabled",
4446
"-Dopenmp=disabled",
4547
"-Dlibpng=disabled",
4648
"-Dgtk=disabled",
4749
}
4850
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
49-
io.replace("meson.build", "subdir('test')", "", {plain = true})
50-
io.replace("meson.build", "subdir('demos')", "", {plain = true})
5151
import("package.tools.meson").install(package, configs)
5252
end)
5353

0 commit comments

Comments
 (0)