Compare commits

...

13 Commits

Author SHA1 Message Date
Owen Zimmerman 9f8a9e0a94 Update arduino-app-lab.spec 2026-05-27 11:52:38 -05:00
Owen Zimmerman b291fb7ddc Try 2026-05-27 11:50:47 -05:00
Owen-sz 756ad2ef35 dont build on x86_64 only
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-16 19:29:11 -05:00
Owen-sz 9f1b10fbb9 oops still need this
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-16 19:27:34 -05:00
Owen-sz 07bcf66f75 remove exclusivearch
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-16 19:27:02 -05:00
Owen-sz 19095d4e57 remove other -bin callout in desktop file
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-16 18:41:39 -05:00
Owen Zimmerman 63b4479ef7 Delete anda/tools/arduino-app-lab-bin/update.rhai
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-03-16 18:38:48 -05:00
Owen Zimmerman 989c3a6579 Delete anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-03-16 18:38:40 -05:00
Owen Zimmerman ae58a283fb Delete anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-03-16 18:38:33 -05:00
Owen Zimmerman 08723f91ed Delete anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-03-16 18:38:26 -05:00
Owen Zimmerman 3c1989b829 Delete anda/tools/arduino-app-lab-bin/anda.hcl
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-03-16 18:38:19 -05:00
Owen-sz 31803f3961 fmt
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-16 18:35:30 -05:00
Owen-sz 89b1942c58 chore (arduino-app-lab): build from source, rename to remove the -bin, fix licenses, clean up spec
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-03-16 18:35:00 -05:00
7 changed files with 89 additions and 72 deletions
-6
View File
@@ -1,6 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "arduino-app-lab-bin.spec"
}
}
@@ -1,64 +0,0 @@
%global appid cc.arduino.AppLab
Name: arduino-app-lab-bin
Version: 0.5.0
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 desktop-file-utils
Suggests: arduino-flasher-cli arduino-app-cli
Packager: Jaiden Riordan <jade@fyralabs.com>
%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}%{_scalableiconsdir}/
install -p -m644 source-app-lab/ui-packages/images/assets/round-arduino-logo.svg %{buildroot}%{_scalableiconsdir}/cc.arduino.AppLab.svg
install -dm755 %{buildroot}%{_appsdir}/
install -p -m644 %{SOURCE2} %{buildroot}%{_appsdir}/%{appid}.desktop
cp source-app-lab/LICENSE -t .
cp source-app-lab/dependency_licenses -t .
%terra_appstream -o %{SOURCE3}
%check
desktop-file-validate %{buildroot}%{_appsdir}/%{appid}.desktop
%files
%license LICENSE
%license dependency_licenses
%{_bindir}/%{name}
%{_scalableiconsdir}/%{appid}.svg
%{_appsdir}/%{appid}.desktop
%{_metainfodir}/%{appid}.metainfo.xml
%changelog
* Thu Dec 25 2025 Owen Zimmerman <owen@fyralabs.com>
- Add %check, update macros
* Thu Dec 4 2025 Jaiden Riordan <jade@fyralabs.com>
- Package arduino-app-lab-bin
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "arduino-app-lab.spec"
}
}
@@ -0,0 +1,82 @@
%global appid cc.arduino.AppLab
%define debug_package %{nil}
Name: arduino-app-lab
Version: 0.5.0
Release: 2%?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-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND Apache-2.0 AND MIT AND ISC AND BSD-2-Clause AND 0BSD AND AGPL-3.0-or-later AND BlueOak-1.0.0 AND Python-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND Unlicense
Source0: https://github.com/arduino/arduino-app-lab/archive/refs/tags/al-%{version}.tar.gz
Source1: cc.arduino.AppLab.desktop
Source2: cc.arduino.AppLab.metainfo.xml
BuildRequires: desktop-file-utils
BuildRequires: yarnpkg
BuildRequires: pnpm
BuildRequires: wails
BuildRequires: webkit2gtk4.1-devel
BuildRequires: golang
BuildRequires: wget
BuildRequires: jq
Suggests: arduino-flasher-cli
Suggests: arduino-app-cli
Obsoletes: arduino-app-lab-bin < 0.5.0-2
Requires: android-tools
Packager: Jaiden Riordan <jade@fyralabs.com>, Owen Zimmerman <owen@fyralabs.com>
%description
%{summary}.
%prep
%autosetup -n %{name}-al-%{version}
%conf
%{__yarn}
%set_javascript_build_flags
pushd standalone-apps/app-lab-desktop/internal/board/
./download_resources.sh
popd
%build
pushd standalone-apps/app-lab-desktop
wails build -tags webkit2_41
popd
%install
install -Dm755 standalone-apps/app-lab-desktop/build/bin/ArduinoAppLab %{buildroot}%{_bindir}/%{name}
install -Dm644 standalone-apps/app-lab-desktop/build/appicon.png %{buildroot}%{_hicolordir}/512x512/apps/%{appid}.png
%desktop_file_install %{S:1}
%terra_appstream -o %{S:2}
%check
desktop-file-validate %{buildroot}%{_appsdir}/%{appid}.desktop
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_hicolordir}/512x512/apps/%{appid}.png
%{_appsdir}/%{appid}.desktop
%{_metainfodir}/%{appid}.metainfo.xml
%changelog
* Thu Dec 25 2025 Owen Zimmerman <owen@fyralabs.com>
- Build from source, clean some stuff up, add third party licenses
* Thu Dec 25 2025 Owen Zimmerman <owen@fyralabs.com>
- Add %check, update macros
* Thu Dec 4 2025 Jaiden Riordan <jade@fyralabs.com>
- Package arduino-app-lab-bin
@@ -1,11 +1,11 @@
[Desktop Entry]
Name=Arduino App Lab
Comment=A powerful visual environment for managing the Arduino UNO Q
Exec=arduino-app-lab-bin
Exec=arduino-app-lab
Icon=cc.arduino.AppLab
Terminal=false
Type=Application
Categories=Development
StartupNotify=true
Keywords=arduino;applab;lab
StartupWMClass=arduino-app-lab-bin
StartupWMClass=arduino-app-lab