meson: Make X11 support an optional feature
Closes #255 Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/326>
This commit is contained in:
parent
8c817a3ec6
commit
b44412fac6
4 changed files with 16 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ codegen-units = 1
|
|||
|
||||
[features]
|
||||
disable-glycin-sandbox = []
|
||||
x11 = ["ashpd/gtk4_x11"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = { version = "1.0.66", features = ["backtrace"] }
|
||||
|
|
@ -30,7 +31,7 @@ url = "2.3.1"
|
|||
|
||||
[dependencies.ashpd]
|
||||
version = "0.7.0"
|
||||
features = ["gtk4"]
|
||||
features = ["gtk4_wayland"]
|
||||
|
||||
[dependencies.gtk]
|
||||
package = "gtk4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue