From a54ed773a7c9b7ae9593ba9b20159743dac9c0fd Mon Sep 17 00:00:00 2001 From: Philip Munts Date: Sat, 20 Apr 2024 18:59:04 -0700 Subject: [PATCH] remoteio release 2.22299.1 Rebuilt for alr 2.0, which broke previous post-fetch scripts. Also moved the source archive repository from http://repo.munts.com/alire to https://raw.githubusercontent.com/pmunts/alire-crates --- 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..65e5ec4a5 --- /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 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:14894b70d2784fe0971349d6f9e582c8aaeea06a8fe7a6e469c7e4bdeba5d9d6", +"sha512:187e92edff9d840637794dfa1609aeef6c2532392cd45798c1f2be81cf200c7682e7cb584eb1e2a6005e476988b9e82731cdc744028f3a367bcc35666fdc5fd8", +] +url = "https://raw.githubusercontent.com/pmunts/alire-crates/c41e7ef745478d10db9d3254c318a681baa2628a/remoteio/remoteio-2.22299.1.tbz2" +