diff --git a/gui-apps/ashell/ashell-0.3.0.ebuild b/gui-apps/ashell/ashell-0.3.0.ebuild index f1d5ec6261..b6a8da85cd 100644 --- a/gui-apps/ashell/ashell-0.3.0.ebuild +++ b/gui-apps/ashell/ashell-0.3.0.ebuild @@ -472,7 +472,10 @@ declare -A GIT_CRATES=( [smithay-clipboard]='https://github.com/pop-os/smithay-clipboard;ab422ddcc95a9a1717df094f9c8fe69e2fdb2a27;smithay-clipboard-%commit%' ) -inherit cargo +LLVM_COMPAT=( 18 19 ) +RUST_NEEDS_LLVM=1 + +inherit cargo llvm-r1 DESCRIPTION="A ready to go Wayland status bar for Hyprland" HOMEPAGE="https://github.com/MalpenZibo/ashell" @@ -497,3 +500,12 @@ RDEPEND=" media-video/pipewire:= x11-libs/libxkbcommon " +# libclang is required for bindgen +BDEPEND=" + $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}') +" + +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +}