libsimpleio, mcp2221, remoteio 1.19965.2 (#367)
libsimpleio release 1.19965.2 mcp2221 release 1.19965.2 remoteio release 1.19965.2
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name = "libsimpleio"
|
||||
description = "Linux Simple I/O Library bindings for GNAT Ada"
|
||||
version = "1.19965.2"
|
||||
licenses = "BSD-1-Clause"
|
||||
website = "https://github.com/pmunts/libsimpleio"
|
||||
|
||||
authors = ["Philip Munts"]
|
||||
maintainers = ["Philip Munts <phil@munts.net>"]
|
||||
maintainers-logins = ["pmunts"]
|
||||
|
||||
project-files = ["libsimpleio.gpr", "programs.gpr"]
|
||||
|
||||
tags = ["embedded", "linux", "libsimpleio", "remoteio", "beaglebone",
|
||||
"pocketbeagle", "raspberrypi", "adc", "dac", "gpio", "hid", "i2c", "motor",
|
||||
"pwm", "sensor", "serial", "servo", "spi", "stepper", "watchdog"]
|
||||
|
||||
[available."case(os)"]
|
||||
'linux' = true
|
||||
"..." = false
|
||||
|
||||
[origin]
|
||||
hashes = [
|
||||
"sha256:09f3b3a95ae9a6fabd0c28eeee1026507dd1839a2d407d2ed81f16e626ec7ca5",
|
||||
"sha512:4f49598114ff7589605d470c0a5d608f9d0e924c2b7af612cba5e79223b608ae3393a87f48f2cf050ff4ef3ca295d7ad96faace02b50b652781129df40e47324",
|
||||
]
|
||||
url = "http://repo.munts.com/alire/libsimpleio-1.19965.2.tbz2"
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
name = "mcp2221"
|
||||
description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada"
|
||||
version = "1.19965.2"
|
||||
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", "programs.gpr"]
|
||||
|
||||
tags = ["embedded", "linux", "mcp2221", "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 = "*"
|
||||
|
||||
[[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 = [
|
||||
"sha256:31a0154516b1c7674723dfdded996a2cb1074e9df6cab68f1c87042b504b30e7",
|
||||
"sha512:5024a3d5862c35deaa1fb12e5c119338c96bf556eb2f62e4ea4d2e6351d04f1b8dd83df48780103699bfef9c88d05789ae7dc630cddf3f6d4fd911cc1f713051",
|
||||
]
|
||||
url = "http://repo.munts.com/alire/mcp2221-1.19965.2.tbz2"
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
name = "remoteio"
|
||||
description = "Remote I/O Protocol Client Library for GNAT Ada"
|
||||
version = "1.19965.2"
|
||||
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 = "*"
|
||||
|
||||
[[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 = [
|
||||
"sha256:ee567b8483dd9b58973464ced6c678b88ab28bbfec66a84cb8e31555ef0c5ac3",
|
||||
"sha512:b08000ffb797a8266f56f87fc8cc39b497c34a3e45840dd41b82cf44caabd5d56fba34572522cdc8b2332744d68fbae59060408fb757d8e2a4c73c090558d3e2",
|
||||
]
|
||||
url = "http://repo.munts.com/alire/remoteio-1.19965.2.tbz2"
|
||||
|
||||
Reference in New Issue
Block a user