From d2be6c8e74c89525462a4f643f774a7e2c77badf Mon Sep 17 00:00:00 2001 From: pmunts Date: Mon, 13 Mar 2023 05:10:03 -0700 Subject: [PATCH] libsimpleio, remoteio 1.20946.1 (#758) * libsimpleio release 1.20946.1 More improvements, especially to the support for Mikroelektronika Click Boards. Also support for more Remote I/O Protocol servers. * remoteio release 1.20946.1 More improvements, especially to the support for Mikroelektronika Click Boards. Also support for more Remote I/O Protocol servers. --- .../li/libsimpleio/libsimpleio-1.20946.1.toml | 28 ++++++++ index/re/remoteio/remoteio-1.20946.1.toml | 64 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 index/li/libsimpleio/libsimpleio-1.20946.1.toml create mode 100644 index/re/remoteio/remoteio-1.20946.1.toml diff --git a/index/li/libsimpleio/libsimpleio-1.20946.1.toml b/index/li/libsimpleio/libsimpleio-1.20946.1.toml new file mode 100644 index 00000000..7bc7ba6b --- /dev/null +++ b/index/li/libsimpleio/libsimpleio-1.20946.1.toml @@ -0,0 +1,28 @@ +name = "libsimpleio" +description = "Linux Simple I/O Library for GNAT Ada" +version = "1.20946.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["libsimpleio.gpr"] + +tags = ["embedded", "linux", "libsimpleio", "remoteio", "beaglebone", +"pocketbeagle", "raspberrypi", "raspberry", "pi", "adc", "dac", "gpio", +"hid", "i2c", "motor", "pwm", "sensor", "serial", "servo", "spi", "stepper", +"watchdog"] + +[available."case(os)"] +'linux' = true +"..." = false + +[origin] +hashes = [ +"sha256:352b87166e37f9ee263c086a8ac9aa8df257cd6a77b6477fe481e6af1cb2272c", +"sha512:00f93392df84e7044a88d7b9f545a55e64529f16aad118eefcea0993c4938afadbb7a323945fcc7d33665fe23fc9aab1e962839ed06175c94e203160e2697bb8", +] +url = "http://repo.munts.com/alire/libsimpleio-1.20946.1.tbz2" + diff --git a/index/re/remoteio/remoteio-1.20946.1.toml b/index/re/remoteio/remoteio-1.20946.1.toml new file mode 100644 index 00000000..a599e8b9 --- /dev/null +++ b/index/re/remoteio/remoteio-1.20946.1.toml @@ -0,0 +1,64 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.20946.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:3465514d6bfe1b9d74c05eb4b545f92aaacba137f59d2ec0089a294be9d9db7d", +"sha512:658f6eb016124ac958a35a62cbc2dab1b09ee66ae472528e302a498354a0282b6ee70c350f1d2b7cf8f30309f2206105449ffed36fbcd76fbacca88f60ca54d2", +] +url = "http://repo.munts.com/alire/remoteio-1.20946.1.tbz2" +