# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 CRATES=" aho-corasick@1.1.3 aligned@0.4.2 allocator-api2@0.2.21 alsa@0.9.1 alsa-sys@0.3.1 android-tzdata@0.1.1 android_system_properties@0.1.5 anyhow@1.0.98 as-slice@0.2.1 atomic-waker@1.1.2 autocfg@1.4.0 az@1.2.1 bindgen@0.70.1 bindgen@0.71.1 bitflags@1.3.2 bitflags@2.9.1 bon@3.7.1 bon-macros@3.7.1 bstr@1.12.0 build-time@0.1.3 bumpalo@3.17.0 byteorder@1.5.0 bytes@1.10.1 camino@1.1.10 cargo-platform@0.1.9 cargo_metadata@0.18.1 cassowary@0.3.0 castaway@0.2.3 cc@1.2.23 cesu8@1.1.0 cexpr@0.6.0 cfg-if@1.0.0 cfg_aliases@0.2.1 chrono@0.4.41 clang-sys@1.8.1 cmake@0.1.54 colorgrad@0.7.1 combine@4.6.7 compact_str@0.8.1 compact_str@0.9.0 const_format@0.2.34 const_format_proc_macros@0.2.34 core-foundation-sys@0.8.7 coreaudio-rs@0.11.3 coreaudio-sys@0.2.16 cpal@0.15.3 critical-section@1.2.0 crossbeam-deque@0.8.6 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.21 crossterm@0.28.1 crossterm_winapi@0.9.1 csscolorparser@0.7.1 cvt@0.1.2 darling@0.20.11 darling@0.21.3 darling_core@0.20.11 darling_core@0.21.3 darling_macro@0.20.11 darling_macro@0.21.3 dasp_sample@0.11.0 defmt@0.3.100 defmt@1.0.1 defmt-macros@1.0.1 defmt-parser@1.0.0 deranged@0.4.0 derive_builder@0.20.2 derive_builder_core@0.20.2 derive_builder_macro@0.20.2 either@1.15.0 embassy-futures@0.1.1 embassy-sync@0.6.2 embedded-can@0.4.1 embedded-graphics@0.8.1 embedded-graphics-core@0.4.0 embedded-graphics-unicodefonts@0.0.3 embedded-hal@0.2.7 embedded-hal@1.0.0 embedded-hal-async@1.0.0 embedded-hal-nb@1.0.0 embedded-io@0.6.1 embedded-io-async@0.6.1 embedded-svc@0.28.1 embuild@0.33.0 encoding_rs@0.8.35 enumset@1.1.6 enumset_derive@0.11.0 envy@0.4.2 equivalent@1.0.2 errno@0.3.12 esp-idf-hal@0.45.2 esp-idf-svc@0.51.0 esp-idf-sys@0.36.1 fastrand@2.3.0 filetime@0.2.25 float-cmp@0.9.0 fnv@1.0.7 foldhash@0.1.5 font8x8@0.3.1 fraction@0.10.0 fs_at@0.2.1 futures-core@0.3.31 futures-io@0.3.31 futures-macro@0.3.31 futures-sink@0.3.31 futures-task@0.3.31 futures-timer@3.0.3 futures-util@0.3.31 getrandom@0.3.3 glob@0.3.2 globset@0.4.16 globwalk@0.8.1 guitarpro@0.1.0 hash32@0.3.1 hashbrown@0.15.3 heapless@0.8.0 heck@0.4.1 heck@0.5.0 home@0.5.11 iana-time-zone@0.1.63 iana-time-zone-haiku@0.1.2 ident_case@1.0.1 ignore@0.4.23 indexmap@2.9.0 indoc@2.0.6 instability@0.3.7 itertools@0.13.0 itoa@1.0.15 jni@0.21.1 jni-sys@0.3.0 jobserver@0.1.33 js-sys@0.3.77 lazy_static@1.5.0 libc@0.2.172 libloading@0.8.7 libredox@0.1.3 linux-raw-sys@0.4.15 linux-raw-sys@0.9.4 lock_api@0.4.13 log@0.4.27 lru@0.12.5 mach2@0.4.2 memchr@2.7.4 microfft@0.6.0 micromath@2.1.0 midly@0.5.3 minimal-lexical@0.2.1 mio@1.0.4 mipidsi@0.9.0 mousefood@0.2.1 nb@0.1.3 nb@1.1.0 ndk@0.8.0 ndk-context@0.1.1 ndk-sys@0.5.0+25.2.9519653 nix@0.29.0 nom@7.1.3 normpath@1.3.0 num@0.2.1 num-bigint@0.2.6 num-complex@0.2.4 num-complex@0.4.6 num-conv@0.1.0 num-derive@0.4.2 num-integer@0.1.46 num-iter@0.1.45 num-rational@0.2.4 num-traits@0.2.19 num_enum@0.7.3 num_enum_derive@0.7.3 num_threads@0.1.7 oboe@0.6.1 oboe-sys@0.6.1 once_cell@1.21.3 parking_lot@0.12.4 parking_lot_core@0.9.11 paste@1.0.15 phf@0.11.3 phf_generator@0.11.3 phf_macros@0.11.3 phf_shared@0.11.3 pin-project-lite@0.2.16 pin-utils@0.1.0 pitchy@0.1.1 pkg-config@0.3.32 powerfmt@0.2.0 prettyplease@0.2.33 primal-check@0.3.4 proc-macro-crate@3.3.0 proc-macro-error-attr2@2.0.0 proc-macro-error2@2.0.1 proc-macro2@1.0.95 quote@1.0.40 r-efi@5.2.0 rand@0.8.5 rand_core@0.6.4 ratatui@0.29.0 rayon@1.11.0 rayon-core@1.13.0 redox_syscall@0.5.12 regex@1.11.1 regex-automata@0.4.9 regex-syntax@0.8.5 relative-path@1.9.3 remove_dir_all@0.8.4 rstest@0.25.0 rstest_macros@0.25.0 rustc-hash@1.1.0 rustc-hash@2.1.1 rustc_version@0.4.1 rustfft@6.3.0 rustix@0.38.44 rustix@1.0.7 rustversion@1.0.21 ryu@1.0.20 same-file@1.0.6 scopeguard@1.2.0 semver@1.0.26 serde@1.0.219 serde_derive@1.0.219 serde_json@1.0.140 shlex@1.3.0 signal-hook@0.3.18 signal-hook-mio@0.2.4 signal-hook-registry@1.4.5 simple-easing@1.0.1 siphasher@1.0.1 slab@0.4.10 smallvec@1.15.1 st7735-lcd@0.10.0 stable_deref_trait@1.2.0 static_assertions@1.1.0 strength_reduce@0.2.4 strsim@0.11.1 strum@0.24.1 strum@0.25.0 strum@0.26.3 strum@0.27.1 strum_macros@0.24.3 strum_macros@0.25.3 strum_macros@0.26.4 strum_macros@0.27.1 syn@1.0.109 syn@2.0.101 tachyonfx@0.17.0 tempfile@3.20.0 thiserror@1.0.69 thiserror@2.0.16 thiserror-impl@1.0.69 thiserror-impl@2.0.16 time@0.3.41 time-core@0.1.4 toml_datetime@0.6.9 toml_edit@0.22.26 transpose@0.2.3 tui-bar-graph@0.1.1 tui-big-text@0.7.0 uncased@0.9.10 unicode-ident@1.0.18 unicode-segmentation@1.12.0 unicode-truncate@1.1.0 unicode-width@0.1.14 unicode-width@0.2.0 unicode-xid@0.2.6 version_check@0.9.5 void@1.0.2 walkdir@2.5.0 wasi@0.11.1+wasi-snapshot-preview1 wasi@0.14.2+wasi-0.2.4 wasm-bindgen@0.2.100 wasm-bindgen-backend@0.2.100 wasm-bindgen-futures@0.4.50 wasm-bindgen-macro@0.2.100 wasm-bindgen-macro-support@0.2.100 wasm-bindgen-shared@0.2.100 web-sys@0.3.77 which@4.4.2 winapi@0.3.9 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.9 winapi-x86_64-pc-windows-gnu@0.4.0 windows@0.54.0 windows-core@0.54.0 windows-core@0.61.2 windows-implement@0.60.0 windows-interface@0.59.1 windows-link@0.1.1 windows-result@0.1.2 windows-result@0.3.4 windows-strings@0.4.2 windows-sys@0.45.0 windows-sys@0.52.0 windows-sys@0.59.0 windows-targets@0.42.2 windows-targets@0.52.6 windows-targets@0.53.0 windows_aarch64_gnullvm@0.42.2 windows_aarch64_gnullvm@0.52.6 windows_aarch64_gnullvm@0.53.0 windows_aarch64_msvc@0.42.2 windows_aarch64_msvc@0.52.6 windows_aarch64_msvc@0.53.0 windows_i686_gnu@0.42.2 windows_i686_gnu@0.52.6 windows_i686_gnu@0.53.0 windows_i686_gnullvm@0.52.6 windows_i686_gnullvm@0.53.0 windows_i686_msvc@0.42.2 windows_i686_msvc@0.52.6 windows_i686_msvc@0.53.0 windows_x86_64_gnu@0.42.2 windows_x86_64_gnu@0.52.6 windows_x86_64_gnu@0.53.0 windows_x86_64_gnullvm@0.42.2 windows_x86_64_gnullvm@0.52.6 windows_x86_64_gnullvm@0.53.0 windows_x86_64_msvc@0.42.2 windows_x86_64_msvc@0.52.6 windows_x86_64_msvc@0.53.0 winnow@0.7.10 wit-bindgen-rt@0.39.0 " inherit cargo DESCRIPTION="Terminal-based guitar training and tuning tool" HOMEPAGE="https://github.com/orhun/tuitar" SRC_URI=" https://github.com/orhun/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " LICENSE="|| ( Apache-2.0 MIT )" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-3.0 Unlicense ZLIB" SLOT="0" KEYWORDS="~amd64" DEPEND="media-libs/alsa-lib" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { cargo_src_compile -p ${PN} } src_test() { cargo_src_test -p ${PN} } src_install() { cargo_src_install --path ./${PN} dodoc README.md }