Skip to content

Commit

Permalink
remoteio release 2.22299.1
Browse files Browse the repository at this point in the history
Rebuilt for alr 2.0, which broke previous post-fetch scripts.

Also moved the source archive repository
from http://repo.munts.com/alire
to   https://raw.githubusercontent.com/pmunts/alire-crates
  • Loading branch information
pmunts committed Apr 21, 2024
1 parent 447945a commit a54ed77
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions index/re/remoteio/remoteio-2.22299.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.22299.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:14894b70d2784fe0971349d6f9e582c8aaeea06a8fe7a6e469c7e4bdeba5d9d6",
"sha512:187e92edff9d840637794dfa1609aeef6c2532392cd45798c1f2be81cf200c7682e7cb584eb1e2a6005e476988b9e82731cdc744028f3a367bcc35666fdc5fd8",
]
url = "https://raw.githubusercontent.com/pmunts/alire-crates/c41e7ef745478d10db9d3254c318a681baa2628a/remoteio/remoteio-2.22299.1.tbz2"

0 comments on commit a54ed77

Please sign in to comment.