PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/soundcraft/PAGBUILD.yaml main

59 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
pkgname: soundcraft
pkgver: '0.14.0'
pkgrel: '1'
pkgdesc: 'SoundCraft - otwarta stacja DAW: nagrywanie, edycja i miks audio/MIDI, czysty Rust'
url: 'https://github.com/storytold/soundcraft'
arch: x86_64
license:
- Apache-2.0

# Oficjalna binarka z GitHub Releases (jak chrome/vscodium/librewolf) — bez
# kompilacji Rusta. Aplikacja to ELF + katalog share/ (ikony, .desktop).
# Biblioteki GUI (Vulkan/EGL/X11/Wayland/xkbcommon) ladowane w runtime.
depends:
- glibc
- gcc
- alsa-lib
- mesa
- libglvnd
- vulkan-icd-loader
- xorg-libx11
- xorg-libxcursor
- libxcb
- wayland
- libxkbcommon
- hicolor-icon-theme
makedepends: []

source:
- 'https://github.com/storytold/soundcraft/releases/download/v${pkgver}/soundcraft-${pkgver}-linux-x86_64.tar.gz'

sha256sums:
- '2f83503feda6aa2c8d4bc12c44f571422c4389fc664a92bbed092d2bf1d500ad'

# pagsync --check-updates
update: |
  curl -fsSL --max-time 30 "https://api.github.com/repos/storytold/soundcraft/releases/latest" \
    | python3 -c 'import json,sys; print(json.load(sys.stdin)["tag_name"].lstrip("v"))'

build: |
  _src="soundcraft-${pkgver}-linux-x86_64"
  [ -d "$_src" ] || { echo "brak katalogu $_src" >&2; exit 1; }

  install -dm0755 "${PKGDIR}/usr/lib/soundcraft" "${PKGDIR}/usr/bin"
  cp -a "$_src"/bin/. "${PKGDIR}/usr/lib/soundcraft/"
  chmod 0755 "${PKGDIR}/usr/lib/soundcraft/"*

  # RELATYWNE dowiazania — absolutne cele bywaly odrzucane przez starsze pag
  for _b in "${PKGDIR}/usr/lib/soundcraft/"*; do
    [ -f "$_b" ] || continue
    ln -sfn "../lib/soundcraft/${_b##*/}" "${PKGDIR}/usr/bin/${_b##*/}"
  done

  if [ -d "$_src/share" ]; then
    install -dm0755 "${PKGDIR}/usr/share"
    cp -a "$_src"/share/. "${PKGDIR}/usr/share/"
  fi

package: |
  true