Skip to content

Commit

Permalink
gnoga metadata: removed conflicting project variable settings (#1082)
Browse files Browse the repository at this point in the history
* Removed conflicting project variable settings

* Missing externals to increase compatibility

* Restore lost variable in gnoga
  • Loading branch information
mosteo authored May 31, 2024
1 parent cd81313 commit e255cb6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
10 changes: 5 additions & 5 deletions index/gn/gnoga/gnoga-2.1.2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ licenses = "GPL-3.0-only WITH GCC-exception-3.1"

project-files = ["lib_gnoga.gpr"]

[gpr-set-externals.'case(os)']
linux = { Target_OS = "Linux", PRJ_TARGET = "Linux" }
windows = { Target_OS = "Windows", PRJ_TARGET = "Windows" }
macos = { Target_OS = "OSX", PRJ_TARGET = "OSX" }

[[depends-on]]
gnat = ">=2021 | (>=12 & <2000)"
simple_components = "^4.62.0"
uxstrings = "~0.4.0+alpha-20220803"

[gpr-set-externals.'case(os)']
linux = { PRJ_TARGET = "Linux" }
windows = { PRJ_TARGET = "Windows" }
macos = { PRJ_TARGET = "OSX" }

[origin]
commit = "5f127c56986a7a1a562b405d7934eabf8e624c25"
url = "git+https://github.com/Blady-Com/gnoga.git"
Expand Down
2 changes: 2 additions & 0 deletions index/li/libgnutls/libgnutls-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ maintainers-logins = ["mosteo"]
[[external]]
kind = "system"
[external.origin."case(distribution)"]
"arch" = ["gnutls"]
"debian|ubuntu" = ["libgnutls28-dev"]
"centos|fedora" = ["gnutls-devel"]
"homebrew" = ["gnutls"]
"macports" = ["gnutls"]

Expand Down
19 changes: 8 additions & 11 deletions index/si/simple_components/simple_components-4.68.0.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@ Target_OS = ["Windows", "Windows_NT", "Linux", "UNIX", "OSX", "FreeBSD", "auto"]
Tasking = ["Multiple", "Single"] # Default Multiple
Traced_Objects = ["Off", "On"] # Default Off

[gpr-set-externals]
Target_OS = "auto"
[gpr-set-externals."case(os)"]
freebsd = { Target_OS = "FreeBSD" }
linux = { Target_OS = "Linux", odbc = "unixODBC" }
macos = { Target_OS = "OSX" }
windows = { Target_OS = "Windows", odbc = "ODBC32" }

[gpr-set-externals."case(os)".linux]
odbc = "unixODBC"
[gpr-set-externals."case(os)".windows]
odbc = "ODBC32"

[gpr-set-externals."case(word-size)".bits-32]
arch = "i686"
[gpr-set-externals."case(word-size)".bits-64]
arch = "x86_64"
[gpr-set-externals."case(word-size)"]
bits-32 = { arch = "i686" }
bits-64 = { arch = "x86_64" }

[origin]
commit = "da9b0f3a3d56a2e60490fa5f23ca510862c252cd"
Expand Down
2 changes: 2 additions & 0 deletions index/un/unixodbc/unixodbc-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ maintainers-logins = ["mosteo"]
[[external]]
kind = "system"
[external.origin."case(distribution)"]
"arch" = ["unixodbc"]
"debian|ubuntu" = ["unixodbc-dev"]
"centos|fedora" = ["unixODBC-devel"]
"homebrew" = ["unixodbc"]
"macports" = ["unixodbc"]

Expand Down

0 comments on commit e255cb6

Please sign in to comment.