From 356e375c3e846ef93208e58a40313b37238b1d78 Mon Sep 17 00:00:00 2001 From: pmunts Date: Mon, 11 Dec 2023 09:50:40 -0800 Subject: [PATCH] remoteio 1.21527.1 (#931) --- index/re/remoteio/remoteio-1.21527.1.toml | 64 +++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 index/re/remoteio/remoteio-1.21527.1.toml diff --git a/index/re/remoteio/remoteio-1.21527.1.toml b/index/re/remoteio/remoteio-1.21527.1.toml new file mode 100644 index 000000000..66330a180 --- /dev/null +++ b/index/re/remoteio/remoteio-1.21527.1.toml @@ -0,0 +1,64 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.21527.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 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:983a2f2e0f2609677074cc4eac4590f999de440f6136c7accf468430a7bcc4a3", +"sha512:7c4ff792ef32dedd111ba84df0025951ccd12769217a63dadba510c175a7d62f6eded250546d3b8c292b54e3b21e141ffec458408326ee6701b18517b2234de0", +] +url = "http://repo.munts.com/alire/remoteio-1.21527.1.tbz2" +