Skip to content

Commit

Permalink
remoteio release 2.22297.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pmunts committed Apr 20, 2024
1 parent 447945a commit 2d975f2
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions index/re/remoteio/remoteio-2.22297.1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name = "remoteio"
description = "Remote I/O Protocol Client Library for GNAT Ada"
version = "2.22297.1"
licenses = "BSD-1-Clause"
website = "https://github.com/pmunts/libsimpleio"

authors = ["Philip Munts"]
maintainers = ["Philip Munts <[email protected]>"]
maintainers-logins = ["pmunts"]

project-files = ["remoteio.gpr"]

tags = ["embedded", "linux", "remoteio", "adc", "dac", "gpio", "i2c", "motor",
"pwm", "sensor", "serial", "servo", "spi", "stepper"]

[available."case(os)"]
'linux|macos|windows' = true
"..." = false

# Linux needs libhidapi and libusb

[[depends-on]]
[depends-on."case(os)"."linux"]
libhidapi = "*"

[[depends-on]]
[depends-on."case(os)"."linux"]
libusb = "*"

# MacOS needs Homebrew hidapi and libusb

#[[depends-on]]
#[depends-on."case(distribution)"."homebrew"]
#libhidapi = "*"

#[[depends-on]]
#[depends-on."case(distribution)"."homebrew"]
#libusb = "*"

# On Linux, patch hid-hidapi.ads to link with libhidapi-hidraw.so

[[actions."case(os)".linux]]
type = "post-fetch"
command = ["sh", "-c", "./src/scripts/postfetch.linux"]

# On MacOS, copy .dylib files to ./lib

[[actions."case(os)".macos]]
type = "post-fetch"
command = ["sh", "-c", "./src/scripts/postfetch.macos"]

# On Windows, copy .DLL files to ./lib

[[actions."case(os)".windows]]
type = "post-fetch"
command = ["sh", "-c", "./src/scripts/postfetch.windows"]

[origin]
hashes = [
"sha256:06cfac287968b1b936d5777c79b0e6890f248f9dec044df436d7773aff095f3a",
"sha512:caa3eb4c9522fb29377e931bb117ac51e46e30e2a31052041a80cc138c51b91c09dfd05db462add03fe08c5000bd2f6df57887bb0d3ffbfc5fb4e6d319008ee7",
]
url = "https://raw.githubusercontent.com/pmunts/alire-crates/9688132ed9181dfbdf619a8db690e28e9db138dd/remoteio/remoteio-2.22297.1.tbz2"

0 comments on commit 2d975f2

Please sign in to comment.