-
我自己参考官方的skia的写法,修改了package种对freetype的依赖版本设定
但是跑起来的时候提示冲突
检查发现,是因为另一个依赖fontconfig的问题 我理解2.10.X版本应该是完全符合才对,不知道为何会当作冲突 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
直接写版本 "freetype 2.10.x" 更好;如果要多个条件,条件之间加空格 "freetype >=2.10 <2.11" |
Beta Was this translation helpful? Give feedback.
-
依赖了两个不同的版本,当然会冲突,要么走 |
Beta Was this translation helpful? Give feedback.
-
add_requireconfs("freetype", {override = true, version = "2.10.4"}) 不过从版本的写法语义上来说,是存在交集的,例如文中的2.10.4版本就完全符合。 |
Beta Was this translation helpful? Give feedback.
依赖了两个不同的版本,当然会冲突,要么走
add_requireconfs("**.freetype", {override = true, version = "xxxx"})
改写所有freetype依赖版本,保持一致