Bambu Studio is the official slicer for Bambu Lab printers. Linux builds are GitHub AppImages with a changing timestamp in the filename, so this tracks the AUR bambustudio-bin package that already resolves those assets, and puts it on the fast ring so stable users get updates with omarchy update. Two small Omarchy patches: skip stripping the extracted AppImage, and clear the AppImage ELF magic byte so --appimage-extract works in the build container. The desktop entry is labeled Bambu Studio and grouped under Graphics. Validation: bin/add-package + bin/sync-aur reapply the patches; AUR + .omarchy reproduces the checked-in tree. Built and launched the 2.8.2.61 AppImage on Omarchy 4.0.3 (x86_64); bambu-studio --help reports BambuStudio-02.08.02.61. AUR is currently 02.08.02.60; the next AUR bump will sync through.
18 lines
971 B
Diff
18 lines
971 B
Diff
--- a/PKGBUILD
|
|
+++ b/PKGBUILD
|
|
@@ -10,6 +10,7 @@
|
|
conflicts=('bambustudio' 'bambustudio-git' 'squashfuse')
|
|
depends=('mesa' 'glu' 'cairo' 'gtk3' 'libsoup3' 'gstreamer' 'openvdb' 'wayland' 'wayland-protocols' 'libxkbcommon' 'gst-libav' 'webkit2gtk-4.1')
|
|
makedepends=('fuse2' 'patchelf')
|
|
+options=('!strip')
|
|
# Thanks so much for generating random image names Bambu, much appreciated, keeps you on your toes or something I guess...
|
|
source=("bambustudio-${pkgver}.AppImage::https://github.com/bambulab/BambuStudio/releases/download/v${pkgver}/BambuStudio_ubuntu24.04-v${pkgver/%/-20260814171356}.AppImage"
|
|
"BambuStudio.desktop"
|
|
@@ -21,4 +22,6 @@
|
|
package() {
|
|
cd "$srcdir"
|
|
chmod +x ./bambustudio-${pkgver}.AppImage
|
|
+ # AppImage ELF interpreter can fail in build containers; clear the magic byte.
|
|
+ printf '\x00' | dd of="./bambustudio-${pkgver}.AppImage" bs=1 seek=8 conv=notrunc status=none
|
|
./bambustudio-${pkgver}.AppImage --appimage-extract
|