File tree Expand file tree Collapse file tree
packages/conf-gtk4/conf-gtk4.1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ authors: ["Chris Armstrong"]
77license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
88homepage: "https://github.com/chris-armstrong/ocgtk"
99bug-reports: "https://github.com/chris-armstrong/ocgtk/issues"
10-
10+ depends: [
11+ "conf-pkg-config" {build}
12+ ("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-gtk3-i686" {os = "win32" & os-distribution != "cygwinports"} |
13+ "host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-gtk3-x86_64" {os = "win32" & os-distribution != "cygwinports"})
14+ ]
1115# System package dependencies for GTK4
1216depexts: [
1317 # Debian/Ubuntu
@@ -31,12 +35,14 @@ depexts: [
3135 ["gtk4"] {os = "macos" & os-distribution = "macports"}
3236
3337 # Windows via mingw
34- ["mingw-w64-x86_64-gtk4"] {os = "win32" & os-distribution = "cygwinports"}
38+ ["gtk4"] {os = "win32" & os-distribution = "cygwinports"}
39+ ["gtk4"] {os = "freebsd"}
3540]
3641
3742# Check that pkg-config can find gtk4
3843build: [
39- ["pkg-config" "--print-errors" "--exists" "gtk4"]
44+ ["pkgconf" "--personality=x86_64-w64-mingw32" "--print-errors" "--exists" "gtk4"] {os = "win32" & os-distribution != "cygwinports" & host-arch-x86_64:installed}
45+ ["pkg-config" "--short-errors" "--print-errors" "--atleast-version" "4.10" "gtk4"] {os != "win32" | os-distribution = "cygwinports"}
4046]
4147
4248flags: conf
You can’t perform that action at this time.
0 commit comments