Fix Bambu Studio packaging and track upstream releases
This commit is contained in:
1 parent
29c9561a3f
commit
e2d1f4f387
5 files changed
+51
-70
No files matched your search
@@ -1,5 +1,17 @@
|
||||
{
|
||||
"source": "aur",
|
||||
"source": "local",
|
||||
"release_ring": "fast",
|
||||
"upstream_commit": "b962c12d14873f94669e0e256a444f957b1843cd"
|
||||
"origin": {
|
||||
"aur": "bambustudio-bin",
|
||||
"commit": "b962c12d14873f94669e0e256a444f957b1843cd"
|
||||
},
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"regex": "https://api.github.com/repos/bambulab/BambuStudio/releases/latest",
|
||||
"pattern": "\"name\"\\s*:\\s*\"BambuStudio_ubuntu24\\.04-v(?P<version>[0-9]+(?:\\.[0-9]+)*)-(?P<build>[0-9]+)\\.AppImage\"",
|
||||
"variables": {
|
||||
"_build": "{build}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
--- 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
|
||||
@@ -1,17 +0,0 @@
|
||||
--- a/BambuStudio.desktop
|
||||
+++ b/BambuStudio.desktop
|
||||
@@ -1,7 +1,12 @@
|
||||
[Desktop Entry]
|
||||
-Name=BambuStudio
|
||||
+Name=Bambu Studio
|
||||
+GenericName=3D Printing Software
|
||||
+Comment=Slicer for Bambu Lab and other 3D printers
|
||||
Exec=/usr/bin/bambu-studio %U
|
||||
Icon=BambuStudio
|
||||
+Terminal=false
|
||||
Type=Application
|
||||
-Categories=Utility;
|
||||
+Categories=Graphics;3DGraphics;Engineering;
|
||||
MimeType=x-scheme-handler/bambustudio;model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;
|
||||
+Keywords=3D;Printing;Slicer;gcode;stl;3mf
|
||||
+StartupWMClass=bambu-studio
|
||||
Reference in new issue
Block a user