From 9a53cc6c8462bf79ecd5019afc48674545158957 Mon Sep 17 00:00:00 2001 From: pmunts Date: Tue, 14 Mar 2023 03:30:54 -0700 Subject: [PATCH] mcp2221 release 1.20962.1 and remoteio release 1.20962.1 (#762) * remoteio release 1.20962.1 Modified the post-fetch script to copy Windows DLL files to bin/ * mcp2221 release 1.20962.1 Modified the post-fetch script to copy Windows DLL files to bin/ --- index/mc/mcp2221/mcp2221-1.20962.1.toml | 64 +++++++++++++++++++++++ index/re/remoteio/remoteio-1.20962.1.toml | 64 +++++++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 index/mc/mcp2221/mcp2221-1.20962.1.toml create mode 100644 index/re/remoteio/remoteio-1.20962.1.toml diff --git a/index/mc/mcp2221/mcp2221-1.20962.1.toml b/index/mc/mcp2221/mcp2221-1.20962.1.toml new file mode 100644 index 00000000..072fccdc --- /dev/null +++ b/index/mc/mcp2221/mcp2221-1.20962.1.toml @@ -0,0 +1,64 @@ +name = "mcp2221" +description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada" +version = "1.20962.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +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:5037aea84557b2061418276336dffc4213b741da76219770f4a0f3cbe7eba65f", +"sha512:2de597211912f33bfa2aca08b36b01c99c2629a5c25cd0e959707a6275d32592a9e0097671f5ed1071966905c154c4a6ff8eed1e312679faf16a80d336bb1645", +] +url = "http://repo.munts.com/alire/mcp2221-1.20962.1.tbz2" + diff --git a/index/re/remoteio/remoteio-1.20962.1.toml b/index/re/remoteio/remoteio-1.20962.1.toml new file mode 100644 index 00000000..2e3261c7 --- /dev/null +++ b/index/re/remoteio/remoteio-1.20962.1.toml @@ -0,0 +1,64 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.20962.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:089ec9febb5c471c4e1a8def0b8261ea0f29eb4deecf0fd43f8037d8deffb07e", +"sha512:bd58002bd029021d202c8c4e603d8aef78aec36aa4b62e88cb1c4c9dc27a0fc137ceb136860944142378057c6a0efc38eff8c16683b42ed8ecb7c2ac71b66333", +] +url = "http://repo.munts.com/alire/remoteio-1.20962.1.tbz2" +