From 8364d3583f38d0c8cfcce3099aeddd0a91c362e5 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 4 Dec 2025 23:19:52 -0800 Subject: [PATCH] add: Arduino App Lab (#8049) (#8075) * app lab initial commit * desktop file * install crap * $ vs % * remove unpackaged suggestion * tar instead of autosetup * specify arch in anda.hcl * i forgor file extensions * why are you this way Qualcomm * i may not have eyes or a brain * whoops * $ vs % boogaloo * a zip is not a tar * fuck around so more * ITS ALIVE * icon * smh owen broke my shit * back to hicolor * make work * we done * license bullshit * john * whatever * 50mb of licenses.... * more bullshit because of the gpl * bullshit * this file crashes laptops * fuckin * Update anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec * provides --------- Not approved by: John Arduino App Lab Source Zip File (cherry picked from commit 9ea70ecb14bc7e7909619dbb28eb3e54c26e98b6) Signed-off-by: Jaiden Riordan Signed-off-by: Owen-sz Co-authored-by: Jaiden Riordan Co-authored-by: Gilver Co-authored-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/tools/arduino-app-lab-bin/anda.hcl | 6 ++ .../arduino-app-lab-bin.spec | 59 +++++++++++++++++++ .../cc.arduino.AppLab.desktop | 11 ++++ .../cc.arduino.AppLab.metainfo.xml | 25 ++++++++ 4 files changed, 101 insertions(+) create mode 100644 anda/tools/arduino-app-lab-bin/anda.hcl create mode 100644 anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec create mode 100644 anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop create mode 100644 anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml diff --git a/anda/tools/arduino-app-lab-bin/anda.hcl b/anda/tools/arduino-app-lab-bin/anda.hcl new file mode 100644 index 0000000000..de334de753 --- /dev/null +++ b/anda/tools/arduino-app-lab-bin/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "arduino-app-lab-bin.spec" + } +} \ No newline at end of file diff --git a/anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec b/anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec new file mode 100644 index 0000000000..ca673e4765 --- /dev/null +++ b/anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec @@ -0,0 +1,59 @@ +%global appid cc.arduino.AppLab + +Name: arduino-app-lab-bin +Version: 0.2.4 +Release: 1%{?dist} +Summary: A powerful visual environment for managing the Arduino UNO Q + +Provides: arduino-app-lab +URL: https://www.arduino.cc/en/software +License: GPL-3.0 + +Source0: https://downloads.arduino.cc/AppLab/Stable/ArduinoAppLab_%{version}_Linux_x86-64.tar.gz +Source1: https://downloads.arduino.cc/AppLab/Stable/source-app-lab-%{version}.zip +Source2: cc.arduino.AppLab.desktop +Source3: cc.arduino.AppLab.metainfo.xml + +ExclusiveArch: x86_64 + +Requires: android-tools + +BuildRequires: terra-appstream-helper + +Suggests: arduino-flasher-cli arduino-app-cli + +Packager: Jaiden Riordan + +%description +%summary. + +%prep +tar -xvf %{_sourcedir}/ArduinoAppLab_%{version}_Linux_x86-64.tar.gz +unzip %{_sourcedir}/source-app-lab-%{version}.zip + +%install +install -dm755 %{buildroot}%{_bindir} +install -p -m755 ArduinoAppLab_%{version}_Linux_x86-64/arduino-app-lab %{buildroot}%{_bindir}/%{name} + +install -dm755 %{buildroot}%{_iconsdir}/hicolor/scalable/apps/ +install -p -m644 source-app-lab/ui-packages/images/assets/round-arduino-logo.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/cc.arduino.AppLab.svg + +install -dm755 %{buildroot}%{_datadir}/applications/ +install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{appid}.desktop + +cp source-app-lab/LICENSE -t . +cp source-app-lab/dependency_licenses -t . + +%terra_appstream -o %{SOURCE3} + +%files +%license LICENSE +%license dependency_licenses +%{_bindir}/%{name} +%{_iconsdir}/hicolor/scalable/apps/%{appid}.svg +%{_datadir}/applications/%{appid}.desktop +%{_metainfodir}/%{appid}.metainfo.xml + +%changelog +* Thu Dec 4 2025 Jaiden Riordan +- Package arduino-app-lab-bin \ No newline at end of file diff --git a/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop b/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop new file mode 100644 index 0000000000..0f3d196354 --- /dev/null +++ b/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Arduino App Lab +Comment=A powerful visual environment for managing the Arduino UNO Q +Exec=arduino-app-lab-bin +Icon=cc.arduino.AppLab +Terminal=false +Type=Application +Categories=Development +StartupNotify=true +Keywords=arduino;applab;lab +StartupWMClass=arduino-app-lab-bin \ No newline at end of file diff --git a/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml b/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml new file mode 100644 index 0000000000..9d703d791a --- /dev/null +++ b/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml @@ -0,0 +1,25 @@ + + + cc.arduino.AppLab + CC0-1.0 + GPL-3.0 + + Arduino App Lab + A powerful visual environment for managing the Arduino UNO Q + + + /usr/share/icons/hicolor/scalable/apps/cc.arduino.AppLab.svg + + +

+ A powerful visual environment for managing your UNO Q board — combine prebuilt modules, called Bricks, with AI models to define your board’s behavior with ease. + App Lab supports both classic C++ sketches via the Arduino IDE and Python, giving you full flexibility to develop the way you prefer. +

+
+ https://arduino.cc + + + + +