Skip to content

Commit

Permalink
remoteio 1.21527.1 (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmunts authored Dec 11, 2023
1 parent 0805012 commit 356e375
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions index/re/remoteio/remoteio-1.21527.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 = "1.21527.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:983a2f2e0f2609677074cc4eac4590f999de440f6136c7accf468430a7bcc4a3",
"sha512:7c4ff792ef32dedd111ba84df0025951ccd12769217a63dadba510c175a7d62f6eded250546d3b8c292b54e3b21e141ffec458408326ee6701b18517b2234de0",
]
url = "http://repo.munts.com/alire/remoteio-1.21527.1.tbz2"

0 comments on commit 356e375

Please sign in to comment.