Skip to content

Instantly share code, notes, and snippets.

@kassane
Last active January 24, 2026 12:15
Show Gist options
  • Select an option

  • Save kassane/79bb85bfd2add96b9c9ff4f0cabb67ef to your computer and use it in GitHub Desktop.

Select an option

Save kassane/79bb85bfd2add96b9c9ff4f0cabb67ef to your computer and use it in GitHub Desktop.

Revisions

  1. kassane revised this gist Jan 24, 2026. 1 changed file with 7 additions and 8 deletions.
    15 changes: 7 additions & 8 deletions PKGBUILD
    Original file line number Diff line number Diff line change
    @@ -1,26 +1,25 @@
    # Maintainer: Matheus França <matheus-catarino@hotmail.com>
    pkgname=qidistudio-appimage
    _pkgname=QIDIStudio
    pkgver=2.04.00.70
    pkgver=2.04.01.10
    pkgrel=1
    pkgdesc="PC Software for QIDI 3D printers (based on Bambu Studio fork)"
    pkgdesc="PC Software for QIDI 3D printers"
    arch=('x86_64')
    url="https://github.com/QIDITECH/QIDIStudio"
    license=('AGPL-3.0')
    options=('!strip' '!debug')
    provides=('qidistudio')
    conflicts=('qidistudio' 'qidistudio-git' 'qidistudio-bin')

    source=("${_pkgname}-${pkgver}.AppImage::https://github.com/QIDITECH/QIDIStudio/releases/download/v${pkgver}/QIDIStudio_0${pkgver}_Ubuntu24.AppImage")
    sha256sums=('ae9378e3a0b414291758b0cef57fb0c108db4a480ca0745c3242c383a66312d0')
    source=("${_pkgname}_${pkgver}_Ubuntu24.AppImage::https://github.com/QIDITECH/QIDIStudio/releases/download/v${pkgver}/QIDIStudio_v0${pkgver}_Ubuntu24.AppImage")
    sha256sums=('40dbdbf9a188bff1f19b5d27d2280cb889e61cd96d178f0e4a7af83c0d2042ef')

    package() {
    cd "$srcdir"

    chmod +x "${_pkgname}-${pkgver}.AppImage"
    install -Dm755 "${_pkgname}-${pkgver}.AppImage" "$pkgdir/usr/bin/qidistudio"
    chmod +x "${_pkgname}_${pkgver}_Ubuntu24.AppImage"
    install -Dm755 "${_pkgname}_${pkgver}_Ubuntu24.AppImage" "$pkgdir/usr/bin/qidistudio"

    ./"${_pkgname}-${pkgver}.AppImage" --appimage-extract &>/dev/null
    ./"${_pkgname}_${pkgver}_Ubuntu24.AppImage" --appimage-extract &>/dev/null

    if [ -f "squashfs-root/QIDIStudio.png" ]; then
    install -Dm644 "squashfs-root/QIDIStudio.png" "$pkgdir/usr/share/pixmaps/QIDIStudio.png"
  2. kassane revised this gist Dec 26, 2025. 1 changed file with 8 additions and 7 deletions.
    15 changes: 8 additions & 7 deletions PKGBUILD
    Original file line number Diff line number Diff line change
    @@ -1,25 +1,26 @@
    # Maintainer: Matheus França <matheus-catarino@hotmail.com>
    pkgname=qidistudio-appimage
    _pkgname=QIDIStudio
    pkgver=2.03.01.70
    pkgver=2.04.00.70
    pkgrel=1
    pkgdesc="PC Software for QIDI 3D printers"
    pkgdesc="PC Software for QIDI 3D printers (based on Bambu Studio fork)"
    arch=('x86_64')
    url="https://github.com/QIDITECH/QIDIStudio"
    license=('AGPL-3.0')
    options=('!strip' '!debug')
    provides=('qidistudio')
    conflicts=('qidistudio' 'qidistudio-git' 'qidistudio-bin')
    source=("${_pkgname}_${pkgver}_Ubuntu24.AppImage::https://github.com/QIDITECH/QIDIStudio/releases/download/v2.03.01.70/QIDIStudio_2.03.01.70_Ubuntu24.AppImage")
    sha256sums=('640f46c1e6974130bde15453c446ad64b95b705bd9a37aa1aaa73299b99cbee8')

    source=("${_pkgname}-${pkgver}.AppImage::https://github.com/QIDITECH/QIDIStudio/releases/download/v${pkgver}/QIDIStudio_0${pkgver}_Ubuntu24.AppImage")
    sha256sums=('ae9378e3a0b414291758b0cef57fb0c108db4a480ca0745c3242c383a66312d0')

    package() {
    cd "$srcdir"

    chmod +x "${_pkgname}_${pkgver}_Ubuntu24.AppImage"
    install -Dm755 "${_pkgname}_${pkgver}_Ubuntu24.AppImage" "$pkgdir/usr/bin/qidistudio"
    chmod +x "${_pkgname}-${pkgver}.AppImage"
    install -Dm755 "${_pkgname}-${pkgver}.AppImage" "$pkgdir/usr/bin/qidistudio"

    ./"${_pkgname}_${pkgver}_Ubuntu24.AppImage" --appimage-extract &>/dev/null
    ./"${_pkgname}-${pkgver}.AppImage" --appimage-extract &>/dev/null

    if [ -f "squashfs-root/QIDIStudio.png" ]; then
    install -Dm644 "squashfs-root/QIDIStudio.png" "$pkgdir/usr/share/pixmaps/QIDIStudio.png"
  3. kassane created this gist Dec 15, 2025.
    38 changes: 38 additions & 0 deletions PKGBUILD
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    # Maintainer: Matheus França <matheus-catarino@hotmail.com>
    pkgname=qidistudio-appimage
    _pkgname=QIDIStudio
    pkgver=2.03.01.70
    pkgrel=1
    pkgdesc="PC Software for QIDI 3D printers"
    arch=('x86_64')
    url="https://github.com/QIDITECH/QIDIStudio"
    license=('AGPL-3.0')
    options=('!strip' '!debug')
    provides=('qidistudio')
    conflicts=('qidistudio' 'qidistudio-git' 'qidistudio-bin')
    source=("${_pkgname}_${pkgver}_Ubuntu24.AppImage::https://github.com/QIDITECH/QIDIStudio/releases/download/v2.03.01.70/QIDIStudio_2.03.01.70_Ubuntu24.AppImage")
    sha256sums=('640f46c1e6974130bde15453c446ad64b95b705bd9a37aa1aaa73299b99cbee8')

    package() {
    cd "$srcdir"

    chmod +x "${_pkgname}_${pkgver}_Ubuntu24.AppImage"
    install -Dm755 "${_pkgname}_${pkgver}_Ubuntu24.AppImage" "$pkgdir/usr/bin/qidistudio"

    ./"${_pkgname}_${pkgver}_Ubuntu24.AppImage" --appimage-extract &>/dev/null

    if [ -f "squashfs-root/QIDIStudio.png" ]; then
    install -Dm644 "squashfs-root/QIDIStudio.png" "$pkgdir/usr/share/pixmaps/QIDIStudio.png"
    else
    msg2 "Warning: Could not automatically find an icon file (QIDIStudio.png) within the AppImage."
    msg2 " Desktop entry icon might be missing."
    fi

    if [ -f "squashfs-root/QIDIStudio.desktop" ]; then
    sed -i 's|Exec=AppRun|Exec=/usr/bin/qidistudio|' "squashfs-root/QIDIStudio.desktop"
    install -Dm644 "squashfs-root/QIDIStudio.desktop" "$pkgdir/usr/share/applications/QIDIStudio.desktop"
    else
    msg2 "Fail: Could not automatically find desktop file (QIDIStudio.desktop) within the AppImage."
    exit 1
    fi
    }