e822d80009
libsimpleio release 1.21136.1 mcp2221 release 1.21136.1 remoteio release 1.21136.1 Made improvements to package Temperature. Update copyright text in all source files. These releases all match the libsimpleio general release package munts-libsimpleio-2023.153.1.
65 lines
1.6 KiB
TOML
65 lines
1.6 KiB
TOML
name = "mcp2221"
|
|
description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada"
|
|
version = "1.21136.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 = ["mcp2221.gpr"]
|
|
|
|
tags = ["embedded", "linux", "mcp2221", "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:bc6943f65ef51b9d50733506ef6f024589809c33f36dae6d909b548aff2f074a",
|
|
"sha512:85bd4465153998645503dab1b783d3ded55b1ba1839c2d3208bac5e58b10966b79c57ece8734933cc4a479a58a74f31e210cf81f46419c718f89cce69267a84b",
|
|
]
|
|
url = "http://repo.munts.com/alire/mcp2221-1.21136.1.tbz2"
|
|
|