Install this version:
emerge -a =media-sound/soundcraft-0.15.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-sound/soundcraft-0.15.0
Or alternatively:
emerge --autounmask-write -a =media-sound/soundcraft-0.15.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.15.0 | 8 | -* ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUST_MIN_VER="1.95.0"
CRATES=""
declare -A GIT_CRATES=(
[craft-docpath]='https://github.com/storytold/craft-libs;92d392cff132eaf53e13afff77f38b5c11b73aa0;craft-libs-%commit%/crates/docpath'
[craft-fonts-build]='https://github.com/storytold/craft-libs;92d392cff132eaf53e13afff77f38b5c11b73aa0;craft-libs-%commit%/crates/fonts-build'
[craft-i18n]='https://github.com/storytold/craft-libs;92d392cff132eaf53e13afff77f38b5c11b73aa0;craft-libs-%commit%/crates/i18n'
[craft-media]='https://github.com/storytold/craft-libs;92d392cff132eaf53e13afff77f38b5c11b73aa0;craft-libs-%commit%/crates/media'
[craft-ui]='https://github.com/storytold/craft-libs;92d392cff132eaf53e13afff77f38b5c11b73aa0;craft-libs-%commit%/crates/ui'
[craft-update]='https://github.com/storytold/craft-libs;04aa1703b32d299e54f78fcde4182f2b393a9116;craft-libs-%commit%/crates/update'
[ecolor]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/ecolor'
[eframe]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/eframe'
[egui-wgpu]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/egui-wgpu'
[egui-winit]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/egui-winit'
[egui]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/egui'
[egui_glow]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/egui_glow'
[egui_kittest]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/egui_kittest'
[emath]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/emath'
[epaint]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/epaint'
[epaint_default_fonts]='https://github.com/storytold/egui;6d518fc799681571963842f95b55a6b68431b15a;egui-%commit%/crates/epaint_default_fonts'
[winit]='https://github.com/storytold/winit;a517b3846ee8457d84ee4975110bfda6797c44dc;winit-%commit%'
)
inherit cargo mndz-cargo desktop xdg
DESCRIPTION="Open-source native audio workstation"
HOMEPAGE="https://getartcraft.com/apps/soundcraft https://github.com/storytold/soundcraft"
SRC_URI="https://github.com/storytold/soundcraft/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/0x6d6e647a/mndz-overlay-assets/releases/download/soundcraft-${PV}/soundcraft-${PV}-crates.tar.xz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
LICENSE="|| ( MIT Apache-2.0 )"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD Boost-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0
Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="+gui +cli +portal +X +wayland test"
REQUIRED_USE="|| ( gui cli ) gui? ( || ( X wayland ) )"
RESTRICT="!test? ( test )"
# gui still needs xdg-open.
DEPEND="
gui? (
media-libs/alsa-lib
)
"
RDEPEND="
gui? (
media-libs/alsa-lib
sys-apps/dbus
x11-misc/xdg-utils
media-libs/libglvnd
media-libs/vulkan-loader
x11-libs/libxkbcommon
portal? ( sys-apps/xdg-desktop-portal )
!portal? ( gnome-extra/zenity )
)
X? (
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libxkbcommon[X]
)
wayland? (
dev-libs/wayland
)
"
src_prepare() {
default
mndz-cargo_rewrite_patch_git_pins
# The VST3 test loads the first libz.so.1 it finds and expects a missing
# GetPluginFactory. Gentoo multilib has ELF32 at /usr/lib and ELF64 in lib64,
# so the original order dlopens the 32-bit library and dies with ELFCLASS32.
local test_rs="${S}/crates/vst3-host/src/lib.rs"
local old='"/lib/x86_64-linux-gnu/libz.so.1", "/usr/lib/libz.so.1", "/lib64/libz.so.1"'
local new='"/lib/x86_64-linux-gnu/libz.so.1", "/usr/lib64/libz.so.1", "/lib64/libz.so.1", "/usr/lib/libz.so.1"'
grep -q -F "${old}" "${test_rs}" ||
die "libz probe missing from ${test_rs}; update src_prepare"
sed -i "s|${old}|${new}|" "${test_rs}" || die
}
src_compile() {
local -a pkgs=()
use gui && pkgs+=( -p soundcraft )
use cli && pkgs+=( -p soundcraft-cli )
cargo_src_compile "${pkgs[@]}"
}
src_test() {
# cargo_src_test would forward a package selection and drop the library crates.
cargo_src_test --workspace --exclude soundcraft-web --exclude xtask
}
src_install() {
# cargo install rejects -p. src_compile already built the selected bins.
use gui && dobin "$(cargo_target_dir)/soundcraft"
use cli && dobin "$(cargo_target_dir)/soundcraft-cli"
use gui && QA_FLAGS_IGNORED+=" usr/bin/soundcraft"
use cli && QA_FLAGS_IGNORED+=" usr/bin/soundcraft-cli"
if use gui; then
domenu packaging/linux/ai.storyteller.soundcraft.desktop
insinto /usr/share/mime/packages
newins packaging/linux/ai.storyteller.soundcraft.mime.xml \
ai.storyteller.soundcraft.xml
local rel_date
if [[ -n ${SOURCE_DATE_EPOCH} ]]; then
rel_date=$(date -u -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%d) || die
else
rel_date=$(date -u +%Y-%m-%d) || die
fi
sed -e "s/@VERSION@/${PV}/g" -e "s/@DATE@/${rel_date}/g" \
packaging/linux/ai.storyteller.soundcraft.metainfo.xml.in \
> "${T}"/ai.storyteller.soundcraft.metainfo.xml || die
insinto /usr/share/metainfo
doins "${T}"/ai.storyteller.soundcraft.metainfo.xml
local sz
for sz in 16 24 32 48 64 128 256 512; do
doicon -s "${sz}" \
"assets/app-icon/hicolor/${sz}x${sz}/apps/ai.storyteller.soundcraft.png"
done
if [[ -f assets/app-icon/hicolor/scalable/apps/ai.storyteller.soundcraft.svg ]]; then
doicon -s scalable \
assets/app-icon/hicolor/scalable/apps/ai.storyteller.soundcraft.svg
fi
fi
}
Manage flags for this package:
euse -i <flag> -p media-sound/soundcraft |
euse -E <flag> -p media-sound/soundcraft |
euse -D <flag> -p media-sound/soundcraft
gui? ( media-libs/alsa-lib )
gui? ( media-libs/alsa-lib sys-apps/dbus x11-misc/xdg-utils media-libs/libglvnd media-libs/vulkan-loader x11-libs/libxkbcommon portal? ( sys-apps/xdg-desktop-portal ) !portal? ( gnome-extra/zenity ) ) X? ( x11-libs/libX11 x11-libs/libXcursor x11-libs/libXi x11-libs/libXrandr x11-libs/libxkbcommon[X] ) wayland? ( dev-libs/wayland )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | soundcraft-0.15.0-crates.tar.xz | 36719180 bytes | https://github.com/0x6d6e647a/mndz-overlay-assets/releases/download/soundcraft-0.15.0/soundcraft-0.15.0-crates.tar.xz |
| DIST | soundcraft-0.15.0.tar.gz | 5534198 bytes | https://github.com/storytold/soundcraft/archive/refs/tags/v0.15.0.tar.gz |