ea4946244b
* remoteio release 1.19928.2 (#309) msys tar needs tarballs created with -H posix * Add files via upload (#326) * mcp2221, remoteio 1.19937.1 (#333) * mcp2221 release 1.19937.1 Fixed website URL * remoteio release 1.19937.1 Fixed website URL * Fix microbit_bsp (#338) * Update microbit_bsp-0.2.0.toml * Update microbit_bsp-0.1.0.toml Co-authored-by: pmunts <phil@munts.net> Co-authored-by: Paul Jarrett <jarrett.paul.young@gmail.com> Co-authored-by: Fabien Chouteau <Fabien-Chouteau@users.noreply.github.com>
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
name = "remoteio"
|
|
description = "Remote I/O Protocol Client Library for GNAT Ada"
|
|
version = "1.19937.1"
|
|
licenses = "BSD-1-Clause"
|
|
website = "https://github.com/pmunts/libsimpleio"
|
|
|
|
authors = ["Philip Munts"]
|
|
maintainers = ["Philip Munts <phil@munts.net>"]
|
|
maintainers-logins = ["pmunts"]
|
|
|
|
project-files = ["remoteio.gpr", "programs.gpr"]
|
|
|
|
tags = ["embedded", "linux", "remoteio", "adc", "dac", "gpio", "i2c", "motor",
|
|
"pwm", "sensor", "serial", "servo", "spi", "stepper"]
|
|
|
|
[available."case(os)"]
|
|
'linux|windows' = true
|
|
"..." = false
|
|
|
|
# Linux needs libhidapi-dev and/or libusb-1.0-0-dev installed
|
|
|
|
[[depends-on]]
|
|
[depends-on."case(os)"."linux"]
|
|
libhidapi = "~0.8"
|
|
|
|
[[depends-on]]
|
|
[depends-on."case(os)"."linux"]
|
|
libusb = "~1.0"
|
|
|
|
# On Linux, patch hid-hidapi.ads to link with libhidapi-hidraw.so
|
|
|
|
[[actions."case(os)".linux]]
|
|
type = "post-fetch"
|
|
command = ["sh", "-c", "sed -i 's/lhidapi/lhidapi-hidraw/g' src/objects/hid/hid-hidapi.ads"]
|
|
|
|
# On Windows, copy .DLL files to ./bin/ (for execution) and ./lib/ (for linking)
|
|
|
|
[[actions."case(os)".windows]]
|
|
type = "post-fetch"
|
|
command = ["sh", "-c", "mkdir -p ./bin && cp src/win64/*.dll ./bin && mkdir -p ./lib && cp src/win64/*.dll ./lib"]
|
|
|
|
[origin]
|
|
hashes = [
|
|
"sha512:fc6c694fddf9a62f419ca3c189698c0761b3fbe5c6133d30c11ba2176471f88d019de47c058cadc6eaf253efefcf36bd5ce54637b17481a8fde85894d2d2e84f",
|
|
]
|
|
url = "http://repo.munts.com/alire/remoteio-1.19937.1.tbz2"
|
|
|