From ea4946244bdd94bf8216f67791dbc9bcc5517af5 Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Tue, 7 Sep 2021 17:59:08 +0200 Subject: [PATCH] Port stable-1.0 into devel-1.1 (#339) * remoteio release 1.19928.2 (#309) msys tar needs tarballs created with -H posix * Add files via upload (#326) * mcp2221, remoteio 1.19937.1 (#333) * mcp2221 release 1.19937.1 Fixed website URL * remoteio release 1.19937.1 Fixed website URL * Fix microbit_bsp (#338) * Update microbit_bsp-0.2.0.toml * Update microbit_bsp-0.1.0.toml Co-authored-by: pmunts Co-authored-by: Paul Jarrett Co-authored-by: Fabien Chouteau --- index/mc/mcp2221/mcp2221-1.19937.1.toml | 47 +++++++++++++++++++ index/mi/microbit_bsp/microbit_bsp-0.1.0.toml | 4 +- index/mi/microbit_bsp/microbit_bsp-0.2.0.toml | 4 +- index/re/remoteio/remoteio-1.19937.1.toml | 47 +++++++++++++++++++ 4 files changed, 96 insertions(+), 6 deletions(-) create mode 100644 index/mc/mcp2221/mcp2221-1.19937.1.toml create mode 100644 index/re/remoteio/remoteio-1.19937.1.toml diff --git a/index/mc/mcp2221/mcp2221-1.19937.1.toml b/index/mc/mcp2221/mcp2221-1.19937.1.toml new file mode 100644 index 00000000..b451f855 --- /dev/null +++ b/index/mc/mcp2221/mcp2221-1.19937.1.toml @@ -0,0 +1,47 @@ +name = "mcp2221" +description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada" +version = "1.19937.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["mcp2221.gpr", "programs.gpr"] + +tags = ["embedded", "linux", "mcp2221", "adc", "dac", "gpio", "i2c", "motor", +"pwm", "sensor", "serial", "servo", "spi", "stepper"] + +[available."case(os)"] +'linux|windows' = true +"..." = false + +# Linux needs libhidapi-dev and/or libusb-1.0-0-dev installed + +[[depends-on]] +[depends-on."case(os)"."linux"] +libhidapi = "~0.8" + +[[depends-on]] +[depends-on."case(os)"."linux"] +libusb = "~1.0" + +# On Linux, patch hid-hidapi.ads to link with libhidapi-hidraw.so + +[[actions."case(os)".linux]] +type = "post-fetch" +command = ["sh", "-c", "sed -i 's/lhidapi/lhidapi-hidraw/g' src/objects/hid/hid-hidapi.ads"] + +# On Windows, copy .DLL files to ./bin/ (for execution) and ./lib/ (for linking) + +[[actions."case(os)".windows]] +type = "post-fetch" +command = ["sh", "-c", "mkdir -p ./bin && cp src/win64/*.dll ./bin && mkdir -p ./lib && cp src/win64/*.dll ./lib"] + +[origin] +hashes = [ +"sha512:5caf240f629b0d133121e5765dd2df591f45e2221373b010c74c9e870fea308d445d2e957cbe5806ad0ecff846a6a3ec15c8c8fcd84ae7b532998cd2a5eba2fe", +] +url = "http://repo.munts.com/alire/mcp2221-1.19937.1.tbz2" + diff --git a/index/mi/microbit_bsp/microbit_bsp-0.1.0.toml b/index/mi/microbit_bsp/microbit_bsp-0.1.0.toml index a4846558..05781a20 100644 --- a/index/mi/microbit_bsp/microbit_bsp-0.1.0.toml +++ b/index/mi/microbit_bsp/microbit_bsp-0.1.0.toml @@ -1,4 +1,4 @@ -description = "Middleware layer of the Ada Drivers Library project" +description = "Board Support Package for the BBC micro:bit v1" long-description = '''# microbit BSP Board Support Package for the BBC micro:bit https://microbit.org/ @@ -8,7 +8,6 @@ Library](https://github.com/AdaCore/Ada_Drivers_Library/tree/master/middleware). Any bug report, issue, contribution must be adressed to the [Ada Drivers Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo. - ''' name = "microbit_bsp" @@ -17,7 +16,6 @@ licenses = "BSD-3-Clause" website="https://github.com/AdaCore/Ada_Drivers_Library/" maintainers = ["chouteau@adacore.com"] maintainers-logins = ["Fabien-Chouteau"] -project-files = ["adl_middleware.gpr"] tags = ["embedded", "nostd", "microbit", "bbc", "nrf51", "bsp"] [[depends-on]] diff --git a/index/mi/microbit_bsp/microbit_bsp-0.2.0.toml b/index/mi/microbit_bsp/microbit_bsp-0.2.0.toml index b4f75aaa..918a1f5b 100644 --- a/index/mi/microbit_bsp/microbit_bsp-0.2.0.toml +++ b/index/mi/microbit_bsp/microbit_bsp-0.2.0.toml @@ -1,4 +1,4 @@ -description = "Middleware layer of the Ada Drivers Library project" +description = "Board Support Package for the BBC micro:bit v1" long-description = '''# microbit BSP Board Support Package for the BBC micro:bit https://microbit.org/ @@ -8,7 +8,6 @@ Library](https://github.com/AdaCore/Ada_Drivers_Library/tree/master/middleware). Any bug report, issue, contribution must be adressed to the [Ada Drivers Library](https://github.com/AdaCore/Ada_Drivers_Library/) repo. - ''' name = "microbit_bsp" @@ -17,7 +16,6 @@ licenses = "BSD-3-Clause" website="https://github.com/AdaCore/Ada_Drivers_Library/" maintainers = ["chouteau@adacore.com"] maintainers-logins = ["Fabien-Chouteau"] -project-files = ["adl_middleware.gpr"] tags = ["embedded", "nostd", "microbit", "bbc", "nrf51", "bsp"] [[depends-on]] diff --git a/index/re/remoteio/remoteio-1.19937.1.toml b/index/re/remoteio/remoteio-1.19937.1.toml new file mode 100644 index 00000000..84cd60e1 --- /dev/null +++ b/index/re/remoteio/remoteio-1.19937.1.toml @@ -0,0 +1,47 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.19937.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["remoteio.gpr", "programs.gpr"] + +tags = ["embedded", "linux", "remoteio", "adc", "dac", "gpio", "i2c", "motor", +"pwm", "sensor", "serial", "servo", "spi", "stepper"] + +[available."case(os)"] +'linux|windows' = true +"..." = false + +# Linux needs libhidapi-dev and/or libusb-1.0-0-dev installed + +[[depends-on]] +[depends-on."case(os)"."linux"] +libhidapi = "~0.8" + +[[depends-on]] +[depends-on."case(os)"."linux"] +libusb = "~1.0" + +# On Linux, patch hid-hidapi.ads to link with libhidapi-hidraw.so + +[[actions."case(os)".linux]] +type = "post-fetch" +command = ["sh", "-c", "sed -i 's/lhidapi/lhidapi-hidraw/g' src/objects/hid/hid-hidapi.ads"] + +# On Windows, copy .DLL files to ./bin/ (for execution) and ./lib/ (for linking) + +[[actions."case(os)".windows]] +type = "post-fetch" +command = ["sh", "-c", "mkdir -p ./bin && cp src/win64/*.dll ./bin && mkdir -p ./lib && cp src/win64/*.dll ./lib"] + +[origin] +hashes = [ +"sha512:fc6c694fddf9a62f419ca3c189698c0761b3fbe5c6133d30c11ba2176471f88d019de47c058cadc6eaf253efefcf36bd5ce54637b17481a8fde85894d2d2e84f", +] +url = "http://repo.munts.com/alire/remoteio-1.19937.1.tbz2" +