spotify-tui icon indicating copy to clipboard operation
spotify-tui copied to clipboard

Support for Termux

Open ravi0the0sun opened this issue 3 years ago • 2 comments

Is there a way to use spotify-tui in an android phone running termux?

ravi0the0sun avatar Feb 04 '22 08:02 ravi0the0sun

You could try to clone and compile it on termux

jasperspahl avatar Jun 20 '22 16:06 jasperspahl

Running cargo install spotify-tui fails with:

 error[E0433]: failed to resolve: use of undeclared type `PlatformClipboard`
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/arboard-1.2.1/src/lib.rs:68:28
   |
68 |         Ok(Clipboard { platform: PlatformClipboard::new()? })
   |                                  ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformClipboard`

 error[E0412]: cannot find type `PlatformClipboard` in this scope
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/arboard-1.2.1/src/lib.rs:62:12
   |
62 |     platform: PlatformClipboard,
   |               ^^^^^^^^^^^^^^^^^ not found in this scope

 Some errors have detailed explanations: E0412, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `arboard` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Apparently arboard fails to build on termux.

CheerfulPianissimo avatar Aug 20 '22 13:08 CheerfulPianissimo