Just a README update.
This commit is contained in:
parent
16b0ee3ec9
commit
234b0f4f35
1 changed files with 28 additions and 28 deletions
56
README.md
56
README.md
|
|
@ -22,6 +22,34 @@ macrecord was created by my good friend Armin. You can find his code here:
|
||||||
build; at run time the shared `libFLAC` / `libmp3lame` libraries are used.
|
build; at run time the shared `libFLAC` / `libmp3lame` libraries are used.
|
||||||
- `pkg-config` (used to locate ALSA, FLAC and LAME)
|
- `pkg-config` (used to locate ALSA, FLAC and LAME)
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make
|
||||||
|
# or directly:
|
||||||
|
# gcc -std=c99 -O2 -Wall -Wextra tuxrecord.c -o tuxrecord \
|
||||||
|
# $(pkg-config --cflags --libs alsa flac lame) -lm
|
||||||
|
```
|
||||||
|
|
||||||
|
Install (installs to `$(PREFIX)/bin`, default `/usr/local/bin`):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo make install
|
||||||
|
# or: sudo cp tuxrecord /usr/local/bin/tuxrecord
|
||||||
|
```
|
||||||
|
|
||||||
|
Install to a custom prefix:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make install PREFIX=~/.local
|
||||||
|
```
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo make uninstall
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
@ -176,34 +204,6 @@ same `<prefix>__<timestamp>.<ext>` naming and can be stopped with `q` or
|
||||||
`wpctl` output) or by creating a loopback with `pw-loopback` and recording
|
`wpctl` output) or by creating a loopback with `pw-loopback` and recording
|
||||||
that node.
|
that node.
|
||||||
|
|
||||||
## Build
|
|
||||||
|
|
||||||
```bash
|
|
||||||
make
|
|
||||||
# or directly:
|
|
||||||
# gcc -std=c99 -O2 -Wall -Wextra tuxrecord.c -o tuxrecord \
|
|
||||||
# $(pkg-config --cflags --libs alsa flac lame) -lm
|
|
||||||
```
|
|
||||||
|
|
||||||
Install (installs to `$(PREFIX)/bin`, default `/usr/local/bin`):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo make install
|
|
||||||
# or: sudo cp tuxrecord /usr/local/bin/tuxrecord
|
|
||||||
```
|
|
||||||
|
|
||||||
Install to a custom prefix:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
make install PREFIX=~/.local
|
|
||||||
```
|
|
||||||
|
|
||||||
Uninstall:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo make uninstall
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Apache License 2.0 — see the LICENSE file for details.
|
Apache License 2.0 — see the LICENSE file for details.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue