From ce081396e2b0ddd0493a144117428784567db15d Mon Sep 17 00:00:00 2001 From: Philip Munts Date: Fri, 26 Apr 2024 09:54:07 -0700 Subject: [PATCH] remoteio release 2.22299.1 --- index/re/remoteio/remoteio-2.22299.1.toml | 64 +++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 index/re/remoteio/remoteio-2.22299.1.toml diff --git a/index/re/remoteio/remoteio-2.22299.1.toml b/index/re/remoteio/remoteio-2.22299.1.toml new file mode 100644 index 000000000..2085a2066 --- /dev/null +++ b/index/re/remoteio/remoteio-2.22299.1.toml @@ -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 "] +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 hidapi and libusb + +[[depends-on]] +[depends-on."case(distribution)"."homebrew|macports"] +libhidapi = "*" + +[[depends-on]] +[depends-on."case(distribution)"."homebrew|macports"] +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:8b2aac0e64a679286ba29eb8487fe7f0a41b6b3fdbf07a707794684dd4703986", +"sha512:9922fc102a69a8d7ad7322a9ee9fa2c4c3c2a4c4e13454b01ae32c7425ec04862bf24ecba39b00487c636e3cf0ba34fb7961d8bec127a51644a65d240e4f0ca3", +] +url = "https://raw.githubusercontent.com/pmunts/alire-crates/734ab8155e76ae0fe51095ae603fbf1b4defda60/remoteio/remoteio-2.22299.1.tbz2" +