mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-03 19:27:19 +00:00
Add Makefile, update README with install instructions, fix .gitignore
This commit is contained in:
parent
573faaeff7
commit
9c94cfbdcd
4 changed files with 63 additions and 7 deletions
36
README.md
36
README.md
|
|
@ -34,9 +34,39 @@ Stream your favourite music from YouTube Music — all in one client, in your te
|
|||
|
||||
## Installation
|
||||
|
||||
> **Not implemented yet.**
|
||||
>
|
||||
> Package manager installs are not available yet. Distro-specific instructions will be added here (Arch Linux, Void Linux, NixOS, Debian/Ubuntu, etc.) once packages are published.
|
||||
### Dependencies
|
||||
|
||||
- [mpv](https://mpv.io/) — audio playback
|
||||
- [yt-dlp](https://github.com/yt-dlp/yt-dlp) — YouTube stream extraction
|
||||
- [Rust](https://rustup.rs/) (build only)
|
||||
|
||||
Install them with your package manager, e.g. on Arch:
|
||||
```
|
||||
sudo pacman -S mpv yt-dlp
|
||||
```
|
||||
|
||||
### Build & install
|
||||
|
||||
```bash
|
||||
git clone https://github.com/socatlolmeow/drift.git
|
||||
cd drift
|
||||
sudo make install
|
||||
```
|
||||
|
||||
This installs `drift` to `/usr/local/bin`. To install to `/usr/bin` instead:
|
||||
```bash
|
||||
sudo make install PREFIX=/usr
|
||||
```
|
||||
|
||||
### Other make targets
|
||||
|
||||
| Command | Description |
|
||||
|---|---|
|
||||
| `make` | Build (debug skipped, release only) |
|
||||
| `make build` | Same as above |
|
||||
| `sudo make install` | Build and install to `$PREFIX/bin` |
|
||||
| `sudo make uninstall` | Remove the installed binary |
|
||||
| `make clean` | Remove build artifacts |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue