Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 893ec65679 | |||
| 97ab1425bf |
@@ -18,7 +18,8 @@ jobs:
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
|
||||
@@ -20,6 +20,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
|
||||
@@ -12,7 +12,11 @@ tags = ["gtk", "gui"]
|
||||
# Add msys in the OS list in config.sub
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["sed", "-i", "s/| -mingw32\\*/| -mingw32\\* | -msys\\*/g", "config.sub"]
|
||||
command = ["sh", "-c", "sed 's/| -mingw32\\*/| -mingw32\\* | -msys\\*/g' config.sub > config.sub.0 && mv -f config.sub.0 config.sub"]
|
||||
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
command = ["sh", "-c", "sed '/misc_osx.h/a\\\nNSWindow *gdk_quartz_window_get_nswindow(GdkWindow *window);\n' src/misc_osx.m > src/misc_osx.m.0 && mv -f src/misc_osx.m.0 src/misc_osx.m"]
|
||||
|
||||
[[actions]]
|
||||
type = "post-fetch"
|
||||
@@ -39,6 +43,10 @@ LIBRARY_TYPE = ["static", "static-pic", "relocatable"]
|
||||
msys2.C_INCLUDE_PATH.append = "${DISTRIB_ROOT}/mingw64/x86_64-w64-mingw32/include"
|
||||
msys2.LIBRARY_PATH.append = "${DISTRIB_ROOT}/mingw64/x86_64-w64-mingw32/lib"
|
||||
|
||||
[available]
|
||||
'case(os)'.windows = false
|
||||
'case(distribution)'.arch = false
|
||||
|
||||
[origin]
|
||||
url="https://github.com/AdaCore/gtkada/archive/v21.0.0/gtkada-21.0.0.zip"
|
||||
hashes=["sha512:3c1373c0a1168ae875398a0b5a1941234f6620ac114088980b83558c984c4566b87796fb4098de371af206ca6a4ae0fb4c6390119c5606a9f6a5b142916ce8d8"]
|
||||
|
||||
@@ -10,3 +10,8 @@ kind = "system"
|
||||
"debian|ubuntu" = ["libgtk-3-dev"]
|
||||
arch = ["gtk3"]
|
||||
msys2 = ["mingw-w64-x86_64-gtk3"]
|
||||
|
||||
[[external]]
|
||||
kind = "version-output"
|
||||
version-command = [ "pkg-config", "--modversion", "gtk+-3.0" ]
|
||||
version-regexp = "([\\d\\.]+)"
|
||||
|
||||
@@ -10,3 +10,8 @@ kind = "system"
|
||||
"debian|ubuntu" = ["pkg-config"]
|
||||
arch = ["pkgconf"]
|
||||
msys2 = ["mingw-w64-x86_64-pkg-config"]
|
||||
|
||||
[[external]]
|
||||
kind = "version-output"
|
||||
version-command = [ "pkg-config", "--version" ]
|
||||
version-regexp = "([\\d\\.]+)"
|
||||
|
||||
@@ -6,7 +6,7 @@ authors = ["Jeremy Grosser"]
|
||||
maintainers = ["Jeremy Grosser <jeremy@synack.me>"]
|
||||
maintainers-logins = ["JeremyGrosser"]
|
||||
licenses = "MIT"
|
||||
website = ["https://github.com/JeremyGrosser/tiny_text"]
|
||||
website = "https://github.com/JeremyGrosser/tiny_text"
|
||||
tags = ["font", "hal", "bitmap", "text"]
|
||||
|
||||
[[depends-on]] # This line was added by `alr with`
|
||||
|
||||
Reference in New Issue
Block a user